LinuxQuestions.org
Review your favorite Linux distribution.
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 01-31-2005, 07:06 PM   #1
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Rep: Reputation: 15
Unhappy 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

[root@localhost nic]# ndiswrapper -i net5211.inf
Installing net5211
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
Warning: Cannot locate
[root@localhost nic]# ndiswrapper -l
Installed ndis drivers:
net5211 driver present, hardware present
[root@localhost nic]#

modprobe entry in: "messages" log file

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 -l
Installed ndis drivers:
net5211 hardware present

[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.

Thanks in advance!

littlejimmy4x4
 
Old 02-02-2005, 02:34 AM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hello there,

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
 
Old 02-02-2005, 07:17 PM   #3
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Original Poster
Rep: Reputation: 15
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.

Regards,

Tony
 
Old 02-03-2005, 02:44 PM   #4
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Original Poster
Rep: Reputation: 15
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.

Regards
Tony
 
Old 02-03-2005, 04:36 PM   #5
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Original Poster
Rep: Reputation: 15
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.

Thanks for your help snecklifter.

cheers,

Tony
 
Old 02-04-2005, 01:28 AM   #6
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hi Tony,

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
 
Old 02-04-2005, 01:48 AM   #7
stevenyu
LQ Newbie
 
Registered: Sep 2004
Location: Sydney, Australia
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
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?
 
Old 02-04-2005, 02:15 AM   #8
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
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
 
Old 02-04-2005, 02:32 AM   #9
giel
LQ Newbie
 
Registered: Nov 2004
Distribution: SuSE Linux 9.2
Posts: 10

Rep: Reputation: 0
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.
 
Old 02-04-2005, 06:36 PM   #10
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Original Poster
Rep: Reputation: 15
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?

Tony
 
Old 02-08-2005, 09:35 PM   #11
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Just an update:

I've uninstalled ndiswrapper and reinstalled using the following operations:

[root@localhost ndiswrapper-0.11]# ln -s /usr/src/linux-2.6.3-7mdk /lib/modules/2.6.3-7mdk/build
[root@localhost ndiswrapper-0.11]# make clean
[root@localhost ndiswrapper-0.11]# make
[root@localhost ndiswrapper-0.11]# make install

So far so good... no errors during the installation of ndiswrapper this time.

lspci lists my eithernet card as 168c:0013

Tomorrow I hope to have the time to install the WinXP drivers you directed me to snecklifter

littlejimmy4x4
 
Old 02-08-2005, 10:12 PM   #12
stevenyu
LQ Newbie
 
Registered: Sep 2004
Location: Sydney, Australia
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
i got my solved, i changed the WEP from restricted to open, and suddenly everything works
 
Old 02-10-2005, 06:55 PM   #13
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Original Poster
Rep: Reputation: 15
stevenyu,

were you having problems initilizing the card?

the problem I'm having at the moment is that the gplus driver can't get the card to initialize for some reason.

Are you running the same card and distro as I am?

D-Link DWL-G520 Extreme G on Mandrake 10.0 w/ ndiswrapper -.11

cheers,

Tony
 
Old 02-11-2005, 05:52 PM   #14
stevenyu
LQ Newbie
 
Registered: Sep 2004
Location: Sydney, Australia
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
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?
 
Old 02-13-2005, 01:28 PM   #15
littlejimmy4x4
LQ Newbie
 
Registered: Jan 2005
Location: Ottawa, Ontario, Canada
Distribution: SuSE 9.2/ Mandrake 10.0/ Mandrake LE 2005
Posts: 21

Original Poster
Rep: Reputation: 15
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.

cheers,

Tony
 
  


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 on mandrake 10.1 suckerr70 Linux - Wireless Networking 13 12-02-2005 03:19 PM
ndiswrapper in mandrake ChiefAutoParts Linux - Software 1 05-07-2005 03:16 PM
ndiswrapper and Mandrake? andy7t Linux - Wireless Networking 47 03-21-2005 06:37 PM
ndiswrapper in Mandrake 10 Crashputer Linux - Wireless Networking 4 11-28-2004 11:01 AM
NDISwrapper and mandrake 10 chalewa4bambu Linux - Laptop and Netbook 1 11-24-2004 07:09 PM


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

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