Search This Blog

Tuesday, March 1, 2011

udev: eth0 stopped working - renamed to eth2

 

After putting new ethernet cards my ubuntu renamed eth0 to eth2 and eth1 to eth3. I wanted to have my old names back.

in dmesg there was:

eth0 –> renamed to eth2.

All you have to do is delete all old entries in:

/etc/udev/rules.d/70-persistent-net.rules
and you’ll have eth0 and eth1 names back.
 

1 comment:

  1. I know this is an old post, but I have an old VM that suddenly stopped working. Your trick not only got me back eth0 but got it to work properly. Thanks.

    ReplyDelete

If you like this post, please leave a comment :)