can't set static address
Posted: Wed Nov 04, 2015 4:36 pm
Hello,
I am trying to switch my ip to from 192.168.1.169 dchp to 192.168.1.9 static
I am using raspbian debian wheezey on raspberry pi 2.
I am trying to follow a article in maximum pc octobler 2015 that shows steps to configure the machine. :
- sudo nano /etc/network/interfaces
- adjusted the numbers per my network (see below)
But the pi still shows 192.168.1.169. Any suggestions?
Thanks,PEter
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.9
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
I am trying to switch my ip to from 192.168.1.169 dchp to 192.168.1.9 static
I am using raspbian debian wheezey on raspberry pi 2.
I am trying to follow a article in maximum pc octobler 2015 that shows steps to configure the machine. :
- sudo nano /etc/network/interfaces
- adjusted the numbers per my network (see below)
But the pi still shows 192.168.1.169. Any suggestions?
Thanks,PEter
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.9
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1