Set up a Static IP address on your Ubuntu 8.10 Desktop
Have you had trouble setting a static IP address on Ubuntu 8.10? If so this is due to a bug with the Gnome Network Manager. The easiest way to fix this is to uninstall the network manager, and edit your configuration files yourself. To remove the network manager type the following into your terminal:
Now you have two files to modify, /etc/network/interfaces and /etc/resolv.conf.
First you need to determine what your netmask and gateway settings should be. Now we will edit /etc/network/interfaces:
And change your eth0 to reflect:
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1
You can change your address to something else, just make sure that the address you choose isn’t being used by another machine.
Now edit your /etc/resolv.conf:
In this file you are going to set your name servers. I recommend using the OpenDNS name servers for faster browsing.
nameserver 208.67.220.220
Now all you need to do is restart your networking:
Now you will have a static IP address on your Ubuntu Intrepid Ibex system.










[...] bookmarks tagged static Set up a Static IP address on your Ubuntu 8.10 Des… saved by 2 others umbumgo bookmarked on 12/09/08 | [...]
Thanks for this! Just one quick thing: I’m lazy and like to copy-and-paste code blocks so I noticed your code for editing the interfaces file has a spelling error: inferfaces instead of interfaces.
Changed.. Thanks
How would you go about this in the case of two nicks, eth0 and eth1, where eth0 needs to be static (internal network) and eth1 dynamic assigned by broadband router?
@egd, I haven’t done this, nor do I have a machine to test it on, however, I would setup eth0 as static just like I have shown and then setup eth1 to be: iface eth1 inet DHCP
Nice Site and thank you very much for the help! I appreciate all the time you have put toward this article! Jacob
great site mate…i’ve tried a few diff combinations but whenever i restart the network, the system stalls on “reconfiguring network interfaces” i’m stuck
I’m curious about the 252 in the netmask:
netmask 255.255.252.0
I’m trying to get this work, but when I want to change the interfaces file, nano says it can’t save the changes, because /etc/network/interfaces doesn’t exist?
I am as noob as a quaker on Mardi Grass, so any help would be welcome…
good stuff my friend, very helpful.
Leave your response!
About Chris
Social Media
Recent Comments
Most Commented
Most Viewed