Get Your Free Subscription By Email:

How to manually assign a fixed IP address to Raspberry Pi

While WICD network Manager is an excellent choice for configuring wireless networking with allocation of an fixed IP address, this can be achieved manually in Linux by editing the relevant \etc\network\interfaces file as shown below.

Interfaces file setup for static IP

As shown above replace the text inside /etc/network/interfaces file making sure you chnage the wpa-ssid value with your wireless access point name and wpa-psk value with your wireless access password.

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.104
netmask 255.255.255.0
gateway 192.168.1.1
wpa-ssid "YOUR_NETWORK_NAME"
wpa-psk "YOURPASS"

Add new comment

This is just one of the many helpful tips we have posted, You can find more stories here,
Do subscribe to updates using your favorite RSS feed reader or using the secure FeedBurner email update form on top of this post.