Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 / eth1 woes
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
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Sat Feb 22, 2003 12:10 am    Post subject: eth0 / eth1 woes Reply with quote

For my remote booting setup, I have a client with an ISA and a PCI network card in it. My kernel however first finds the ISA card and names it eth0. Then it finds my PCI card and names it eth1. This is not the way I like it, because I need the PCI card to be eth0. I tried putting a ether=... parameter, but that didn't work, and it actually isn't an option either, because it needs to be universal for all the clients. It just needs to load PCI network cards before ISA cards. Any ideas on how to accomplish this? Compiling ISA cards as modules is an option yes, I know, but I'd like everything compiled into the kernel (again, to make sure it works on each client, staying away from modprobe problems...)
_________________
Life is like a box of chocolates... Before you know it, it's empty...
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Sat Feb 22, 2003 12:00 pm    Post subject: Reply with quote

Compile the Network drivers as modules and put them in /etc/modules.autoload

The first loaded module gets eth0, the 2nd eth1 :)
Back to top
View user's profile Send private message
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Sat Feb 22, 2003 1:57 pm    Post subject: Reply with quote

As I allready said, this is rather impossible to do. Every client I have has different isa/pci NIC combinations, and they all need to work with 1 script
_________________
Life is like a box of chocolates... Before you know it, it's empty...
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Sat Feb 22, 2003 2:02 pm    Post subject: Reply with quote

Matje wrote:
As I allready said, this is rather impossible to do. Every client I have has different isa/pci NIC combinations, and they all need to work with 1 script


Sorry, I didnt read your complete posting above ;)
Well, AFAIK there is no other way except the module thing.
Back to top
View user's profile Send private message
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Sat Feb 22, 2003 6:19 pm    Post subject: Reply with quote

I gave up, compiled the ISA as a module and load it at boot time. Though luck if it isn't there :)
_________________
Life is like a box of chocolates... Before you know it, it's empty...
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