LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-15-2005, 03:06 PM   #1
bottledwater
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
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!

Last edited by bottledwater; 10-15-2005 at 03:09 PM.
 
Old 10-15-2005, 04:21 PM   #2
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
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.
 
Old 10-15-2005, 04:28 PM   #3
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
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.
 
Old 10-15-2005, 04:50 PM   #4
bottledwater
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 10-15-2005, 05:12 PM   #5
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
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.
 
Old 10-15-2005, 05:15 PM   #6
bottledwater
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
I'm a n00b at this so would you mind explain step by step? e.g. go into synaptic and search for...
 
Old 10-15-2005, 05:16 PM   #7
bottledwater
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
and no i haven't installed the kernel source files, should i have? I didn't install them on hoary
 
Old 10-15-2005, 05:46 PM   #8
bottledwater
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: 0
hello?
 
Old 10-16-2005, 07:42 AM   #9
UbuDio
LQ Newbie
 
Registered: Oct 2005
Posts: 20

Rep: Reputation: 0
Hi

Reinstall and try this:

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

Dio
 
Old 10-16-2005, 04:18 PM   #10
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper ubuntu amd64 thewfool Linux - Hardware 5 03-27-2006 12:34 AM
Does ndiswrapper work with Slackware? I don't want to switch to Ubuntu. rovitotv Slackware 12 10-21-2005 10:47 PM
Having trouble installing ndiswrapper onto Ubuntu fugiware Linux - Hardware 4 07-28-2005 01:20 PM
linksys wireless ndiswrapper and ubuntu case1984 Linux - Laptop and Netbook 14 06-07-2005 05:13 AM
Ndiswrapper in Ubuntu stevenyu Ubuntu 8 03-29-2005 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration