LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-08-2004, 01:04 AM   #1
asdfjkl
Member
 
Registered: Aug 2004
Distribution: Slack 10.0, have used Mandrake 10.0, Suse 9.1
Posts: 60

Rep: Reputation: 15
Ndiswrapper Help with D-link DWL-G510


Hi all,

I am new to linux (about a week) and am running Mandrake 10.0.

My problem is concerning ndiswrapper 0.8, and I'm using a D-Link DWL-G510.
I've tried several win32 drivers: the ones from the cdrom, the asus Marvel ones recommended by the Ndiswrapper homepage, and even some that show as present in ndiswrapper which i don't know where I got them.

Here's the problem: I have gotten the cdrom drivers to work; however, ndiswrapper registered the card as eth1, as opposed to wlan0, and mcc did not display driver name, module, etc. I could find my AP (im using a microsoft wireless router; anyone know if ms has a stupid filter for linux? I wouldn't put it past them...) using iwlist eth1 scan. I had both Linuxant driverloader and Ndiswrapper installed at the same time, but i was receiving error messages from driverloader about tainting the kernel, so i uninstalled it (it wouldn't install the drivers in its pretty GUI fake-website thing). Promptly, the card was lost in iwconfig. Reinstalled driverloader, did the whole thing again; still nothing.) So i reinstalled Mandrake, installed every package mentioned, issued every command mentioned in wikis, guide, anywhere...and still nothing.

(I remember issuing a command in the Konsole which was similar to, or was "CONFIG_NET_RADIO", which suddenly caused iwconfig to show wireless card. But, of course, that does nothing now.)

Help would be very much appreciated...I apologize for the length of this post, and I know there are many other posts regarding this card: none of them worked.


Thanks again.

EDIT: The drivers I thought were for DWL-g510 on the Ndiswrapper website (http://ndiswrapper.sourceforge.net) are for DWL-510, not g510. anyone know if they are the same card? i suspect not, because the chipset is different...

Last edited by asdfjkl; 08-08-2004 at 10:11 AM.
 
Old 08-08-2004, 12:29 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
A few things to think about:

Mandrake 10 has ndiswrapper 0.4 installed, and unless you remove it before installing a later version, it can cause trouble. Basically you just need to remove the kernel module from /lib/modules/kernelversion/misc.

Quote:
however, ndiswrapper registered the card as eth1, as opposed to wlan0
That's not a problem as long as eth1 is recognized as a wirless card. Check your /etc/modprobe.conf file and make sure that the line alias wlan0 ndiswrapper is there. That should make wlan0 work.

Quote:
I had both Linuxant driverloader and Ndiswrapper installed at the same time, but i was receiving error messages from driverloader about tainting the kernel,
OK, having both linuxant and ndiswrapper modules installed at the same time is almost certainly going to cause a problem. The tainting message is nothing to worry about . All that means is that a module was loaded that wasn't released under the GPL and therefore your kernel has been "tainted" by the presence of proprietary code. My opinion is that the tainting message is phenomenally stupid and needlessly scary.

Quote:
I remember issuing a command in the Konsole which was similar to, or was "CONFIG_NET_RADIO", which suddenly caused iwconfig to show wireless card
Um, CONFIG_NET_RADIO isn't a console command, but rather a configuration parameter for when you are compiling your own kernel. It does have to be set in order for wireless to work, but if you are using a stock Mandrake kernel, it almost certainly was.

So, if you are still stuck, run lspci to find out what chipset your card uses and get a driver for that chipset from the ndiswrapper site. Then go remove all ndiswrapper and linuxant kernel modules. Finally, pick either linuxant or ndiswrapper and re-install just that. From there you should be able to configure your card with iwconfig.
 
Old 08-08-2004, 02:07 PM   #3
asdfjkl
Member
 
Registered: Aug 2004
Distribution: Slack 10.0, have used Mandrake 10.0, Suse 9.1
Posts: 60

Original Poster
Rep: Reputation: 15
thank you for the help...when I installed linuxant and ndiswrapper at the same time I knew almost nothing about linux; I figured that was bad, and i reinstalled...Also, ndiswrapper 0.4 does come with linux in rpmdrake, but it isn't installed. I've heard there are problems with 0.8, so I'll try the earlier version. It says to enable CONFIG_NET_RADIO and CONFIG_NET_WIRELESS in the ndiswrapper wiki (i assume by using =on), but it was probably for a different distro.

I'll try your recommendations soon....thanks again.
 
Old 08-08-2004, 06:38 PM   #4
asdfjkl
Member
 
Registered: Aug 2004
Distribution: Slack 10.0, have used Mandrake 10.0, Suse 9.1
Posts: 60

Original Poster
Rep: Reputation: 15
Downloaded ndiswrapper0.9, showing wlan0 and iwconfig works! Thank you, turns out 0.8 wasn't writing the alias to modprobe.conf.
 
Old 08-08-2004, 08:09 PM   #5
asdfjkl
Member
 
Registered: Aug 2004
Distribution: Slack 10.0, have used Mandrake 10.0, Suse 9.1
Posts: 60

Original Poster
Rep: Reputation: 15
(sorry about three posts in a row)
The network is up and running. thanks!
 
Old 08-28-2004, 07:21 AM   #6
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
After scouting around, installing ndiswrapper, finding the DWL-510 driver and apparently etting that set up, I still can't make it work for my Wireless G card -- I'm assuming I'm messing up configuring the INF (such as the "Supported Cards" page suggests on the Ndis website suggests).

Any recommendations?
 
Old 08-28-2004, 09:16 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Could I ask what constitutes doesn't work? Also, are you sure that you have the Realtek chipset?
 
Old 08-28-2004, 03:25 PM   #8
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Going to the ndiswrapper site, as was suggested above, the chipset mentioned for the DWL-510 is the Realtek 8180. asdfjkl; got his DWL-G510 to work, so I figured that wouldn't be too big an issue. I edited the .inf file (admittedly clumsily; there weren't any straight "ec10:8180" references) and enabled them through ndiswrapper. Using "ndiswrapper -l" however, reports that the device is _not_ present.

Using lscpi I found that the pciid for my card was "11ab:1a6", which I tried changing all the references to. Still no avail.
 
Old 08-29-2004, 09:15 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Well, the device not present error usually suggests that the windows driver and ndiswrapper aren't connecting....Which brings me back to one of my orignial questions. The admittedly limited amount of googling I've done on this card suggests that there may be more than one chipset used in this card and they weren't all Realtek. Which is why I suggested taking a look at the output of lspci and verifying that your card does indeed have a Realtek chipset.

That said, if you have any CDs or older drivers that came with this card, it might be worth a shot trying those. Sometimes with ndiswrapper it is a case of finding the right combination of ndiswrapper and windows driver.
 
Old 08-29-2004, 02:24 PM   #10
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Thanks -- I figured I just needed to find a new inf driver, but confirmation is always nice Googling didn't reveal too much (aside from the two different types of chipsets you mentioned), but I'm sure if I keep poking around I'll find something.

Thanks for your input!
 
Old 09-02-2004, 04:53 AM   #11
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Update: I'm wondering, asdjkl; how you got the "g" card to work -- I can't find .inf drivers for it anywhere, and the D-Link website doesn't even list unofficial drivers for that model card (yet). Anyone else have success with ndiswrapper and the DWL-G510 card?
 
Old 09-03-2004, 11:52 PM   #12
hazelnusse
LQ Newbie
 
Registered: Sep 2004
Location: Santa Barbara
Posts: 2

Rep: Reputation: 0
DWL-G510 Drivers

A few things.

First, from what I have been able to find, D-Link has only released one version of Windows drivers for this card. That is version 1.00.
These drivers are available here:

http://www.dlink.com/products/suppor...id=308#drivers

Finally, from what I can tell, this card uses a Marvell chipset, not a Realtek. The drivers are written by Marvell, and ndiswrapper webpages says that this card has a Marvell chipset.


Good luck.

Luke
 
Old 09-17-2004, 10:46 PM   #13
asdfjkl
Member
 
Registered: Aug 2004
Distribution: Slack 10.0, have used Mandrake 10.0, Suse 9.1
Posts: 60

Original Poster
Rep: Reputation: 15
Yep, its a Marvell... hence the driver name: MRV8k51. Anyhoo, I used the driver from the cd...BUT...I didn't use the WinXP drivers. I had to use the Windows ME drivers, which actually worked. And, anything below ndiswrapper 0.9 didn't load the driver.

I think that, if you've lost your cd, you should use the ME drivers from D-Link.
 
Old 10-03-2004, 02:57 PM   #14
leftnutrzr
LQ Newbie
 
Registered: Oct 2004
Location: south jersey
Distribution: slackware 10
Posts: 9

Rep: Reputation: 0
Quote:
Originally posted by Poetics
Update: I'm wondering, asdjkl; how you got the "g" card to work -- I can't find .inf drivers for it anywhere, and the D-Link website doesn't even list unofficial drivers for that model card (yet). Anyone else have success with ndiswrapper and the DWL-G510 card?
the xp drivers do work but you have to set a static client in the router's ip table then set the card's ip to whatever was set in the static client table

then modprobe ndiswrapper
iwconfig (usuall options for your syste)
ifconfig wlan0 192.168.0.106 gateway 192.168.0.1
ifconfig wlan0 up
dhcpcd

should work but this was on slackware 10
this is assuming you have ndiswrapper installed and have used the d-link drivers
 
Old 11-11-2004, 05:21 AM   #15
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Not to beat a dead horse, but I've finally gotten ahold of my old CD (and the mrv8k51.inf driver), but ndiswrapper doesn't seem to like it.

Code:
# ndiswrapper -i /etc/ndiswrapper/mrv8k51.inf
Installing mrv8k51
Parse error in inf. Unable to find section W8100PCI.zerocfg
Parse error in inf. Unable to find section W8100PCI.zerocfg
Parse error in inf. Unable to find section W8100PCI.zerocfg
#
After poking around inside the inf file, I find that the W8100PCI is referenced inside the "Win XP DDInstall section" of the file, including AddReg and CopyFiles sections. After running ndiswrapper as above, the mrv8k51 directory is still created, within which are several .conf files and the executable mrv8k51.inf

Trying ndiswrapper -l gives me "Installed ndis drivers: mrv8k51 hardware present" and my ailiased (via ndiswrapper -m) wlan0 isn't recognized.

Thoughts?
 
  


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
D-Link DWL-G510 sephren Linux - Wireless Networking 4 10-23-2005 02:16 PM
NDISWrapper with D-Link DWL-G510 kebernet Linux - Wireless Networking 1 07-02-2005 04:45 PM
Ndiswrapper with DWL G510 it-s Linux - Wireless Networking 8 01-27-2005 11:51 PM
D-Link DWL-G510 driver mosherk Linux - Wireless Networking 8 11-30-2004 04:46 PM
D-Link DWL-G510 FIRS Linux - Hardware 0 08-13-2004 02:29 PM


All times are GMT -5. The time now is 07:22 AM.

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