Suresh Payankannur

Monday, April 30, 2012

Static IP address under Ubuntu 11.10

Ubuntu 11.10 has changed the network startup process. The old way of configuring network settings in /etc/network/interfaces and /etc/resolv.conf do not work anymore. The new startup will rewrite the /etc/resolve.conf by erasing your name servers. Making no connectivity to outside world.

Looks like there are no other directives or configurations which instruct the new startup not to modify the /etc/resolv.conf. So the choice is to either use the new configuration or uninstall the Network Manager and use the old style configurations.

Using Network Manager Applet

Settings->Network->Your-Network-Connection->Configure->IPV4 Settings will bring up the following dialog. The static IP address and the rest of the configuration parameters can be specified here, including the gateway and DNS server.

Or manually modify the new Network Manager configuration file instead of using the GUI

The Network Manager saves the configuration in the file /etc/NetworkManager/system-connections directory. Open th the file using sudo permissions to edit it.

As you can see the [ipv4] section has the information provided in the GUI.

Uninstall Network Manager and use old style configuration

sudo apt-get remove network-manager network-manager-gnome
Change the /etc/resolv.conf to add the nameserver.
Change the /etc/network/interfaces to add the static IP configuration
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
Then Restart the networking.


  1. It may be that you're a native of that country and need to access stuff from back home, or it may be that you are from somewhere else but have the same desire. UK IP Restriction

  2. The addresses for each outside address sort are created by a dynamic-interface library known as DLL. my ip

  3. As you already know that the internet is made up of tons of IP addresses. Each address, when broken into segments, represents different country and region codes. Windows USA Arkansas

  4. In the end true physical well-being lies in my own hands. No-one else can achieve the ultimate for me. If I want to feel healthy, I need to deal with stress. The first step is to perhaps change my ip stresser

  5. Secure your system, cell phone, and even your PC with a premium VPN Provider. Before you purchase, ensure that examination the organization deliberately and that it's highlights address your issues.

  6. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work.

  7. That is why selling advertising campaigns marketing so that you could invaluable explore previous advertisment. Quite simply to jot down stronger set that fit this description. Plus d'information

  8. I recently noticed your website back i are generally looking through which on a daily basis. You’ve got a loads of information at this site so i actually like your look to the web a tad too. Maintain the best show results! Klik hier

  9. I'm impressed, I must say. Very rarely do I come across a blog thats both informative and entertaining, and let me tell you, you ve hit the nail on the head. Your blog is important.. deze website

  10. Particular interviews furnish firsthand message on mart size, industry trends, ontogeny trends, capitalist landscape and outlook, etc. privacy in the network

  11. I am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers. privacyonline

  12. I'm really impressed about the info you provide in your articles. If you want to invest in suits and be stress-free, then you should shake hands with us. We are providing great clothing in the most reasonable price range that you wouldn’t find anywhere else. Put your trust in us as your supplier since we are the prominent custom stickers printing You can rely on us for the clothing problems we assure you we will never let our customers down.

  13. This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… 192.168..49.1

  14. Attractive information on your blog, thank you for taking the time and share with us.
    Die Cut Bookmarks

  15. Wow, excellent post. I'd like to draft like this too - taking time and real hard work to make a great article. This post has encouraged me to write some posts that I am going to write soon
    custom wig pillow boxes

  16. Hello, I want to subscribe for this web site to take most up-to-date updates, thus where can i do it please help out.
    custom hair extension boxes

  17. Your site is truly cool and this is an incredible rousing article. Much thanks to you to such an extent. check my ip


Blog Archive

Scroll To Top