<!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>
&nbsp;CLIENT:<BR>
&nbsp;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>
&nbsp;wpa_supplicant.conf (ver. 0.5.7):<BR>
<BR>
&nbsp;ctrl_interface=/var/run/wpa_supplicant<BR>
&nbsp;ctrl_interface_group=0<BR>
&nbsp;eapol_version=1<BR>
&nbsp;ap_scan=1<BR>
&nbsp;fast_reauth=1<BR>
<BR>
&nbsp;network={<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ssid=&quot;eap&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proto=RSN<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; key_mgmt=WPA-PSK<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pairwise=CCMP<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group=CCMP<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; psk=&quot;secretpass&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; priority=2<BR>
&nbsp;}<BR>
<BR>
&nbsp;AP:<BR>
&nbsp;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>
&nbsp;hostapd.conf:<BR>
<BR>
&nbsp;interface=ath0<BR>
&nbsp;bridge=br0<BR>
&nbsp;driver=madwifi<BR>
&nbsp;logger_syslog=-1<BR>
&nbsp;logger_syslog_level=2<BR>
&nbsp;logger_stdout=-1<BR>
&nbsp;logger_stdout_level=2<BR>
&nbsp;debug=0<BR>
&nbsp;dump_file=/tmp/hostapd.dump<BR>
&nbsp;ctrl_interface=/var/run/hostapd<BR>
&nbsp;ctrl_interface_group=0<BR>
&nbsp;ssid=My_Secure_WLAN<BR>
&nbsp;#macaddr_acl=1<BR>
&nbsp;#accept_mac_file=/etc/hostapd/accept<BR>
&nbsp;auth_algs=3<BR>
&nbsp;eapol_key_index_workaround=0<BR>
&nbsp;eap_server=0<BR>
&nbsp;wpa=1<BR>
&nbsp;wpa_passphrase=secretpass<BR>
&nbsp;wpa_key_mgmt=WPA-PSK<BR>
&nbsp;wpa_pairwise=CCMP<BR>
<BR>
&nbsp;I first setup my card in AP mode at host.<BR>
&nbsp;wlanconfig ath0 destroy<BR>
&nbsp;wlanconfig ath0 create wlandev wifi0 wlanmode ap<BR>
&nbsp;iwconfig ath0 mode Master<BR>
&nbsp;iwconfig ath0 essid eap<BR>
<BR>
&nbsp;Then, setup the bridge<BR>
&nbsp;ifconfig eth 0 0.0.0.0 up<BR>
&nbsp;ifconfig ath 0 0.0.0.0 up<BR>
&nbsp;brctl addbr br0<BR>
&nbsp;brctl addif br0 eth0<BR>
&nbsp;brctl addif br0 ath0<BR>
<BR>
&nbsp;The hostapd is then started at the AP, and then the wpa_supplicant is started.<BR>
<BR>
&nbsp;However, the wpa_supplicant doesnt detect any suitable AP. When it detects 'eap' it gives an error : &quot;skip RSN IE - parse failed&quot;<BR>
<BR>
&nbsp;Am I doing something wrong?<BR>
<BR>
&nbsp;Thanks in advance!</FONT>
</P>

</BODY>
</HTML>