Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
change the order of eth0 and eth1 (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
derfnam
n00b
n00b


Joined: 16 May 2004
Posts: 4
Location: Belgium

PostPosted: Thu Oct 05, 2006 12:59 pm    Post subject: change the order of eth0 and eth1 (SOLVED) Reply with quote

In the old days (i.e. before cold/hotplug) I could link my wired network to eth0 and my wireless to eth1 by adding the module-names in /etc/modules.autoload.d/kernel-2.6 in the correct order. Now I'm using coldplug, and it seems that he's deciding who will become eth0 and who will be eth1. Is there a way to force him to use eth1 for my wireless ? I've tried to add een alias in /etc/modules.d/alias, but this does not seem to change anything.

Thanks !


Last edited by derfnam on Thu Oct 05, 2006 1:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Thu Oct 05, 2006 1:04 pm    Post subject: Reply with quote

You can set static names for your network interfaces with udev. Here is some info for ya:

http://www.debianhelp.co.uk/udev.htm
Back to top
View user's profile Send private message
derfnam
n00b
n00b


Joined: 16 May 2004
Posts: 4
Location: Belgium

PostPosted: Thu Oct 05, 2006 1:35 pm    Post subject: change the order of eth0 and eth1 (SOLVED) Reply with quote

Perfect ! Thanks
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