PDA

View Full Version : Knoppix 3.9 / WPA-PSK / D-Link AirPlusXtremeG (DWL-G650)



stonee
09-06-2005, 12:16 AM
Hello,

Thanks for reading this post. I am _struggling_ to get wireless working on my laptop with Knoppix 3.9.

I have a wireless network with WPA-PSK enabled. I have already got a Windows notebook going on the
network, but I am having trouble getting a different notebook running Knoppix going. I have a
D-Link DWL-G650 PCMCIA card. The output of cardctl info is:

Does the wPRODID_1="Atheros Communications, Inc."
PRODID_2="AR5001-0000-0000"
PRODID_3="Wireless LAN Reference Card"
PRODID_4="00"
MANFID=0271,0012
FUNCID=6

Knoppix appears to detect the card and load the Atheros driver without a problem.

Does the wpa_supplicant software come with madwifi support? Here is my wpa_supplicant.conf file:

network={
ssid="qshot"
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=20d57f08127c079f599df23a13513c8708028b73d49860 c9b3b7d00b3a8c1a96
}

I then run the command:

wpa_supplicant -c/etc/wpa_supplicant.conf -iath0 ifup ath0

But I get the following error:

octl[SIOCSIWPMKSA]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Failed to enable WPA in the driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Failed to disable WPA in the driver.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported

According to this web site (http://madwifi.sourceforge.net/dokuwiki/doku.php?id=wpa_802.11i) I am doing the right thing, but it is not working. What am I doing wrong? It looks like the wpa_supplicant application is using
the wrong driver. What should I specify for the -d flag?

Is Knoppix even setup to have wpa_supplicant use madwifi drivers?

Thanks for any tips or suggestions!!

stonee
09-06-2005, 01:22 AM
OK: This is how you get it working.

Here is the proper invokcation of wpa_supplicant:

wpa_supplicant -D madwifi -c wpa_supplicant.conf -i ath0

After authentication with the network, then you need to grab an IP address using DHCP.
This is done by typing:

pump -i ath0

AND YOU ARE DONE! Finally after two weeks of strugglng, I have finally got it working.
Good luck to others who also have this problem.

Harry Kuhman
09-06-2005, 02:01 AM
OK: This is how you get it working..
Would you consider updating the new wiki section on wireless networking (http://www.knoppix.net/wiki/Wireless_Networking) with your experience on this card please? Thanks. I've created a stub entry to make it easy for you, you can just click on the [EDIT] link to the right of DWL-G650 to edit that section.