LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-22-2007, 08:10 AM   #1
ckent
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
wireless problem - modprobe ndiswrapper turns off


lately my wireless card has not been working when i boot up. i cannot connect to the internet unless i run "sudo modprobe ndiswrapper" and then everything works fine. can someone tell me why it keeps turning off or how to keep it on?

CK
 
Old 12-22-2007, 10:28 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Run "ndiswrapper -m" to modify /etc/modprobe.conf. Did you change a setting for when the device is started? Such as "OnBoot" to "OnConnection"?

You might dig in the system for a config file in /etc/sysconfig/ that lists the modules to include in the initrd file. On my SuSE machine it is in /etc/sysconfig/kernel. Adding "ndiswrapper" to the list and running as root "sudo /sbin/mkinitrd" will create a new initrd file that contains the ndiswrapper module. There may be a preload list in /etc/ as well that will list modules to be loaded after this but before the /etc/init.d/ scripts run. This is another thing to look for.
 
Old 12-22-2007, 10:35 AM   #3
deadeyes
Member
 
Registered: Aug 2006
Posts: 605

Rep: Reputation: 78
Quote:
Originally Posted by ckent View Post
lately my wireless card has not been working when i boot up. i cannot connect to the internet unless i run "sudo modprobe ndiswrapper" and then everything works fine. can someone tell me why it keeps turning off or how to keep it on?

CK
you can check if the module gets loaded automatically.
Look in /etc/modules and check if ndiswrapper is there.

Also check the log files /var/log/messages and dmesg for any errors.

For example, for my wireless I always have to reload the module before I can load it.
 
Old 12-23-2007, 07:32 AM   #4
ckent
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
alright, so adding ndiswrapper to /etc/modules seems to have worked. i wonder why it just stopped though.

thanks a bunch for the help!
 
  


Reply

Tags
broadcom, modprobe, ndiswrapper, wireless


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 07:04 AM
Broadcom Wireless (BCM4306) Wireless problems: modprobe ndiswrapper freezes HP Laptop shthap3ns Linux - Hardware 11 02-11-2007 12:53 PM
modprobe problem: Error inserting ndiswrapper.ko Invalid module format Antarctica Linux - Hardware 8 11-25-2006 04:04 PM
problem with BMC4318. After installing bcmwl5.inf, modprobe ndiswrapper gives error. jnummela Linux - Wireless Networking 17 11-30-2005 06:58 PM
ndiswrapper / modprobe / wireless networking help oakleyguy007 Linux - Wireless Networking 3 01-07-2005 02:36 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration