LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Mandrake 10.0 and ndiswrapper (https://www.linuxquestions.org/questions/linux-wireless-networking-41/mandrake-10-0-and-ndiswrapper-284644/)

littlejimmy4x4 01-31-2005 06:06 PM

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

snecklifter 02-02-2005 01:34 AM

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

littlejimmy4x4 02-02-2005 06:17 PM

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

littlejimmy4x4 02-03-2005 01:44 PM

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

littlejimmy4x4 02-03-2005 03:36 PM

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

snecklifter 02-04-2005 12:28 AM

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

stevenyu 02-04-2005 12:48 AM

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?

snecklifter 02-04-2005 01:15 AM

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

giel 02-04-2005 01:32 AM

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.

littlejimmy4x4 02-04-2005 05:36 PM

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

littlejimmy4x4 02-08-2005 08:35 PM

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

stevenyu 02-08-2005 09:12 PM

i got my solved, i changed the WEP from restricted to open, and suddenly everything works

littlejimmy4x4 02-10-2005 05:55 PM

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

stevenyu 02-11-2005 04:52 PM

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?

littlejimmy4x4 02-13-2005 12:28 PM

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


All times are GMT -5. The time now is 05:49 PM.