LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-12-2005, 05:32 PM   #1
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Rep: Reputation: 15
Automating Modprobe


Hey, I just got linux wireless workin on my Inspiron 5150, but I have one little problem. In order to get it working, I have to bring up a console, and run "modprobe ndiswrapper" each time I boot up. What do I need to do to automate this?
 
Old 01-13-2005, 01:55 AM   #2
oscarrines
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora
Posts: 9

Rep: Reputation: 0
Following quote is Section 5 from the ndiswrapper installation guide
(http://ndiswrapper.sourceforge.net/w...p/Installation)

Quote:

5. Automate
Once everything works fine you can write the correct modprobe settings to load ndiswrapper automatically when wlan0 interface is used, by running

ndiswrapper -m

Note that this doesn't automatically load ndiswrapper module at boot time. If you want the module to be loaded automatically at boot time, you should configure your module setup, which depends on the distrbution. Most distributions will load all modules listed in /etc/modules at boot time. Mandrake 10.x uses /etc/modprobe.preload. For them, you can add a line

ndiswrapper

in /etc/modules.
 
Old 01-13-2005, 03:21 PM   #3
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
I've already given that a try, but it hasn't been working... Wireless works fine when I activate it via "modprobe ndiswrapper" when logged in as root, however, I have to do this manually everytime i restart the machine. When I do "ndiswrapper -m", it gives me a message saying "Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf", however if I check this file, there is no such entry. Also, if I manually add the entry, upon reboot, the entry disappears. inside /etc/modules.d I have five files, 'aliases, alsa, i386, ndiswrapper, svgalib'. Help!
 
Old 01-14-2005, 08:22 AM   #4
pragmatico
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by gauntalus
When I do "ndiswrapper -m", it gives me a message saying "Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf", however if I check this file, there is no such entry. Also, if I manually add the entry, upon reboot, the entry disappears.
this is a common thing with distros. on debian what happens is that if you change those alias things, you have to *manually* run the command "update-modules". please check how gentoo do this, although it is probably a similar system. once you run that command the changes will be fixed. find that command.
 
Old 01-14-2005, 10:57 AM   #5
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by pragmatico
this is a common thing with distros. on debian what happens is that if you change those alias things, you have to *manually* run the command "update-modules". please check how gentoo do this, although it is probably a similar system. once you run that command the changes will be fixed. find that command.
Ok, yep you were right. For those with the same problem, I found the answer @ forums.gentoo.org, here's the post ID:
http://forums.gentoo.org/viewtopic.p...iswrapper+boot

**edit**
NOTE: When I did this it slowed down my boot sequence a LOT, so I removed it and just do it manually when I wanna use wireless now.

Last edited by gauntalus; 01-14-2005 at 11:07 AM.
 
  


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
Automating modprobe commands rosspet Linux - Networking 4 08-06-2005 01:09 PM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 03:27 AM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 05:41 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM
Automating modprobe? r_jensen11 Linux - Hardware 3 09-07-2003 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:09 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