How To Set A Static IP On Ubuntu 8.10

Due to a bug if you want to assign a static IP on Ubuntu 8.10 Desktop your setting will be overwritten after the next reboot because of a bug

Solution

Solution is to get down and dirty with the command line, it takes less than 2 minutes. Edit /etc/network/interfaces and enter the following values.

sudo nano /etc/network/interfaces

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.51
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1


And save it.

Now move on to edit the /etc/resolv.conf. And add the name server.

sudo gedit /etc/resolv.conf

nameserver 192.168.1.1

If you don’t want to reboot the system restart the networking service instead.

sudo /etc/init.d/networking restart

Popular posts from this blog

Worlds Biggest Books Collection

10 Differences between Windows(R) XP and Vista(tm)

Windows XP Live: USB Stick Edition