Hi Sebastian,<br><br>I've had issues with associating an Airport Extreme client using 10.3 and 10.4 to an AP advertising both WPA 1 / TKIP and WPA 2 / CCMP capabilities.&nbsp; This issue doesn't seem to be limited to hostap-based access points but rather a problem with the STA in question.&nbsp; Have you seen it successfully associate to any AP using both TKIP and CCMP?
<br><br>Cheers,<br>Jonathan<br><br><div><span class="gmail_quote">On 5/8/06, <b class="gmail_sendername">Sebastián González</b> &lt;<a href="mailto:s.gonzalez@uclouvain.be">s.gonzalez@uclouvain.be</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I can't get my hostapd + madwifi-ng + bridge configuration to work.<br><br>When I attempt to connect wirelessly to my Gentoo PC using a Mac OS X<br>10.4 machine, I get the following in the logs:<br><br>May&nbsp;&nbsp;5 02:38:53 [hostapd] ath0: STA 00:30:65:1c:4a:c2 IEEE 
802.11:<br>associated<br>May&nbsp;&nbsp;5 02:38:56 [hostapd] ath0: STA 00:30:65:1c:4a:c2 IEEE 802.11:<br>deauthenticated due to local deauth request<br>May&nbsp;&nbsp;5 02:38:56 [hostapd] ath0: STA 00:30:65:1c:4a:c2 IEEE 802.11:<br>disassociated
<br><br>Even if hostapd.conf contains the line &quot;bridge=br0&quot;, the WPA key<br>exchange packets seem to be eaten by the bridge. (There is a delay<br>between the time the first line is logged and the time the other two
<br>lines appear in the log. This symptom seems to be exactly what the<br>following document describes:<br><br><a href="http://madwifi.org/wiki/UserDocs/HostAP">http://madwifi.org/wiki/UserDocs/HostAP</a><br><br>But again, &quot;bridge=br0&quot; in 
hostapd.conf is not fixing the issue.<br><br>Is the combination hostapd + madwifi-ng + bridge supposed to work?<br>If I don't use hostapd (i.e. an open, unencrypted network) everything<br>works fine (bridge, DNAT &amp; Firewall (shorewall), DHCP, etc.).
<br><br>I use gentoo. Package versions are:<br><br>hostapd-0.5.3<br>madwifi-ng-0.1531.20060427<br>kernel 2.6.16-gentoo-r4<br><br>My hostapd.conf is:<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=3<br>dump_file=/tmp/hostapd.dump<br>ctrl_interface=/var/run/hostapd<br>ctrl_interface_group=0<br>ssid=guajira<br>macaddr_acl=1<br>accept_mac_file=/etc/hostapd/hostapd.accept
<br>deny_mac_file=/etc/hostapd/hostapd.deny<br>auth_algs=1<br>wpa=1<br>wpa_psk_file=/etc/hostapd/hostapd.wpa_psk<br>wpa_key_mgmt=WPA-PSK<br>wpa_pairwise=TKIP CCMP<br><br>The ath0 interface is created this way:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /sbin/wlanconfig ath0 destroy 2&gt;/dev/null
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode ap &gt; /dev/<br>null<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iwconfig ath0 rate 54M auto<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iwpriv ath0 mode 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# 0=auto, 1=11a, 2=11b, 3=11g<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iwpriv ath0 bgscan 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# disable client background scanning
<br><br>The bridge is configured in /etc/conf.d/net this way:<br><br>config_eth0=( &quot;null&quot; )<br>config_eth1=( &quot;null&quot; )<br>config_ath0=( &quot;null&quot; )<br>config_br0=( &quot;<a href="http://192.168.0.1/24">
192.168.0.1/24</a>&quot; )<br><br>bridge_br0=( &quot;eth0&quot; &quot;eth1&quot; &quot;ath0&quot; )<br><br>hostapd produces this output when started:<br><br>Configuration file: /etc/hostapd/hostapd.conf<br>Configure bridge br0 for EAPOL traffic.
<br>madwifi_set_iface_flags: dev_up=0<br>Using interface ath0 with hwaddr 00:15:e9:83:47:bb and ssid 'guajira'<br>madwifi_set_ieee8021x: enabled=1<br>madwifi_configure_wpa: group key cipher=1<br>madwifi_configure_wpa: pairwise key ciphers=0xa
<br>madwifi_configure_wpa: key management algorithms=0x2<br>madwifi_configure_wpa: rsn capabilities=0x0<br>madwifi_configure_wpa: enable WPA= 0x1<br>madwifi_set_iface_flags: dev_up=1<br>madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
<br>madwifi_set_privacy: enabled=1<br>madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3<br><br>I (unsuccessfully) tried changing a few parameters with iwpriv and in<br>hostapd.conf.<br>Any help will be greatly appreciated!
<br><br><br>_______________________________________________<br>HostAP mailing list<br><a href="mailto:HostAP@shmoo.com">HostAP@shmoo.com</a><br><a href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap
</a><br></blockquote></div><br>