LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-12-2007, 12:24 PM   #1
es0teric
Member
 
Registered: Apr 2007
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 19
Load Module on Startup


I'm using Slackware 12.0 and recently got ndiswrapper properly configured for my laptop's wireless. The only part I have left is getting the ndiswrapper module to automatically load on startup.

From other posts I've sifted through, I get the impression that this used to be done by editing /etc/modprobe.conf. However, it seems that has been deprecated and modules are now loaded by creating files inside /etc/modprobe.d/

I have a file named "ndiswrapper" inside /etc/modprobe.d

This file only contains one line, which reads "alias wlan0 ndiswrapper"

The ndiswrapper module does not load on startup. Do I need to add a modprobe command to this file or something?

Also, there are many more modules loaded than there are files inside of /etc/modprobe.d. Where are the other modules being loaded from? Is there another way I should be going about loading this module?

Any help is greatly appreciated.
 
Old 10-12-2007, 12:52 PM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
/etc/rc.d/rc.modules. Add lines like "/sbin/modprobe module_name".

Brian
 
Old 10-21-2007, 08:48 AM   #3
lyke
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
you could also add that line to /etc/rc.d/rc.local if you would rather leave rc.modules alone

I can't remember exactly, but there may just be a line in rc.modules that you can uncomment. It should look something like:
#/sbin/modprobe ndiswrapper

so change it to:
/sbin/modprobe ndiswrapper


good luck
 
Old 10-21-2007, 09:06 PM   #4
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by lyke View Post
you could also add that line to /etc/rc.d/rc.local if you would rather leave rc.modules alone
Yes and no. Depending on the module, you will get different behavior if you put it in rc.local rather than rc.modules. rc.modules loads early in the boot process while rc.local is run at the end. For the network card, it is good to have it up and running before, eg. rc.inet gets run.

Brian
 
  


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
How to load Nvidia module at startup? Jedyte Linux - Hardware 1 03-12-2005 02:34 PM
load module at startup hobz Linux - Hardware 3 03-08-2005 07:44 PM
load joystick module at startup agentr Linux - General 2 09-01-2004 05:54 PM
load module at startup alaios Linux - General 1 03-31-2004 11:40 AM
A broken module trying to load at startup BongFish Linux - General 2 10-23-2003 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:35 AM.

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