Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-24-2004, 09:22 AM   #1
Registered: Aug 2003
Location: Netherlands
Distribution: Redhat 9.0
Posts: 38

Rep: Reputation: 15
Question Load module permanent (modprobe)


I am using some software that is using certain modules to do timing. Every time I reboot the PC i need to /sbin/modprobe mymodule.

How can I save this configuration so that the next time I reboot the machine do not need to modprobe the module?

Old 01-24-2004, 09:47 AM   #2
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Rep: Reputation: 15
make a bash script:

modprobe <mymodule>

name it <mymodscript>
make it executeable: chmod +x <mymodscript>
put in /etc/init.d
make a symlinc to you runlevel:
ln -s /etc/init.d/<mymodscript> /etc/rc5.d/<S50mymodscipt>
Old 01-24-2004, 10:05 AM   #3
Registered: Aug 2003
Location: Netherlands
Distribution: Redhat 9.0
Posts: 38

Original Poster
Rep: Reputation: 15


Thanks it is working - also just tried to add the following

/sbin/modprobe mymodule to the file /etc/rc.d/rc.local

Also seems to be working. Is there a difference betwene your way and the one described above?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 08:04 AM
What modprobe module should I load for my netgear nic card? abefroman Linux - Hardware 1 11-25-2005 02:07 PM
Permanent modprobe solution. But is it messy? SchadeBoy SUSE / openSUSE 5 09-27-2005 12:57 AM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 06:41 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 01:01 PM

All times are GMT -5. The time now is 03:28 PM.

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