View previous topic :: View next topic |
Author |
Message |
reksav Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
di1bert l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1322078658465db3da4a87f.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
reksav Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Mar 2005 Posts: 165 Location: rochester, ny
|
Posted: Wed Feb 20, 2008 1:28 pm Post subject: |
|
|
thank you ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zeek Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_c-3p0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|