LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-27-2005, 10:41 PM   #1
case1984
Member
 
Registered: Feb 2003
Location: Baton Rouge, LA
Distribution: ubuntu
Posts: 137

Rep: Reputation: 15
linksys wireless ndiswrapper and ubuntu


I installed ubuntu with no problems on a micron pII 233mhz with 96mb memory.
I'm trying to use a linksys wpc54g version 2. I tried to use ndiswrapper to install the driver from the linksys website, but it doesn't work.
First I download the zip file and unzip the lsbcmnds.inf file
When I try to install ndiswrapper using synaptic, it only shows ndiswrapper source and utils. I'm not sure if that has anything to do with my problem.

This is what I'm trying to do:
root@ubuntu:/home/michael/linksys wireless driver # ndiswrapper -i lsbcmnds.inf
lsbcmnds is already installed. Use -e to remove it
root@ubuntu:/home/michael/linksys wireless driver # ndiswrapper -e lsbcmnds.inf
Driver lsbcmnds.inf is not installed. Use -l to list installed drivers
root@ubuntu:/home/michael/linksys wireless driver # ndiswrapper -l lsbcmnds.inf
Usage: ndiswrapper OPTION
Manage ndis drivers for ndiswrapper.
-i inffile Install driver described by 'inffile'
-d pciid driver Use installed 'driver' for 'pciid'
-e driver Remove 'driver'
-l List installed drivers
-m Write configuration for modprobe
-hotplug (Re)Generate hotplug information

why does it say the driver is both inatalled and not installed? I'm kind of lost here.
Any help would be appreciated.

Michael
 
Old 04-29-2005, 04:35 AM   #2
jon_hill987
LQ Newbie
 
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
Im' having simmalar problems:

I have been trying to get my NetVision AMD Am1772 PCMCIA wifi card to work with kubuntu (Hoary 5.04) without any luck. so far i have just tried installing the windows drivers using ndiswrapper.

this is the result:

