Comment 9 for bug 202605

Revision history for this message
Peter Cherriman (pjcherriman) wrote :

I can confirm the same.

I tried to configure my wired connection as a static ip address with the gui. It seemed to change the IP address, but I couldn't access the internet since the scripts didn't add a default route.

I had to hand edit /etc/network/interface from:

auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0

to:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1

Manually moving the "auto eth0" before the "iface eth0 inet static" line fixed it so that the default route was created.

Once the changes are made, use "sudo /etc/init.d/networking restart" or reboot to make changes active.