Saturday, 24 October 2009

Ubuntu VM, renamed network interface eth0 to eth1

Few days ago my desktop restarted after a security update; Microsoft stop doing that! Unfortunately my git repository, an Ubuntu server 9.04 was running in VirtualBox. After restarting it the network was down and the only thing I could get from the logs was something like “renamed network interface eth0 to eth1” or so.

I started digging a bit and found that the MAC address of the virtual network adapter changed which made Ubuntu freak out a bit.

The solution was simple and straight forward:

sudo rm –f /etc/udev/rules.d/70-persistent-net.rules

Restart the VM and you are back in business.
Hope you find this useful.

0 comments:

Post a Comment