Code:
root@JON:/windriver# ndiswrapper -i netam772.inf
Installing netam772
cp: cannot stat `netam772.inf': No such file or directory
root@JON:/windriver# ndiswrapper -l
Installed ndis drivers:
netam772 invalid driver!
root@JON:/windriver# ndiswrapper -m
modprobe config already contains alias directive

root@JON:/windriver# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.10-5-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted
I have a HP Compaq nx9005. any help much appreitiated as wireless is the only way I can conect to the net (i'm typing this from windows)
 
Old 04-29-2005, 10:35 AM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
ndiswrapper -l
will show what's installed. it's just "ndiswrapper -l"

try "modprobe ndiswrapper" and see if your card activates.


The reason it says it isn't installed is you are typing:
"ndiswrapper -e lsbcmnds.inf"

the correct command is:
"ndiswrapper -e lsbcmnds"

you only use the ".inf" when installing the driver, after that it's just the driver name without the ".inf"

It sounds like it's installed to ndiswrapper ok.

You need to do:
modprobe ndiswrapper
iwconfig <wlan0>(or whatever your wlan card is called)<whatever settings you need>
ifconfig <wlan0> up
dhcpcd wlan0 (if using dhcp)
 
Old 05-03-2005, 06:07 AM   #4
jon_hill987
LQ Newbie
 
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
Any Ideas what my problem is? is my driver not supported by ndiswraper? do I need a different one?
 
Old 05-03-2005, 03:58 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
First do a ndiswrapper -r <driver>

then
remove the alias from the modprobe.conf file

then do

ndiswrapper -i <full path to driver name.inf>

ndiswrapper -l


to install the driver you need to use the full path to the driver .inf file, not just the name.
 
Old 05-03-2005, 04:39 PM   #6
jon_hill987
LQ Newbie
 
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
Ok, thanx, getting there now.

Code:
me@PC:~$ sudo ndiswrapper -i /windriver/NetAm772.inf
Installing netam772
me@PC:~$ sudo ndiswrapper -l
Installed ndis drivers:
netam772        driver present, hardware present
me@PC:~$ sudo ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
me@PC:~$ sudo modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.10-5-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted
it's just the last bit I'm having trouble with now. I just don't understand it.
 
Old 05-05-2005, 05:38 AM   #7
jon_hill987
LQ Newbie
 
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
I have switched to Ubuntu (from Kubuntu) there is no change. I still have the problem inserting the driver with modprobe. anyone know what is causing this? should i try a diff distribution?
 
Old 05-05-2005, 12:54 PM   #8
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
create a root account and su to root and try it then.
 
Old 05-06-2005, 01:13 PM   #9
jon_hill987
LQ Newbie
 
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
I tryed to do it logged on as root and get the same error, I even set the file to be read/write by everyone, I still get the same error. thanx for the suggestion though. got any more? i'm thinking it could be the driver. maybe it is not suported.
 
Old 05-06-2005, 02:18 PM   #10
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Delete/remove all the old drivers installed; do "ndiswrapper -l", then do "ndiswrapper -e" on each one, or delete the drivers from /etc/ndiswrapper. Then reinstall the driver. I think this happens when you have drivers installed by a different version of ndiswrapper.
 
Old 05-06-2005, 02:41 PM   #11
jon_hill987
LQ Newbie
 
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
That dosn't work, i did that before I started each time. before I installed ndiswrapper -l showed no installed drivers.

EDIT: Ok, i give up. I have found a linux driver that should work with my card. wish me luck installing that.

Last edited by jon_hill987; 05-07-2005 at 10:41 AM.
 
Old 05-09-2005, 09:16 PM   #12
epb613
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
http://ubuntuforums.org/showthread.php?t=5645

I followed the directions in post #7 on that page and it worked perfectly.
 
Old 06-07-2005, 12:05 AM   #13
tynsap
LQ Newbie
 
Registered: Mar 2005
Location: CA
Posts: 4

Rep: Reputation: 0
@case1984

Your poor thread got hijacked. Not sure if you still need help, but I had the same issue. Try ndiswrapper -e <driver> without the .inf extension. It should work.

Hope that helps
 
Old 06-07-2005, 03:28 AM   #14
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Jon, check the output of dmesg after trying to modprobe ndiswrapper. Operation Not Permitted is different than a 'permission denied' message.

More than likely, the kernel you're running is missing wireless extensions or somesuch feature needed to use ndiswrapper.

--Shade
 
Old 06-07-2005, 06:13 AM   #15
thunderweasel
Member
 
Registered: Mar 2005
Distribution: Void Linux
Posts: 143

Rep: Reputation: 15
You're may be using the wrong driver. Use the one listed for your card here: http://ndiswrapper.sourceforge.net/p...378972d7f769ae
The latest drivers from the website may or may not work, make sure you use the one listed at the ndiswrapper site, as all the one's listed have been tested. Also, try a few different versions of ndiswrapper, some work better than others (I've had good experience with 1.1 and 0.9). And read the installation wiki at ndiswrapper.sourceforge.net thoroughly and carefully. You were issuing some incorrect commands in your first post that you would have known if you'd read the instructions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
WMP54G Linksys PCI card with ndiswrapper on Ubuntu rparle Linux - Wireless Networking 6 04-27-2005 03:49 PM
wireless pcmcia wpc54g linksys not being loaded with ndiswrapper dave_mwi Linux - Wireless Networking 5 01-03-2005 11:24 AM
Ndiswrapper and linksys wireless wusb54g Delusions SUSE / openSUSE 2 11-08-2004 02:47 PM
Linksys wireless g on suse 9.1 with ndiswrapper lnxusr Linux - Wireless Networking 10 02-15-2004 04:00 AM
linksys wireless WMP54G and ndiswrapper: cannot connect reshma Linux - Newbie 3 02-13-2004 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:53 AM.

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