Ubuntu loses network connection after do-release-upgrade - Ignoring unknown interface eth0=eth0

Over the weekend I decided to upgrade one of my linux servers, running an Ubuntu desktop. The Ubuntu do-release-upgrade tool is pretty reliable, even over SSH the whole process completed without any errors (try that from Windows 2003 - 2008). The only issue is that after reboot the machine disappeared from the net. Had to hack into the console to have a look what's going on. Turns out my eth0 interface wasn't configured so didn't get any IP addresses:

> ifup eth0
 * Reconfiguring network interfaces... Ignoring unknown interface eth0=eth0.

The fix was pretty easy, just had to edit /etc/network/interfaces files and try again:

auto lo
iface lo inet loopback
# For DHCP only
auto eth0
# Statis IP assignment
iface eth0 inet static
# Google's DNS - fast and reliable

ifup eth0 was much friendlier this time, the box was back on the net again.


Popular posts from this blog

Removing Malware and Bloatware from Lenovo K3 Note (K50-T5)

MurMurHash3, an ultra fast hash algorithm for C# / .NET

How to remove adware (browser hijack or pop-up malware) from Android