How to fix "ndiswrapper not found"?

Solution 1:

This bug is reported here. I managed to workaround it so I thought I could share the fix so others can benefit and perhaps contribute more accurate information. Information source is soneedu commnent and Ubuntu Wiki.


Update: There is another fix suggestion which seems way more easy to do, and it was confirmed in the comments that it works.

Fix suggestion #1:

  1. Install the package ndiswrapper-dkms
  2. Run the command: sudo modprobe ndiswrapper

Now you should be able to use the Windows Wireless Network Drivers (ndisgtk) utility.

Don't forget to make sure that ndiswrapper is being loaded on system startup.


Fix suggestion #2:

Tested on Ubuntu 12.04 32 bit.

Go to Ubuntu Software Center, search for ndisgtk and open its entry. Install it in case you haven't yet. Check the add-on Source for the ndiswrapper Linux kernel module (ndiswrapper-source) and click "Apply Changes".

Now there must be a file called ndiswrapper.tar.bz2 in /usr/src. Open a terminal and go to the directory:

cd /usr/src

Extract the file:

sudo tar -xjf ndiswrapper.tar.bz2

Go the the extracted directory:

cd /usr/src/modules/ndiswrapper

Compile and install:

sudo make
sudo make install

Add the module to the system:

sudo modprobe ndiswrapper

Open the file:

gksudo gedit /etc/modprobe.d/ndiswrapper.conf

Delete the content of the file, save and close. Then let the module write the configuration file again:

sudo ndiswrapper -m

Reboot.

Now you should be able to use the Windows Wireless Network Drivers (ndisgtk) utility.

Don't forget to make sure that ndiswrapper is being loaded on system startup.

Solution 2:

This same problem just started happening for me a couple days ago and in my search to fix it, I found a post this morning on ubuntuforums.org with an alternative fix. Since I haven't seen any mention of this method yet here, I figured i go ahead and post it for everyone else.


Here's HalfNote5's original post:

Since I lack enough reputation to post the screenshot here, I've went ahead and copied the text instead.

12.04 and ndiswrapper modprode "FATAL: Module ndiswrapper not found"

Just a heads up for people with ndiswrapper problems (I crawled the Ubuntu forum and didn't really find this; the info was aggregated from several other sites.)

If you're using an older version of ndiswrapper, and you have the gui AND the program interface (and ndiswrapper even shows that the hardware is attached) but when you modprobe, you're getting this:

FATAL: Module ndiswrapper not found

It means you need to install

ndiswrapper-source
ndiswrapper-dkms
ndiswrapper-common

(And of course, install ndiswrapper-utils-1.9)

None of which appear to be "Dependencies" for ndiswrapper, but without which it simply does not work.

Apologies if this is already posted somewhere, but when I was looking for it, I saw several people asking, but no definitive answers.

Cheers!

P.S. My install was Xubuntu Alternate. Your experience may vary. ; )

Last edited by HalfNote5; May 26th, 2012 at 09:13 AM.. Reason: slight correction

Link to HalfNote5's Original Post


Since I use Ubuntu 12.04 LTS as my OS, I just searched each installs name in the Ubuntu Software Center program and installed each one.

After everything finished installing, I reopened ndiswrapper, then removed and reinstalled the wireless driver.

Ever since then, my wireless adapter has working perfectly.

I hope my answer helps make this fix easier, even if just a little, for others with this same problem in the future.