Setting Raspberry Pi for a Static IP

Posted by Quinn Madson | Posted in | Posted on 4:20 PM

0

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

Comments (0)