Fixing Ubuntu 12.04 network issue
While upgrading an Ubuntu virtual machine from Version 10 LTs to 12.04 LTS, I ran into networking issues with the static IP address and DNS servers. The web server was accessible on the network, however, the virtual machine was not able to ping Google, or download any updates.
Errors encountered with this issue:
- waiting for 60 more seconds for ...
- Booting without full network capability
- Network .... not compatible with this version of Ubuntu.
To fix this, I first I tried reconfiguring the networking, then adding DNS servers into the network interfaces with no luck. Also, tried editing various files mentioned in other posts.
Finally I ran across a post from Ask Ubuntu Forums. So, here are the steps mentioned to resolve this issue:
Create a copy of the following file: /etc/network/interfaces:
sudo cp /etc/network/interfaces /etc/network/iBKUp
Edit the network interface file as root:
sudo nano /etc/network/interfaces
Make sure the file only has the following:
iface lo inet loopback
Reboot the machine
After these steps, the machine will hopefully boot normally and the networking centre should have resolved itself as well.
In the Network centre, you re-add the static IP information into your wired connection and lastly reboot again.
Hope this helps others!