How to set up a static IP address on Ubuntu
Posted: September 29, 2009 at 7:40 pm | Tags: interface , IP address , nameserver , networkAfter year update, the Network Manager crashed. In this Situation, The easyest way to set up a static IP address configuration is to edit the files myself. First, I have to remove the Network Manager.
sudo apt-get remove-purge network-manager
The first file to modify is / etc / network / interfaces:
sudo gedit / etc / network / interfaces
Now change eth0 with your setting. This is me:
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
The second file to edit is / etc / resolv.conf. In this file you CAN set the name servers:
sudo gedit / etc / resolv.conf
This is my name servers:
nameserver 193.231.233.1
nameserver 193.226.98.2
nameserver 80.96.184.18
The last thing you have to do is to restart the networking:
sudo / etc / init.d / networking restart
The system should now using the setting Be Defined in the two edited files.

























The Discussion
see what everyone is Saying
Nice info, i was looking for this topic