LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how are kernel modules loaded at boot? (https://www.linuxquestions.org/questions/debian-26/how-are-kernel-modules-loaded-at-boot-630105/)

fancylad 03-23-2008 06:54 PM

how are kernel modules loaded at boot?
 
I am working on a live cd based off Debian Etch and the driver for the nic is not being loaded at boot so I have to load it manually. What I would like to know is how modules are loaded automatically. Is there some daemon that takes care of this? I don't want to just add the driver to /etc/modules because I would like the proper driver to load so that it will work on different machines.

Thanks

bigrigdriver 03-24-2008 07:17 AM

Create a file called /etc/modprobe.conf.local. Make an entry like this:
Quote:

# load module for ethernet card
alias eth0 via_rhine
substituting yor NIC and module names.

cferron 03-24-2008 08:26 AM

No simple way?
 
Quote:

Originally Posted by bigrigdriver (Post 3098625)
Create a file called /etc/modprobe.conf.local. Make an entry like this:
substituting yor NIC and module names.

But what if you don't know what will be the card in the machine?
Do you have to put all possible module in there and the kernel will choose the correct one? There must be a simpler way...

Thanks

Claude


All times are GMT -5. The time now is 08:50 PM.