LinuxMCE Forums
June 20, 2013, 01:53:33 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: How do I change network card id's?  (Read 1169 times)
joesixpack
Regular Poster
**
Posts: 16


View Profile
« on: June 12, 2007, 08: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
Logged
pixelator
Veteran
***
Posts: 70


View Profile
« Reply #1 on: June 12, 2007, 10:01:04 pm »

can you post the contents of your /etc/network/interfaces file?
Logged
joesixpack
Regular Poster
**
Posts: 16


View Profile
« Reply #2 on: June 13, 2007, 02:47:57 pm »

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

It's working now.
Logged
tirili
Regular Poster
**
Posts: 15



View Profile
« Reply #3 on: June 18, 2007, 10:26:03 am »

can you please post how you did this with udev.
Logged

joesixpack
Regular Poster
**
Posts: 16


View Profile
« Reply #4 on: June 18, 2007, 03:57:51 pm »

Here's a link   http://www.debianhelp.co.uk/udev.htm
Logged
Cj_MaN
Regular Poster
**
Posts: 39


View Profile
« Reply #5 on: June 18, 2007, 07: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, 05:59:11 pm by Cj_MaN » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!