LinuxMCE Forums

General => Users => Topic started by: joesixpack on June 12, 2007, 09:26:42 pm

Title: How do I change network card id's?
Post by: joesixpack 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
Title: Re: How do I change network card id's?
Post by: pixelator on June 12, 2007, 11:01:04 pm
can you post the contents of your /etc/network/interfaces file?
Title: Re: How do I change network card id's?
Post by: joesixpack on June 13, 2007, 03:47:57 pm
OK....my bad.......typo on the udev command. Dohhh!

It's working now.
Title: Re: How do I change network card id's?
Post by: tirili on June 18, 2007, 11:26:03 am
can you please post how you did this with udev.
Title: Re: How do I change network card id's?
Post by: joesixpack on June 18, 2007, 04:57:51 pm
Here's a link   http://www.debianhelp.co.uk/udev.htm (http://www.debianhelp.co.uk/udev.htm)
Title: Re: How do I change network card id's?
Post by: Cj_MaN 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.