LinuxQuestions.org
Review your favorite Linux distribution.
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 08-08-2005, 10:12 AM   #1
kulmis
Member
 
Registered: Aug 2003
Posts: 33

Rep: Reputation: 15
how to load modules automatically


How do I load kernel modules automatically on boot? Surely I could put separate modprobe command to some startup script, but is there a file from which the listed modules are automatically loaded?
 
Old 08-08-2005, 10:18 AM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
It varies according to distribution, IIRC, but it's /etc/modules for Debian / [k]ubuntu.
 
Old 08-08-2005, 10:34 AM   #3
kulmis
Member
 
Registered: Aug 2003
Posts: 33

Original Poster
Rep: Reputation: 15
I'm using Fedora Core 4 and /etc/modules doesn't exist. So, does anybody know which file FC uses?
 
Old 08-08-2005, 10:48 AM   #4
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
What I remember from Fedora Core 2, it's /etc/modules.conf.
 
Old 08-08-2005, 10:59 AM   #5
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Adding `modprobe name_of_module` to /etc/rc.d/rc.local might do the job.
 
  


Reply


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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 06:09 PM
how do i get modules to load automatically behmjose Linux - General 2 04-13-2004 09:32 PM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 06:40 AM
modules.conf - Cannot get modules to load automatically gundelgauk Linux - General 1 12-28-2003 12:27 AM
Automatically "force load " modules of PCtel modem on redhat juby Linux - Hardware 2 01-14-2003 12:45 PM


All times are GMT -5. The time now is 04:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration