Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work!
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work!
I've had Linux for about a week, and I'm still trying to get ndiswrapper to work! I have a Microsoft MN-720 card. When I do ndiswrapper -l it says I have the driver and hardware there. But, when I do modprobe ndiswrapper, it says "FATAL: Module ndiswrapper not found." I've tried everything I can think of! Can anyone help me?
I had this error with Debian. Somehow the ndiswrapper module didn't get installed correctly. In Debian, I had to use module-assistant to get it working correctly. I'm not sure what you would use in Fedora.
Edit: I did a little research on Fedora's web site and found that they have "modutils" available as a package, so I added what's below.
Try typing in "modinfo ndiswrapper" and see what you get.
If you get "modinfo: could not find module ndiswrapper", then try, "modinfo usbcore". ndiswrapper depends on usbcore. No usbcore, try "modprobe usbcore" then "modprobe ndiswrapper"
if you do have usbcore and you don't have ndiswrapper, try "update-modules". You may have to reboot after that one, then try "modprobe ndiswrapper"
BTW: When you try to modprobe anything in, you should use: modprobe -n -v --first-time [module-name] to have a dry run to make sure everything will be OK. (NOW we tell you, right?)
If all else fails, try the old school way: "insmod lib/modules/`uname -r`/misc/ndiswrapper.ko". If you get file not found, then ndiswrapper.ko was put in an unusual place. Do a search for it and change the above path to fit.
Note: the ` marks around uname -r are NOT apostrophe's. They are the tick marks located to the left of the number "1" on a US keyboard.
Ok, either I'm really clueless or there are some serious problems with ndiswrapper on my computer... Probably both. I tried all of the things you suggested, and nothing did much. It couldn't find usbcore, and it didn't even recognize the command "insmod." It's probably just not in my path, right? Which directory is it in? Also, I did a search for "ndiswrapper" and ".ko" and neither one found ndiswrapper.ko. Geez I'm bad at this stuff...
Erm, im not sure if anyone else noticed, but it looks like he spelt ndiswrapper wrong at the top, not sure if its just he typed it wrong on the forums but hey - it's worth saying...
1. Upgrade your kernel to 2.6.12-1.1381_FC3.
2. install ipw2200-firmware.
3. install kernel-module-ndiswrapper-2.6.12-1.1381_FC3
(Better way is to use yum and install as takes care of the dependencies),
4.install cabextract
5. download the driver SP30290.exe from the winxp site.
6. Unpack the SP30290.exe to some directory. To do so run
$ cabextract SP30290.exe
7. /usr/sbin/ndiswrapper -i bcmwl5a.inf
8. $ /usr/sbin/ndiswrapper -m
It will add an alias to /etc/modprobe.conf
Now you can reboot to have it activated,
or you can run
$ depmod -a
$ modprobe ndiswrapper
After upgrading to Fedora Core 5, ndiswrapper worked perfectly everytime (on an Acer Aspire 5004WLMi). I found the driver for the Broadcom wireless card, followed the ndiswrapper instructions and everything was great.
The other night, I had some work to do but was getting sleepy so I enabled the wireless card and took the laptop into bed. I then did a "yum update". Ever since, when I try to run modprobe I get the ol' "FATAL: Module ndiswrapper not found.".
The softlink to /lib/modules is there, everything looks as it should but still I get the error. Even "ndiswrapper -l" returns:
bcmwl5 driver installed, hardware present
yet the problem persists.
Any help/advice/suggestions are *greatly* appreciated.
I'm in the same boat as Choad here. I couldn't get it working on FC4 so I got FC5 and it worked but because of the 4k stack it crashed so I rebooted and upgraded the kernel to 16k stack and now it wont find the ndiswrapper module. I've ran the usual several times and have tried moving the ndiswrapper.ko to the directory suggested in a post above this and get :
Perhaps FC5 comes with a GCC version that is not supported by ndiswrapper?
I proudly installed the latest GCC 4.1.1 on my Gentoo machine and got the 'module not recognized' error. After lots of fumbling I got it to work with GCC 3.4.5. Easy mistake to make I guess. To select the correct compiler in Gentoo, do:
Code:
$ eselect compiler list
$ eselect compiler set [item # of compiler in list]
This problem was sorted mate. When I upgraded the kernel to a 16k stack size it sent Ndiswrapper loopy. If I kept the 4k stack size kernel it worked. Luckily the 4k stack didn't crash the kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.