I've been using ndiswrapper
to make work some wireless cards using its Windows drivers, because they are not yet supported by free Linux drivers. Until Ubuntu 12.04.
Now, I can install Windows Wireless Network Drivers (ndisgtk) from Ubuntu Software Center but when I try to load the driver, I get an error message saying
FATAL: Module ndiswrapper not found.
I get the same error if I type on a terminal sudo modprobe ndiswrapper
.
How can I workaround this bug until it's fixed?
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:
ndiswrapper-dkms
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-onSource 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:Extract the file:
Go the the extracted directory:
Compile and install:
Add the module to the system:
Open the file:
Delete the content of the file, save and close. Then let the module write the configuration file again:
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.
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"
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.
Thanks to whoever posted it. It took me almost a day to get my WiFi working in my old laptop with broadcom PCI wlan. I used
ndiswrapper
by directly downloading it but it didn't work for me. I tried to install it by compiling the soruce code but I got into a compilation error where it said error: ‘struct kernel_stat’ has no member named ‘cpustat.Then I searched and I found that I have to install
ndiswrapper-1.58
source. I dowloaded the source and followed the following instructions after unpacking the archive and changing to the source directory.Now your WiFi should be up and running.
After trying a few suggestions found here and getting nowhere I fixed the dreaded:
error message by adding Glenn Washburn's PPA to my software sources. It's fairly easy to do compared to other methods and it's the only thing that worked for me. Just type the following in the terminal:
You'll be prompted for your password of course Then asked to confirm adding this by pressing enter. Then just update your software and it works. Pretty simple. I must mention that when you visit this PPA you'll see this note:
I don't know what to make of that but here I am online because of it.
I found a fix do this and it will work
In Ubuntu 14.04 I needed to fix
loader.c
andpe_linker.c
files in ndiswrapper source code:Also:
Then, I followed the next steps of suggestion #2