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.
I've just installed Ubuntu 5.10 (Breezy Badger) and installed ndiswrapper-utils via synaptic to setup my wireless internet access.
With Ubuntu 5.04 I typed the following commands:
sudo ndiswrapper -i /path/to/inf
then
sudo modprobe ndiswrapper
then
sudo ndiswrapper -m
I then enter the internet details from the networking dialog and activate wlan0.
With 5.10, when I type "sudo modprobe ndiswrapper" i get the following message:
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.12-9-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted
The other two commands work fine, but if I can't do the modprobe command then I can't get the wireless card to show up in the Networking dialog and set my access up.
Any advice is welcome. Thanks!
Last edited by bottledwater; 10-15-2005 at 03:09 PM.
Usually that error is associated with having two versions of ndiswrapper installed at once. If by any chance, that happens to be the case, remove both and start over.
Wait....is 5.10 an update of 5.04? If so, then it's probable that ndiswrapper is still being seen from the 5.04 install. You can get instructions on how to remove ndiswrapper from the command line here. http://ndiswrapper.sourceforge.net/m....php/Uninstall Here's what I would do to find out. Remove the ndiswrapper package you've installed with synaptic. If you go to the command line, log in as su, and you can still execute commands like "ndiswrapper -l" then you know you still have the other version of ndiswrapper installed. But, I'm almost certain I've only seen that error associated with two versions of ndiswrapper being installed at the same time.
Wait, did you install your kernel-source files? If not, I would remove the ndiswrapper packages in synaptic, make sure your kernel-source file is installed with the same version number as your kernel, and reinstall the ndiswrapper package. That might fix it.
As DIO suggests, you might try updating the available drivers via synaptic. If you can't locate one, then it's back to ndiswrapper. Yes, you have to have the kernel-source file installed to make ndiswrapper work. Just go into synaptic and search for "kernel." Then, find the "kernel-source" file that matches the kernel version you have installed. If you need to find out what version of the kernel is installed "uname -r" in the terminal will tell you. Then I would try reinstalling ndiswrapper and follow the instructions to install the driver, etc, as you did before. See if that doesn't fix the error you are receiving.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.