LinHES Forums
http://forums.linhes.org/

D-Link DWL-520 (Wireless PCI Card)
http://forums.linhes.org/viewtopic.php?f=2&t=17092
Page 1 of 1

Author:  Girkers [ Wed Oct 24, 2007 9:20 pm ]
Post subject:  D-Link DWL-520 (Wireless PCI Card)

Folks,

I have one of these cards in the Father-in-Law's KnoppMyth box R5F27 and using iwconfig and ifconfig the card is seen and appears to be working fine. I now need to get it to authentic using WPA.

I found this code as it relates to a DWL-G520 (in the file /etc/network/interfaces) :
Code:
auto lo ath0

iface lo inet loopback

iface ath0 inet dhcp
wpa-driver madwifi
wpa-ssid myssid
# plaintext passphrase
wpa-psk mypassphrase


But the card I have is not supported by the madwifi driver. Could someone help me set this up for WPA.

(I know this is a B only card, it is simply for internet access and copying stuff to the box)

Author:  techman83 [ Wed Oct 24, 2007 9:45 pm ]
Post subject: 

You need to learn how to use the wpa_supplicant.

This is how I've set up my wpa_supplicant.conf with the names changed accordingly.

Code:
ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="WirelessAP"
        proto=WPA2
        key_mgmt=WPA-PSK
        psk="Auth-Key-Goes-Here"
        }


and interfaces config

Code:
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf


This link has info about the card:
http://paul555.wordpress.com/2007/05/26 ... -dwl-g520/

if you get a return from

Code:
iwlist scanning eth1


The card is working. (Remembering eth1 could be wlan0, depending on what your system allocated as the name)

Hope that helps!

Author:  Girkers [ Thu Oct 25, 2007 7:09 am ]
Post subject: 

I had looked at trying to use wpa_supplicant, I had already created a config.

But after trying and doing a little bit more research I found that it would appear the card does not support WPA. Later revisions apparently do but the one I have unfortunately does not. I will have to source another card or see if we can go via cable.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/