Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
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.
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21
Rep:
Mandrake 10.0 and ndiswrapper
Greetings all. A bit of background....
I've installed Mandrake 10.1 several times and have installed 10.0 several times as well, trying to get my D-Link DWL-G520 card to work.
Having used SUSE 9.1 on my machine with success at installing ndiswrapper and using the supplied drivers I figured it shouldn't be much of a problem in Mandrake....... (SuSE was blown away during a power failure and since my nic is now a wireless I had to switch to a CD based install)
Currently I've read a couple of web sites worth of posts on the matter and tried both ndiswrapper .9, .11 and .12 with no success. I have also tried the madwifi driver as well. Verson .9 was a RPM while the other 2 were from Tarballs. I'm using the supplied drivers but have also tried the Artheros drivers from HP as well to no avail.
Here is a list of the driver files supplied:
[root@localhost nic]# dir
ar52119x.sys ar5211.sys net5211.inf Setup.exe
The following is the lates messages taken from various sources:
Errors installing driver using ndiswrapper v11 and the same errors using v12
Jan 11 16:55:52 localhost kernel: ndiswrapper version 0.8 loaded
Jan 11 16:55:52 localhost loadndisdriver: loadndisdriver: main(483): Usage: loadndisdriver <debug> <version> [-a] [driver]
Jan 11 16:55:52 localhost kernel: ndiswrapper: loadndiswrapper failed (256)
modeprobe entry in: "syslog" log file
Jan 11 16:55:52 localhost kernel: ndiswrapper version 0.8 loaded
Jan 11 16:55:52 localhost loadndisdriver: loadndisdriver: main(479): version 0.11 started
Jan 11 16:55:52 localhost loadndisdriver: loadndisdriver: main(483): Usage: loadndisdriver <debug> <version> [-a] [driver]
Jan 11 16:55:52 localhost kernel: ndiswrapper: loadndiswrapper failed (256)
entry in user.log
Jan 11 16:55:52 localhost loadndisdriver: loadndisdriver: main(479): version 0.11 started
Jan 11 16:55:52 localhost loadndisdriver: loadndisdriver: main(483): Usage: loadndisdriver <debug> <version> [-a] [driver]
- In terminal as root the modprobe command dosen't issue any errors.
- Under the ndiswrapper directory there is a sub directory for net5211 including all files.
- In the Modprobe.conf file an alias for wlan0 is included.
[root@localhost nic]# ndiswrapper -m
modprobe config already contains alias directive
As shown, the driver is installed and the hardware is detected.
According to Linux I have a device id of 168c:0013 R01. From research it is using the Atheros AR5002G chipset. Mandrake lists the adapter as a 5213 model for some reason.
Needless to say after trying to work this out for over a month or more I'm no farther ahead...
Any help would be greatly appreciated and I'll try to provide as many answers as possible if more details are required.
Sorry to learn of your troubles. Your main problem here is that although ndiswrapper reports the driver being installed, it actually isnt. The four files you have in your nic directory are not compatible. Setup.exe is not necessary as exe files are windows only. Go here and download the zip file listed for your card. Copy the four files in the WinXP directory to your nic directory (make sure you have removed the old ones first) and the install the new driver with
ndiswrapper -i GPLUS.inf
You will need to remove the old entry first with
ndiswrapper -e net5211
Then
modprobe ndiswrapper
and you should be good to go.
Cheers
Chris
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21
Original Poster
Rep:
Thanks Chris,
That just might be the ticket there!
I'd been on that site before looking at the list but went after a different driver though...
One thing that is confusing is that the same pciid 168c:0013 is listed as the DWL-G520 and also as a DWL-G650... interestingly enough D-link also has an upgraded driver for the G520 that boosts it to 108Mbps the same as a G650... when I tried it the link quality and strength suffered for some reason (in Win98 that is).
At any rate, I've done a fresh install of 10.0, moved the ACX100 and ndiswrapper directories after checking if they're loaded with lsmod, installed the wireless tools rpm and ran depmod -a ---- once more from the top they say.
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21
Original Poster
Rep:
hmmmm.. still a no-go.....
I used the GPLUS.inf file as you said but it doesn't work with my card. When I installed the driver, ndiswrapper states no such file or directory for some reason... also the driver config files are named 104C:9066.conf. If my hunch is right they should be 168c:0013 the same as my card's pciid number.
I'll uninstall this driver and try the next one on the list for the 168c:0013 card.
Any other ideas you might have would be appreciated.
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21
Original Poster
Rep:
still no luck....
I've tried 4 different drivers (based on the pciid#) from the listing you sent but the only one that seemed to have any luck was the first one I tried with the gplus.inf. At least the modual loaded according to the log files....
any other sugestions?
oh, does it matter weather I'm loged in as root or if I need to log in as a user then switch to root?
iwconfig reports no wireless extensions in all cases.
The only driver you need to concern yourself with and has been tested successfully by others is the one in the WinXP folder in the zip file I linked to earlier. I'm not sure what that folder contains but only .bin, .sys and .inf files need to be copied across. My advice now is to go through a complete uninstall - see the ndiswrapper wiki for this - and then reinstall ndiswrapper with the correct driver. Not sure about these pcid numbers you are quoting - you may be over-complicationg the matter as I have never needed to pay attention to them. All you should need to do is make install, then install the driver, then modprobe ndiswrapper, after which the interface should be recognised and you can go ahead and configure it as normal through control center or using iwconfig commands.
Regards
Chris
I got my ndiswrapper install in mdk 10.1, however i still can't get the iwconfig to take any parameters like my essid, anyone know how to get it going?
Hi there,
I'd start a new post with a little bit more information so people here can help you a little bit more. If you post back the outputs from ifconfig, iwconfig and lspci its a good start, as well as what errors come back when you try and set the parameters.
Cheers
Chris
the D-link dwl-g520 works with native linux drivers. You need to install the madwifi drivers. Your card uses the atheros chipset which works perfectly under linux.
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21
Original Poster
Rep:
Quote:
Originally posted by giel the D-link dwl-g520 works with native linux drivers. You need to install the madwifi drivers. Your card uses the atheros chipset which works perfectly under linux.
hmm... I tried the madwifi drivers a week ago but didn't get it working... although I did use the driver disk supplied with the card. As mentioned in my first post I was successful getting it to work in SUSE which is why I'm at a bit of a loss when it comes to Mandrake...
Might be worth the money to buy a set of SUSE disks in the long run
Out of interest sake, which network drivers in Linux did you use along with the madwifi modules? ath_pci?
My NIC is netgear wg311v2, and I use the ndiswrapper
my original problem is i can't get the iwconfig to accept my essid for my wifi network, but it was solved when I have the WEP mode from restricted to open.
Can you modprobe your ndiswrapper? do you have a wlan0 in your iwconfig?
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21
Original Poster
Rep:
Thanks for the reply Stevenyu,
That's what's really getting frustrating for me in regards to this card....
modprobing ndiswrapper returns 0 errors, lsmod lists ndiswrapper as active (strangely it's listed in a string after usbcore as well --- possible clue?)
The wireless tools ifconfig and iwconfig don't list the card as being there, only "lo".
ndiswrapper -l reports the driver as loaded and the hardware as present.
lspci lists the card as present
and finally syslog states that ndiswrapper is started but failing to initialize the card for some reason
I've gone as far as trying 3 versions of ndiswrapper and one version of madwifi (which I've been told should work) with 2 sets of drivers for WinXP as well as 2 sets of drivers from Atheros for the 168c:0013 chipset.
Interestingly enough harddrake doesn't list ath_pci as a nic in Mandrake 10.0 but if memory serves me it was there in 10.1.
I'm begining to think that this card being an DWL-G520 "Extreme G" model isn't supported yet. And yet it worked in SUSE 9.1 with my drivers and ndiswrapper .9
Do you think it might be an idea to pull the nic, reinstall Mandrake from scratch, install ndiswrapper and then put the card in?
Oh, snecklifter and giel, I tried both your advice on the matter but haven't succeed yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.