View previous topic :: View next topic |
Author |
Message |
reksav Apprentice

Joined: 09 Mar 2005 Posts: 165 Location: rochester, ny
|
Posted: Wed Feb 20, 2008 1:14 pm Post subject: need eth1 not eth0 [SOLVED] |
|
|
my connection is on eth1 now instead of eth0 after a motherboard swap, how would i set eth1 to run instead of eth0?
Last edited by reksav on Wed Feb 20, 2008 1:28 pm; edited 1 time in total |
|
Back to top |
|
 |
di1bert l33t


Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Wed Feb 20, 2008 1:16 pm Post subject: |
|
|
1. cd /etc/init.d
2. ln -s net.lo net.eth1
3. rc-update add net.eth1 default
4. rc-update del net.eth0 default
5. Update /etc/conf.d/net for eth0
That should do it
-m |
|
Back to top |
|
 |
reksav Apprentice

Joined: 09 Mar 2005 Posts: 165 Location: rochester, ny
|
Posted: Wed Feb 20, 2008 1:28 pm Post subject: |
|
|
thank you  |
|
Back to top |
|
 |
zeek Guru


Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Thu Feb 21, 2008 6:56 am Post subject: |
|
|
Another way is to Code: | rm /etc/udev/rules.d/70-persistent-net.rules | and reboot and you get eth0 back. udev tries to remember eth0 by MAC so after a MB change it sees the new MAC and assumes you added another NIC into the machine. |
|
Back to top |
|
 |
|