<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Can't connect to AP</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>I've been trying to connect to an AP running hostapd through a wpa_supplicant by using WPA-PSK. My hardware setup includes:<BR>
CLIENT:<BR>
Linux Suse 9.3 box, with DLink DWL-G650 Card (Atheros chipset) with Madwifi driver ver. 0.9.3. Its given a static IP of 10.0.0.55 with subnet mask 255.255.255.0<BR>
wpa_supplicant.conf (ver. 0.5.7):<BR>
<BR>
ctrl_interface=/var/run/wpa_supplicant<BR>
ctrl_interface_group=0<BR>
eapol_version=1<BR>
ap_scan=1<BR>
fast_reauth=1<BR>
<BR>
network={<BR>
ssid="eap"<BR>
proto=RSN<BR>
key_mgmt=WPA-PSK<BR>
pairwise=CCMP<BR>
group=CCMP<BR>
psk="secretpass"<BR>
priority=2<BR>
}<BR>
<BR>
AP:<BR>
Linux Suse 10.2 box, with DLink DWL-G650 Card (Atheros chipset) with Madwifi driver ver. 0.9.3. Its given a static IP of 10.0.0.1 with subnet mask 255.255.255.0<BR>
<BR>
hostapd.conf:<BR>
<BR>
interface=ath0<BR>
bridge=br0<BR>
driver=madwifi<BR>
logger_syslog=-1<BR>
logger_syslog_level=2<BR>
logger_stdout=-1<BR>
logger_stdout_level=2<BR>
debug=0<BR>
dump_file=/tmp/hostapd.dump<BR>
ctrl_interface=/var/run/hostapd<BR>
ctrl_interface_group=0<BR>
ssid=My_Secure_WLAN<BR>
#macaddr_acl=1<BR>
#accept_mac_file=/etc/hostapd/accept<BR>
auth_algs=3<BR>
eapol_key_index_workaround=0<BR>
eap_server=0<BR>
wpa=1<BR>
wpa_passphrase=secretpass<BR>
wpa_key_mgmt=WPA-PSK<BR>
wpa_pairwise=CCMP<BR>
<BR>
I first setup my card in AP mode at host.<BR>
wlanconfig ath0 destroy<BR>
wlanconfig ath0 create wlandev wifi0 wlanmode ap<BR>
iwconfig ath0 mode Master<BR>
iwconfig ath0 essid eap<BR>
<BR>
Then, setup the bridge<BR>
ifconfig eth 0 0.0.0.0 up<BR>
ifconfig ath 0 0.0.0.0 up<BR>
brctl addbr br0<BR>
brctl addif br0 eth0<BR>
brctl addif br0 ath0<BR>
<BR>
The hostapd is then started at the AP, and then the wpa_supplicant is started.<BR>
<BR>
However, the wpa_supplicant doesnt detect any suitable AP. When it detects 'eap' it gives an error : "skip RSN IE - parse failed"<BR>
<BR>
Am I doing something wrong?<BR>
<BR>
Thanks in advance!</FONT>
</P>
</BODY>
</HTML>