View Full Version : Ubuntu 12.04 Server - Static IP Assignment - Waiting for network configuration

January 24th, 2013, 03:21 PM
I hate to make my first post to this forum an obvious admission of stupidity on my part, but if the post helps others, then it was all worth it.

I installed a clean version of Ubuntu Server 12.04.1 LTS on a new computer. Installation went normally. But I needed to give this server a static IP, so I edited the /etc/network/interfaces file, deleting the following line:

iface eth0 inet dhcp

and adding the following:

iface eth0 inet static

When I rebooted the system it would pause for 60 seconds saying, "Waiting for Network Configuration. It would then say, "Waiting an additional 60 seconds for Network Configuration. Eventually the system would boot, and I could ping the gateway, but trying to ping google.com yielded "network unreachable" messages.

/etc/resolv.conf is an auto-generated file containing name servers. When I looked at the resolv.conf file, it was empty. Clearly something was failing during the network initialization. Here is the problem...

In the /etc/network/interfaces file, I had the following line:


It should have been:


Doh... I have been working on servers for over twenty years as an admin, but this one really bit me in the rear. Hopefully sharing this will help someone to not burn a day on a simple mistake.