Friday, November 16, 2012

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"

No comments:

Post a Comment