View previous topic :: View next topic |
Author |
Message |
Matje l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Sat Feb 22, 2003 12:10 am Post subject: eth0 / eth1 woes |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bazik Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/7002154204456fa8b3e414.png)
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Sat Feb 22, 2003 12:00 pm Post subject: |
|
|
Compile the Network drivers as modules and put them in /etc/modules.autoload
The first loaded module gets eth0, the 2nd eth1 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Matje l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Sat Feb 22, 2003 1:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
bazik Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/7002154204456fa8b3e414.png)
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Sat Feb 22, 2003 2:02 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Matje l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Sat Feb 22, 2003 6:19 pm Post subject: |
|
|
I gave up, compiled the ISA as a module and load it at boot time. Though luck if it isn't there ![Smile :)](images/smiles/icon_smile.gif) _________________ Life is like a box of chocolates... Before you know it, it's empty... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|