LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Ubuntu 5.10 ndiswrapper (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ubuntu-5-10-ndiswrapper-373397/)

bottledwater 10-15-2005 03:06 PM

Ubuntu 5.10 ndiswrapper
 
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!

Agentvenom 10-15-2005 04:21 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.

Agentvenom 10-15-2005 04:28 PM

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.

bottledwater 10-15-2005 04:50 PM

I did a fresh install of 5.10 (not update). I checked in synaptic and there is only one ndiswrapper installed (ndiswrapper-utils).

Someone told me to try "insmod blah blah" but that doesn't add the wireless card to the networking dialog and i want to use ndiswrapper.

Agentvenom 10-15-2005 05:12 PM

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.

bottledwater 10-15-2005 05:15 PM

I'm a n00b at this so would you mind explain step by step? e.g. go into synaptic and search for...

bottledwater 10-15-2005 05:16 PM

and no i haven't installed the kernel source files, should i have? I didn't install them on hoary

bottledwater 10-15-2005 05:46 PM

hello?

UbuDio 10-16-2005 07:42 AM

Hi

Reinstall and try this:

http://www.linuxquestions.org/questi...hreadid=373241

Dio

Agentvenom 10-16-2005 04:18 PM

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.


All times are GMT -5. The time now is 10:51 AM.