LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 08-25-2005, 06:11 PM   #1
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Rep: Reputation: 30
Mandrake can't detect my wireless devices


I tried to install my Linksys USB wireless adapter; but according to the system log, not only did Ndiswrapper fail to load, but Mandrake didn't even detect it. It detected eth0, my Ethernet adapter, but there was no eth1 (should have been the wireless adapter). I also installed my other wireless device, a PCI card (I have it because I'm going to switch over), but it wasn't detected either. It has to be a problem with Mandrake and not the devices, because my other distributions (Xandros, Knoppix) found them.
 
Old 08-26-2005, 05:25 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Which version of mandrake have you got? 10.2 has better support.
 
Old 08-26-2005, 02:48 PM   #3
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
My version is 10.1. Really, is 10.2 that advanced over 10.1?

Last edited by joshknape; 08-27-2005 at 08:17 PM.
 
Old 08-30-2005, 10:12 PM   #4
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 570

Rep: Reputation: 30
Did you check out http://ndiswrapper.sourceforge.net/ for help on installing it.
I got mine to work on versions as early as 10.0 on my Dell laptop using that site.
 
Old 09-05-2005, 05:24 AM   #5
charlescpc
Member
 
Registered: Nov 2004
Location: knoxville tn
Distribution: Mandrake
Posts: 142

Rep: Reputation: 15
I think all the distros are finally getting better support for wireless. I belive some even come installed with ndiswrapper and a few nic drivers. I think 10.2 is very much improved over 10.1

I finally found an easy way to get my wireless working with Mandriva. I have had great success with both 10.1 and 10.2 official.

Check ndiswrapper lists to see if your nic is on their list of supported cards.

This is all I had to do to get my wireless going in mandriva. Mandriva comes with a ndiswrapper installed and is set for mandriva so I would strongly suggest using that version.

If you use the version that comes with Mandriva this is all I had to do to get my card working.

Install ndiswrapper from Mandrake Control Center.
Copy the window drivers to a directory in linux
do the ndiswrapper -i xxxxxx.inf to install drivers.
ndiswrapper -m to install the alias
modprobe ndiswrapper to install ndiswrapper as a module.
Setup my card in Mandrake Control center.
edit the /etc/modprobe.preload file and put the line "ndiswrapper" in it

that was it. I didn't have to load the kernel source. I didn't have to use the ifconfig commands. It's quite painless really, but if you dowload the ndiswrapper files then I think you have to edit a file to make sure your kernel - source is the same. It's a real pain installing the download version.
Trust me......
 
Old 09-05-2005, 10:11 AM   #6
thunderweasel
Member
 
Registered: Mar 2005
Distribution: Mandriva 2006 Free
Posts: 141

Rep: Reputation: 15
The .rpm for ndiswrapper that comes with Mandrake 10.1 is crap and doesn't work, install it from source, it's super easy, even for a beginner, just follow the installation wiki. The .rpm in 10.2 works fine, but the one for 10.1 loads the wrong version. It's supposed to be 0.9, but if you do a dmesg is comes back "ndiswrapper 0.8 loaded", so something's just screwed up with it. I spent a week wrangling with it when I first installed 10.1, installed it from source, bang, working wireless card. Mandrake won't recognize your wireless device until ndiswrapper is installed and configured and you load the module it creates. If you use ndiswrapper, your devices will likely come up wlanX by the way, not ethX.
 
Old 09-05-2005, 12:21 PM   #7
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
Thank you; that answers a lot, because I had noticed that Ndiswrapper 1.2 installed 0.8, and I had no idea why.

By installing from source, you mean patching the kernel, don't you? Just making sure.

While I am on this subject, I hope you can clear up something else for me. I noticed that two different RPM's of the latest Ndiswrapper were available: one had extension .i586.rpm, and the other, .src.rpm. What would be the difference?

Wlanx vs. Ethx? I see...I was looking for an eth1 because the only time I got my equipment working (in Xandros), the connection was called eth1 even though it was wireless.

Last edited by joshknape; 09-05-2005 at 12:28 PM.
 
Old 09-05-2005, 01:16 PM   #8
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
OK...I have uncompressed the Ndiswrapper tar.gz, but received these errors when I typed make:




make -C driver
make[1]: Entering directory `/home/josh/ndiswrapper-1.3rc1/driver'
Can't find kernel sources in /lib/modules/2.6.8.1-12mdk/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/josh/ndiswrapper-1.3rc1/driver'
make: *** [all] Error 2
 
Old 09-05-2005, 04:29 PM   #9
crAckZ
Member
 
Registered: Sep 2004
Location: LOUISVILLE KENTUCKY
Distribution: mandriva 2006
Posts: 155

Rep: Reputation: 30
hello my friend, linksys IMO is a pain. dont bother with tech support either. they dislike linux and then they had me try to run win commands for some reason. but it came in my notebook and it is working really well.
now to the problem at hand.
2005 has good wifi and 2006B3 was a breeze.
goto software installer and select kernel-source. that will load what you need. from there it will all be down hill.
 
Old 09-05-2005, 04:35 PM   #10
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
I would be willing to change, but it's my father who has the router that I have to connect with, and he chose Linksys (because it guarantees backwards compatibility). At that time, I hadn't yet decided to try Linux, so Linux compatibility was not an issue.
 
Old 09-05-2005, 05:30 PM   #11
crAckZ
Member
 
Registered: Sep 2004
Location: LOUISVILLE KENTUCKY
Distribution: mandriva 2006
Posts: 155

Rep: Reputation: 30
dont get me wrong linksys is good hardware. i just dont like their support. after you install the source and ndiswrapper you shouldnt have a problem.
be sure to post back and let us know how it goes
 
Old 09-05-2005, 06:55 PM   #12
thunderweasel
Member
 
Registered: Mar 2005
Distribution: Mandriva 2006 Free
Posts: 141

Rep: Reputation: 15
Quote:
Originally posted by joshknape

By installing from source, you mean patching the kernel, don't you? Just making sure.

While I am on this subject, I hope you can clear up something else for me. I noticed that two different RPM's of the latest Ndiswrapper were available: one had extension .i586.rpm, and the other, .src.rpm. What would be the difference?

Wlanx vs. Ethx? I see...I was looking for an eth1 because the only time I got my equipment working (in Xandros), the connection was called eth1 even though it was wireless.
Well I see you got installing from source all figured out. It's really just building and compiling the program from the source code. The error you're running into is that you don't have kernel sources installed. If you go to Mandrake Control Center>Software Management>Install Software there should be an .rpm package called kernel-sources2.6.8.11-mdk, or something similar. Install that, and you should be able to install no problem.

For the .rpms, the .i586 one's are the one's you want. src.rpm's are source code distributed in .rpm packages.

If your last distro automatically detected your hardware, that's probably why it labeled it ethX, but when you use ndiswrapper, it will probably create the alias wlanX (since you have two wireless devices, it should be wlan0 and wlan1). It's not a big deal, when you finish installing ndiswrapper, you just run the command iwconfig and see what connections you find (should show eth0, some other stuff, then all your wireless extensions).

If you get too frustrated with ndiswrapper, or can't get it working, there is also a program called linuxant driver loader, which is non-free software, that accomplishes the same thing, but is easier to install and run (all graphical). If you want to check it out it's $20 for a permanent license and the site is here: https://www.linuxant.com/driverloader/

I contemplated plunking down the money when I first installed ndiswrapper. At the time I was on my first intallation and had never used a linux command line before. But I stuck to my mission to try linux, and try it at no cost, and after a little learning, all went well. Not like I'm a seasoned pro or anything, that was only like 4 months ago
 
Old 09-05-2005, 08:58 PM   #13
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
That worked...I now have kernel sources installed. But my wireless equipment still doesn't work: lsmod indicates that the module was loaded, but dmesg still reports an error. The last line was this:

ndiswrapper (ndiswrapper_load_driver:93): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver' [The system log did not have any lines referring to "loadndisdriver" that I saw.]

It's clearly not the same error: the system log used to report error code 256, whatever that was.
 
Old 09-06-2005, 08:44 AM   #14
thunderweasel
Member
 
Registered: Mar 2005
Distribution: Mandriva 2006 Free
Posts: 141

Rep: Reputation: 15
Did you uninstall the old version first? You'll want to uninstall the .RPM version if you haven't already, and the one that you tried to compile the first time when you didn't have your sources installed.
 
Old 09-06-2005, 10:27 AM   #15
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
Yes, the system log is now referring to Ndiswrapper 1.3 instead of 0.8.
 
  


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
shell script to detect IDE devices kushalkoolwal Programming 8 09-28-2005 11:15 AM
Mandrake can't detect my wireless device joshknape Linux - Wireless Networking 9 09-07-2005 10:08 AM
Can't detect usb devices?? CM019 Debian 5 06-09-2005 01:43 PM
mandrake doesn't detect my netgear MA111 Wireless USB Adapter timalan Mandriva 24 02-16-2005 06:07 PM
Problem with RH 7.1 (doesn't detect IDE devices) jcontess Linux - Software 3 06-14-2001 12:43 PM


All times are GMT -5. The time now is 01:04 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