LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2003, 12:43 AM   #1
dudds
Member
 
Registered: Sep 2003
Posts: 36

Rep: Reputation: 15
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
 
Old 09-10-2003, 03:07 AM   #2
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
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
 
Old 09-10-2003, 05:04 PM   #3
dudds
Member
 
Registered: Sep 2003
Posts: 36

Original Poster
Rep: Reputation: 15
I'm running Mandrake 9.1 if that helps.
 
Old 09-10-2003, 05:14 PM   #4
Glasnost
LQ Newbie
 
Registered: Sep 2003
Location: Surrey, BC
Distribution: Debian SiD
Posts: 2

Rep: Reputation: 0
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 :>
 
Old 09-11-2003, 02:07 AM   #5
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
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
 
Old 07-20-2004, 02:13 AM   #6
asib3edges
LQ Newbie
 
Registered: Jul 2004
Distribution: mandrake 10
Posts: 1

Rep: Reputation: 0
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 <*>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
debug loadable modules with kgdb??? Igor007 Programming 0 09-09-2005 04:42 PM
Loadable Kernel Modules jbrashear Debian 7 04-03-2005 05:11 PM
loadable modules help -- unresolved symbols dklaming Linux - Newbie 1 04-30-2004 02:06 PM
of course I have loadable modules enabled! jmynkbht Linux - Software 0 04-26-2004 03:52 AM
loadable modules vs built-in modules nuzzy Linux - Hardware 1 07-21-2003 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration