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

I did a fresh install of Ubuntu 11.10 in my system and I'm having issue with my wireless usb adapter. I installed ndiswrapper in my system and load my .inf file for my usb wifi adapter and everything seems to be working fine but whenever I restart my system, my wifi stopped working and the wireless option in the network from system settings is missing.

My quick fix to this is to remove the driver from ndiswrapper and install the .inf again. Is there a way that Ubuntu 11.10 automatically recognize the driver for my usb wifi adapter whenever I boot my system without removing and installing it from ndiswrapper? I never had this issue with Ubuntu 11.04. Please help!

share|improve this question
Nice job finding a solution, it would be great if you could add hardware information to this question so the next person who comes along can find this! – Jorge Castro Oct 18 '11 at 0:12
Ahh yes that's a good idea. The USB wireless adapter that I'm using is D-link DWA-130 – Mike Oct 18 '11 at 0:55
up vote 1 down vote accepted

Load new driver module (may not be necessary any longer, but does no harm either):

sudo depmod -a
sudo modprobe ndiswrapper

Add the module to /etc/modules to have it load automatically:

echo 'ndiswrapper' | sudo tee -a /etc/modules

Create alias directive:

sudo ndiswrapper -m


share|improve this answer

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.