Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

sudo modprobe -r ndiswrapper sudo modprobe ndiswrapper

No matter how much time between commands. After 5-th or 6-th or 7-th iteration it hangs GUI. A also can not open another tty by Ctrl-Alt-F1,F2,... So I have to reboot.

I remove and insert ndiswrapper because it helps to reconnect wi-fi if it drops.

What makes my computer freeze?

share|improve this question
up vote 1 down vote accepted

If your computer is connected over wifi via ndiswrapper, removing it could certainly cause problems. If you insist on uninstalling ndiswrapper, you may want to disconnect your wireless connection and even remove the windows driver first. If your wifi drops there are many possible causes:

  • too far from router
  • outdated/unsupported driver
  • modem configuration, interference in the building, any other cause that could interfere with wifi...

If your wifi drops, don't remove ndiswrapper. First try to reconnect, what happens? You could use the command sudo ifconfig [wlan0] [down/up] where wlan is your wireless adapter (could be wlan1, ra0...). Treat this as a wireless issue and troubleshoot it accordingly. It would help if you would post the chipset and windows driver you're using, that way device-specific troubleshooting steps could be looked at.

See more on wireless troubleshooting here, here, here, and here.

share|improve this answer
If your computer is connected over wifi via ndiswrapper, removing it could certainly cause problems. Thank you man! I couldn't imagine that unloading ndiswrapper module could make OS to crash. I was sure ndiswrapper handles such unhappy circumstances transparently. I give up unloading ndiswrapper, actually I give up ndiswrapper at all. – zuba Apr 5 '12 at 15:38
@zuba Well, sometimes you don't have a choice. Sometimes there is no native driver, and sometimes the native driver hasn't caught up yet to the windows driver. If ndiswrapper works (or at least works better than the native driver), it's a fairly amazing option to have. – titaniumtux Apr 5 '12 at 22:07
Sure. I use rt73usb, rt2x00lib, rt2x00usb modules now – zuba Apr 6 '12 at 7:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.