modprobe ndiswrapper remove on shutdown


Forum: Networking
Topic: modprobe ndiswrapper remove on shutdown
started by: Max5000

Posted by Max5000 on Aug. 24 2006,19:08
Hi,

I have a DSL HD install on a Toshiba Laptop, and a dlink dwl-g122 wireless USB key, and I'm also very new to Linux.

I have gotten the card working using ndiswrapper with the Windows XP drivers.
However everytime I shutdown, the system hangs and I have to turn off the machine, and then go though disk fixing etc..

After many hours, I have narrowed the problem down.
If I boot up, but DO NOT run 'modprobe ndiswrapper', then the system will shutdown nicely.

If I run 'modprobe ndiswrapper' and then shutdown, it hangs.

I have tried 'modprobe -r ndiswrapper' and then shutdown, but it still hangs. Seems like ndiswrapper is still going after I try to remove it.

Is it possible to unload a module after loading it with modprobe?

Or is there another way?
My goal is unload the network card before shutting down to see if that will stop the hanging.

Thanks
Max

Posted by ^thehatsrule^ on Aug. 24 2006,23:37
Try rmmod
You could add this to the shutdown scripts as well if this helps.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.