Networking :: modprobe ndiswrapper remove on shutdown
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
Try rmmod
You could add this to the shutdown scripts as well if this helps.
original here.