Archive for March 25th, 2009
I use static IP addresses on my simple DNS-free local net, but the 8.10 Gnome Network Manager applet is pooched: you cannot add another entry or change the existing one. Some sources indicate that deleting the existing Auto eth0 entry and adding your own static entry will work, but that failed for me.
Why this remains broken five months after the 8.10 release remains a puzzle, but there it is.
Use the network manager applet to bring the network interface down. Perhaps ifdown will also work, although I don’t recall at this point: sudo ifdown eth0
Use Synaptic to get rid of network-manager and network-manager-gnome. The cute little system tray thing will remain behind until you log in again.
Make /etc/network/interfaces look like this, adjusted for whatever addresses seem appropriate in your network:
# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.3 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1
Make /etc/resolv.conf look like this:
nameserver 18.104.22.168 nameserver 22.214.171.124
OpenDNS runs those nameservers and they may well be faster & better & less intrusive than whatever your ISP offers.
Bring the interface up: sudo ifup eth0