LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Loadable modules question (http://www.linuxquestions.org/questions/linux-newbie-8/loadable-modules-question-91128/)

dudds 09-10-2003 12:43 AM

Loadable modules question
 
Here's the story. I bought a new PC that has an Abit Is7 mobo. This mobo has an integrated 3Com Gig ethernet chip on it. The mother board driver CD comes with a Linux driver for this.

I have followed the instructions and have a file called 3c2000.o which I can load using the insmod command. If I then use ifconfig I can bring eth0 up and after assigning it an IP address all works fine........until the next time that is.

My question is how can I get the module to load automatically so I don't have to load and configure the module manually every time I boot Linux.

Cheers,
Dave

daveo 09-10-2003 03:07 AM

Re: Loadable modules question
 
Quote:

Originally posted by dudds
Here's the story. I bought a new PC that has an Abit Is7 mobo. This mobo has an integrated 3Com Gig ethernet chip on it. The mother board driver CD comes with a Linux driver for this.

I have followed the instructions and have a file called 3c2000.o which I can load using the insmod command. If I then use ifconfig I can bring eth0 up and after assigning it an IP address all works fine........until the next time that is.

My question is how can I get the module to load automatically so I don't have to load and configure the module manually every time I boot Linux.

Cheers,
Dave

I don't know what distro you're using, but there are several way's to do this. In the first place, when loading modules manually, allways use "modprobe" to load modules. insmod also loads the module, but not the needed dependensies (if required).

1. In Gentoo Linux : Make a file modules.autoload file in /etc and add the following line: modprobe 3c2000
2. In redhat (I thought it must be added in /etc/modules.conf
3. Also in slackware

dudds 09-10-2003 05:04 PM

I'm running Mandrake 9.1 if that helps.

Glasnost 09-10-2003 05:14 PM

Hi there, I usedto handle my module configuration files manually, but I have found that the utility "ModConf" works really well, it gives you a better picture of what modules you have and what they do. For me anyway. I don't know if there is a ModConf for Mandrake or not, but I fugre there should be. It also lets you pick what modules you want to automatically load on boot :>

daveo 09-11-2003 02:07 AM

Quote:

Originally posted by dudds
I'm running Mandrake 9.1 if that helps.
In mandrake the file: /etc/modules.conf is loading al modules (correct me if i'm wrong)

Add the entry like this: 3c2000 (this should be ok)

Hope this helps

asib3edges 07-20-2004 02:13 AM

Searching the internet for problems similar to the above and found this, but alas I tried it put in probe sk98lin and it still did not load it.

Running Mandrake 10, any idea's anybody

Dan <*>:newbie:


All times are GMT -5. The time now is 12:59 AM.