Find the answer to your Linux question:
Results 1 to 3 of 3
I just replaced my old ethernet card with a new one, and now the number has changed from eth0 to eth2, how can I get it back to eth0?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    14

    New ethernet card, new eth number?


    I just replaced my old ethernet card with a new one, and now the number has changed from eth0 to eth2, how can I get it back to eth0?

  2. #2
    Just Joined!
    Join Date
    Jun 2009
    Posts
    19
    I had the same problem, You have to tweak a file in an udev script. try to grep for eth0.

    I'll post more information tonight.

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,756
    Quote Originally Posted by BL4CKFIRE64 View Post
    I just replaced my old ethernet card with a new one, and now the number has changed from eth0 to eth2, how can I get it back to eth0?
    Persistent NIC naming is handled by Udev - Debian Wiki

    Edit the file below and delete the lines for any current NIC's. After reboot, the NIC's will be reset to eth0, eth1, etc. in the order they are detected.

    Code:
    /etc/udev/rules.d/75-persistent-net-generator.rules

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •