PDA

View Full Version : madwifi and DWL-G630


frobozz
2007-03-13, 04:36 PM CDT
Hi,

I have a Dell Latitude notebook (fairly old) and recently bought a D-Link DWL-G630 WLan pcmcia card. I noticed that it did not work out of the box so I downloaded and installed following packages:

madwifi-0.9.3-33_r2088.fc6.at.i386.rpm
madwifi-devel-0.9.3-33_r2088.fc6.at.i386.rpm
madwifi-hal-kmdl-2.6.19-1.2911.6.4.fc6-0.9.3-33_r2088.fc6.at.i686.rpm
madwifi-kmdl-2.6.19-1.2911.6.4.fc6-0.9.3-33_r2088.fc6.at.i686.rpm


installation with "rpm -Uvh" seemed to work fine. I then added this in my /etc/modprobe.conf:

alias wifi0 ath_pci
alias ath0 ath_pci
options ath_pci autocreate=sta


I rebooted. Card did not work. Started system-config-network. No card there either. Tested:

# modprobe ath0
# lsmod
Module Size Used by
ath_pci 92580 0
wlan 194404 1 ath_pci
ath_hal 194896 1 ath_pci


so the driver seemed to load alright. Checked

#lspci
02:00.0 Network controller: Ralink RT2561/RT61 rev B 802.11g

so the card seems to be recognized by the system.

If I do an
# tail -f /var/log/messages
and then remove and insert the card I see
localhost kernel: pccard: card ejected from slot 0
localhost kernel: pccard; CardBus card inserted into slot 0

#uname -a
Linux localhost.localdomain 2.6.19-1.2911.6.4.fc6 #1 SMP Sat Feb 24 14:39:04 EST 2007 i686 i686 i386 GNU/Linux

Still no card if I do system-config-network, even after reboot.

Anyone knows what might be wrong?

BR
Frobozz

r1348
2007-03-13, 04:50 PM CDT
Madwifi supports only rev. C (http://madwifi.org/wiki/Compatibility#DWLG630) of your card, while you've rev. B.
Since it's based on a Ralink chipset, it should work with the rt2x00 (http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page) driver. Ralink directly provides (http://web.ralinktech.com/ralink/Home/Support/Linux.html) it, maybe it's even included in the kernel, you should check it. In this case you'd just need to install the firmware (usually in /lib/firmware).

frobozz
2007-03-14, 03:25 PM CDT
Thanks for the great help!

First I downloaded the Latest BETA rt61 driver: v1.1.0-b1, but it did not compile. I found a reference that this would not compile for linux-2.6.19 and linux-2.6.20.

Then I downloaded the nightly CVS tarball instead, followed the instruction with make, make install and some copies. Configured the network with system-config-network and it worked with no problems!

Thanks again for solving my problem!

//Frobozz