LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 12-22-2007, 09:10 AM   #1
ckent
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 59
Thanked: 0
wireless problem - modprobe ndiswrapper turns off


[Log in to get rid of this advertisement]
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
ckent is offline  
Tag This Post , , , ,
Reply With Quote
Old 12-22-2007, 11:28 AM   #2
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 12,877
Thanked: 232
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.
jschiwal is offline     Reply With Quote
Old 12-22-2007, 11:35 AM   #3
deadeyes
Member
 
Registered: Aug 2006
Posts: 260
Thanked: 3
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.
deadeyes is offline     Reply With Quote
Old 12-23-2007, 08:32 AM   #4
ckent
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 59
Thanked: 0

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

thanks a bunch for the help!
ckent is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:55 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration