Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After copying the virtual hard disk of a vm I made to a new machine, ubuntu no longer recognises the network cards and spews out errors like:

failed to bring up eth0 ..... no such device

I'm guessing that this is to do with the change in MAC address (since the type of network card has remained the same). Does anyone know how to fix this?

EDIT: ifconfig only shows the loopback interface, no others.

EDIT 2: ip addr shows they've moved to eth2 and eth3???

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Deleting the contents of the file /etc/udev/rules.d/70-persistent-net.rules and rebooting did the trick :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.