Xubuntu Install Tweaks: Setting a Static IP in Xubuntu 8.10

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

Make /etc/resolv.conf look like this:


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

Enjoy …