LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wireless problem - modprobe ndiswrapper turns off (https://www.linuxquestions.org/questions/linux-software-2/wireless-problem-modprobe-ndiswrapper-turns-off-608551/)

ckent 12-22-2007 08:10 AM

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

jschiwal 12-22-2007 10:28 AM

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.

deadeyes 12-22-2007 10:35 AM

Quote:

Originally Posted by ckent (Post 2998921)
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.

ckent 12-23-2007 07:32 AM

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

thanks a bunch for the help!


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