Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need eth1 not eth0 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
reksav
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 165
Location: rochester, ny

PostPosted: Wed Feb 20, 2008 1:14 pm    Post subject: need eth1 not eth0 [SOLVED] Reply with quote

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
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Wed Feb 20, 2008 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
reksav
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 165
Location: rochester, ny

PostPosted: Wed Feb 20, 2008 1:28 pm    Post subject: Reply with quote

thank you :D
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Thu Feb 21, 2008 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum