Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setting which driver is eth0 or eth1
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
w98
n00b
n00b


Joined: 14 Oct 2004
Posts: 20
Location: Los Angeles, CA

PostPosted: Thu Oct 14, 2004 9:01 pm    Post subject: setting which driver is eth0 or eth1 Reply with quote

Toshiba Satellite S25-S207
Built-in realtek 8139too
Built-in hermes/orinoco 802.11b wireless

I compiled my kernel with both of these drivers built in (not modules), but now I can't seem to figure out how I tell the system which device is eth0 or which device is eth1.

Reason I ask: if I set pcmcia to be on when the laptop boots, my wireless becomes eth0; and if I have pcmcia off when the laptop boots, my realtek interface is eth0.

How can I force my wireless interface to *always* be eth0, and my realtek to *always* be eth1 if I'm not using modules for their drivers?

Thanks,
-id
Back to top
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Thu Oct 14, 2004 9:28 pm    Post subject: Reply with quote

If you're using udev and sysfs you *might* be able to force it. I'm not positive but check into the documentation for writing udev rules and that might point you in the right direction. Other than that I've no ideas.

hth,
Petyr
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