Ubuntu 7.10 to 8.04 Upgrade – Networking issues
I have an Ubuntu server that I use a file server for imaging my other machines. After upgrading, networking no longer seemed to work. I also kept getting an error when trying to run sudo:
unable to resolve host mymachinename
After a bit of searching, I landed on this bug which apparently has affected a number of people:
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/195308
Using ‘gksu gedit’ and fixing /etc/hosts solved my problem. To get Internet connectivity back, I had to disable IPv6: