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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-27-2005, 10:41 PM
|
#1
|
Member
Registered: Feb 2003
Location: Baton Rouge, LA
Distribution: ubuntu
Posts: 137
Rep:
|
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
|
|
|
04-29-2005, 04:35 AM
|
#2
|
LQ Newbie
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10
Rep:
|
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)
|
|
|
04-29-2005, 10:35 AM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
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)
|
|
|
05-03-2005, 06:07 AM
|
#4
|
LQ Newbie
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10
Rep:
|
Any Ideas what my problem is? is my driver not supported by ndiswraper? do I need a different one?
|
|
|
05-03-2005, 03:58 PM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
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.
|
|
|
05-03-2005, 04:39 PM
|
#6
|
LQ Newbie
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10
Rep:
|
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.
|
|
|
05-05-2005, 05:38 AM
|
#7
|
LQ Newbie
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10
Rep:
|
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?
|
|
|
05-05-2005, 12:54 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
create a root account and su to root and try it then.
|
|
|
05-06-2005, 01:13 PM
|
#9
|
LQ Newbie
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10
Rep:
|
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.
|
|
|
05-06-2005, 02:18 PM
|
#10
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
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.
|
|
|
05-06-2005, 02:41 PM
|
#11
|
LQ Newbie
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10
Rep:
|
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.
|
|
|
06-07-2005, 12:05 AM
|
#13
|
LQ Newbie
Registered: Mar 2005
Location: CA
Posts: 4
Rep:
|
@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
|
|
|
06-07-2005, 03:28 AM
|
#14
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
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
|
|
|
06-07-2005, 06:13 AM
|
#15
|
Member
Registered: Mar 2005
Distribution: Void Linux
Posts: 143
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|