loading...

January 3, 2015

Setting Raspberry Pi for a Static IP

sudo -s
cd /etc/network
cp interfaces interfaces.bak
nano interfaces

auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

reboot

Posted in Home Server, LinuxTaggs: