News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

How do I change network card id's?

Started by joesixpack, June 12, 2007, 09:26:42 PM

Previous topic - Next topic

joesixpack

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

can you post the contents of your /etc/network/interfaces file?

joesixpack

OK....my bad.......typo on the udev command. Dohhh!

It's working now.

tirili

can you please post how you did this with udev.
Thomas Baumann
[url="http://www.1-search.de/"]http://www.1-search.de/[/url] - [url="http://www.tiri.li/"]http://www.tiri.li/[/url] - [url="http://www.linkarchiv.at/"]http://www.linkarchiv.at/[/url]


Cj_MaN

#5
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.