Problem trying to set static IP address--SOLVED! (I think)
Posted: Mon Oct 19, 2015 7:26 pm
I tried to use the Host settings page on my ADT2PI Network Appliance to set a static IP address of 192.168.1.40 and had something strange happen. Although I could still ping the device at the original DHCP-set IP address of 192.168.1.5, the web page would not come up. I flailed around for a while (I'm a complete LINUX noob) and figured out that the IP address settings are in /etc/network/interfaces. What I found in that file was maybe a few hundred copies of the following:
allow-hotplug eth0
iface eth0 inet manual
address 192.168.1.40
netmask 255.255.255.0
gateway 192.168.1.1
I looked at the instructions on http://www.cyberciti.biz/faq/linux-conf ... -tutorial/ and changed
iface eth0 inet manual
to
iface eth0 inet static
and deleted all of the extra copies of
allow-hotplug eth0
iface eth0 inet manual
address 192.168.1.40
netmask 255.255.255.0
gateway 192.168.1.1
and rebooted. I was then able to get the ADT2PI Network Appliance to bring up its web page at 192.168.1.40.
allow-hotplug eth0
iface eth0 inet manual
address 192.168.1.40
netmask 255.255.255.0
gateway 192.168.1.1
I looked at the instructions on http://www.cyberciti.biz/faq/linux-conf ... -tutorial/ and changed
iface eth0 inet manual
to
iface eth0 inet static
and deleted all of the extra copies of
allow-hotplug eth0
iface eth0 inet manual
address 192.168.1.40
netmask 255.255.255.0
gateway 192.168.1.1
and rebooted. I was then able to get the ADT2PI Network Appliance to bring up its web page at 192.168.1.40.