LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-17-2006, 11:25 PM   #1
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Rep: Reputation: 30
Unhappy Ndiswrapper "Invalid driver" error - but it worked before i switched distros!


Ok...
I recently switched from kubuntu dapper to elive (which i believe is based on debian unstable). I have a Broadcom 4318 wireless card, and under kubuntu i was able to get it to work using the bcmwl5.inf windows driver. When I switched to elive, initially the network settings tool recognized my card, but could never activate it. After playing around with ndiswrapper, it stopped recognizing it there. However, lspci still reports that it is there. When I attempt to install the driver, it returns an error something along the lines of "couldn't copy to line XXX", and when i do ndiswrapper -l it returns "bcmwl5 - Invalid driver!"
I am running on an AMD Turion 64, and I am not sure why this driver no longer works.
Sorry about the vague error messages, I am not posting from the linux box. I can get more exact error messages as required.

YES i..
ran the command as su
ran the command from the directory where the files are located
put the inf and sys files in the same directory
paid close attention to upper and lowercase letters (eg Bcmwl5 vx bcmwl5)

Also, dmesg | grep ndiswrapper returns some error that tells me to reference the sys logs and look for loadndiswrapper....i will post that message asap

Thanks,
Drew
 
Old 10-18-2006, 12:31 AM   #2
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
1st off, are you using the 64-bit version of the driver ? i had a similiar problem with my broadcom chip where i was trying to install the inf files from my indowspartition little knowing they were 32 bit. if it helps i have posted my proceedure here on how i got it working.
 
Old 10-18-2006, 01:58 AM   #3
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Original Poster
Rep: Reputation: 30
I dont really know if i was before or not, but I got them and then ran ndiswrapper with them. It gave me the happy Driver present, hardware present message, but then I ran into some other difficulties...

I noticed that neither ifconfig nor iwconfig could find anything remotely close to wireless (like wlan0, or eth1 etc). I did "ndiswrapper -da; ndiswrapper -m; modprobe ndiswrapper; lsmod | grep ndiswrapper" and everything appeared fine. Still nothing, so I rebooted. Still nothing. On a hunch, i did "dmesg | grep ndiswrapper" and i got some errors. I dont have the full text right here (I tried, but I accidentally saved the file to a reiserfs partition, and I cant view those... oops) but the message said something about the kernel being 32 bit and the driver being 64 bit. Well this should be the case, because now that I think about it, elive doesnt have 64 bit support yet....

Any ideas? It seemed like it wouldn't accept the 32 bit driver, but the 64 bit driver caused errors upon startup.
 
Old 10-18-2006, 05:13 PM   #4
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by drewbug01
but the message said something about the kernel being 32 bit and the driver being 64 bit.

what kernal do you have ? is it amd64 or a 32 bit one ? just print the output of "uname -r" here please.

if ur kernal is 32 bit, then by all means use the 32 bit drivers only. i does not matter if it says driver present hardware present, i used to get the same msg when i was making the same screwups initially. just install the 32 bit ones.
 
Old 10-19-2006, 01:48 AM   #5
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Original Poster
Rep: Reputation: 30
Ok once again sorry for the vague error messages, I can't post from the linux box until this works!
When I did "uname -a", it returned I believe a 2.6.13 kernel, 686 architecture. Forgive me for being such a noob, but shouldn't that be saying "X86-64", if I'm running a Turion 64? And, if I can install the 32 bit drivers, how can I set up my card? ifconfig and iwconfig are not recognizing it.
 
Old 11-01-2006, 01:36 PM   #6
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
ok i have nbo clue firstly why its saying you have a 686 and not amd64. secondly yes you can install 32 bit drivers but they simply wont run. i wish there was something in ndiswrapper that warned a person that they cant install 32 bit ones on a 64 bit kernal but anyways find the 64 bit drivers and reinstall them. then everything should work.
 
  


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
ndiswrapper worked fine "ESSID:off/any" ??? cant put in an ssid?? fatrandy13 Linux - Wireless Networking 12 08-22-2011 12:32 AM
"Invalid File Handle" error on Fat32 Samba deiphage Linux - Networking 1 02-05-2006 02:15 PM
k3b: "error decoding audio tracks" and "could not unlock cd driver" lefty.crupps Linux - Software 7 10-13-2005 12:29 PM
Step three on ndiswrapper froze"invalid driver" bigrig2004 Linux - Wireless Networking 13 12-21-2004 08:28 AM
Partition problem windows not booting "Invalid disk error" julian_s Linux - Newbie 1 04-02-2004 10:26 PM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration