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.
 

2 comments:

  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
  2. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from .Net Training in Chennai. or learn thru ASP.NET Essential Training Online

    ReplyDelete

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