LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Load additional modules at boot? (http://www.linuxquestions.org/questions/debian-26/load-additional-modules-at-boot-411698/)

drakebasher 02-04-2006 05:13 PM

Load additional modules at boot?
 
I have 2 network adapters in my server which I am migrating from Fedora to Debian. In Fedora, both NICs were recognized during installation. When I installed Debian, for some reason, the natsemi NIC was found but not the e100. So Debian has named the natsemi NIC "eth0" instead of "eth1", which I want to fix. I have found /etc/network/interfaces for defining the address of each NIC (eth0 or eth1), but I don't know how to force Debian to recognize the e100. Obviously I need to call for the e100 module to be loaded, but I don't know which file should be edited for that.

Thanks-

gilead 02-04-2006 05:38 PM

I'm not sure if Debian has something like the rc.modules script that loads modules on startup. You could add entries for the cards in /etc/modprobe.conf like these (I'm guessing the module names are the ones from your post):

Code:

alias eth0 e100
alias eth1 natsemi


drakebasher 02-04-2006 07:07 PM

Thanks, gilead, sometimes a hint is all it takes. I edited /etc/modutils/aliases to add the the lines you wrote, which are also in my Fedora/etc/modprobe.conf. Then I edited /etc/network/interfaces with the correct static IP information. Both NICs are now as I wanted them.

Thanks for your help!

gilead 02-04-2006 07:17 PM

No problem - I'm glad it's working :)


All times are GMT -5. The time now is 09:41 AM.