Author Topic: How do I change network card id's?  (Read 5767 times)

joesixpack

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
How do I change network card id's?
« on: June 12, 2007, 09:26:42 pm »
OK, I hope someone can make sense of my question. I installed LMCE and set it up to use eth0 & eth1. eth0 did not want to be a team player so I installed another card which is now eth2. I used udev to rename eth2 to eth0 but that aint working. The admin page doesn't allow you to add network cards to the settings that I can tell. 

Is there any way to re-run the network portion of the setup only, to configure the changes or do I have to re-install???

Peace out

pixelator

  • Veteran
  • ***
  • Posts: 70
    • View Profile
Re: How do I change network card id's?
« Reply #1 on: June 12, 2007, 11:01:04 pm »
can you post the contents of your /etc/network/interfaces file?

joesixpack

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: How do I change network card id's?
« Reply #2 on: June 13, 2007, 03:47:57 pm »
OK....my bad.......typo on the udev command. Dohhh!

It's working now.

tirili

  • Regular Poster
  • **
  • Posts: 15
    • View Profile
Re: How do I change network card id's?
« Reply #3 on: June 18, 2007, 11:26:03 am »
can you please post how you did this with udev.

joesixpack

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: How do I change network card id's?
« Reply #4 on: June 18, 2007, 04:57:51 pm »

Cj_MaN

  • Regular Poster
  • **
  • Posts: 39
    • View Profile
Re: How do I change network card id's?
« Reply #5 on: June 18, 2007, 08:22:15 pm »
How To Change eth1 to eht0 or vice versa:

Step1: Open A console (CTRL+ALT+F2), login with your username and password, get root by typing: sudo su - and your password when asked.
Step2: type at the console nano /etc/iftab
Here you will see this:

# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.

eth0 mac 00:0e:2e:84:d8:37 arp 1
eth1 mac 00:14:2a:f8:52:ad arp 1

just put eth1 instead of eth0 and vice versa just like this:

# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.

eth1 mac 00:0e:2e:84:d8:37 arp 1
eth0 mac 00:14:2a:f8:52:ad arp 1

Step3: Save&Close the file ( CTRL+O, CTRL+X)
Step4: Reboot the PC

Now the former eth1 card will be eth0 and eth0 will be eth1.
« Last Edit: June 19, 2007, 06:59:11 pm by Cj_MaN »