<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jouni Malinen wrote:
<blockquote cite="mid20050831045843.GD7781@jm.kir.nu" type="cite">
  <pre wrap="">On Wed, Aug 31, 2005 at 01:09:23AM -0300, Beat Meier wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">In hostapd/wpa_supplicant 0.4.3 it worked to use wpa-psk and eap-tls 
"parallel" in the same config file
i.e. one client could connect with eap-tls other with wpa-psk.
This does not anymore work with version 0.4.4. it seems that hostapd 
does not anymore "announce"
wpa-psk ...
Was this a bug in 0.4.3 to use together or a bug in 0.4.4
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This worked in my tests..

  </pre>
  <blockquote type="cite">
    <pre wrap="">Aug 31 01:04:12.827357: Scan results: 1
Aug 31 01:04:12.827591: Selecting BSS from priority group 0
Aug 31 01:04:12.827825: 0: 00:01:b4:02:0d:90 ssid='wireless-obera-o1' 
wpa_ie_len=0 rsn_ie_len=30 caps=0x11
Aug 31 01:04:12.828116:    skip - could not parse WPA/RSN IE
Aug 31 01:04:12.828397: No suitable AP found.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Which driver are you using?

  </pre>
</blockquote>
<br>
Yes you're right ...<br>
I've used the head of madwifi-20050830<br>
because I have read that bsd branch was merged to head and bsd branch
is now obsolete i.e.<br>
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)<br>
wlan: 0.8.6.0 (EXPERIMENTAL)<br>
ath_rate_sample: 1.2<br>
ath_pci: 0.9.6.0 (EXPERIMENTAL)<br>
<br>
<br>
With madwifi-bsd-20050702and hostapd-0.4.4 it works right i.e.<br>
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)<br>
wlan: 0.8.5.0-BSD (EXPERIMENTAL)<br>
ath_rate_sample: 1.2<br>
ath_pci: 0.9.5.0-BSD<br>
<br>
Which driver version do you use?<br>
<br>
BTW: What is the meaning of message "MLME-REPLAYFAILURE.indication"
below?<br>
<br>
Aug 31 13:14:36.097774: CTRL-EVENT-CONNECTED - Connection to
00:01:b4:02:0d:90 completed (auth)<br>
Aug 31 13:14:36.098058: EAPOL: External notification - portValid=1<br>
Aug 31 13:14:36.098602: EAPOL: External notification - EAP success=1<br>
Aug 31 13:14:36.098838: EAPOL: SUPP_PAE entering state AUTHENTICATING<br>
Aug 31 13:14:36.099117: EAPOL: SUPP_BE entering state SUCCESS<br>
Aug 31 13:14:36.099354: EAPOL: SUPP_PAE entering state AUTHENTICATED<br>
Aug 31 13:14:36.099582: EAPOL: SUPP_BE entering state IDLE<br>
Aug 31 13:14:36.961123: Wireless event: cmd=0x8c02 len=83<br>
Aug 31 13:14:36.962073: Custom wireless event:
'MLME-REPLAYFAILURE.indication(keyid=1 broadcast
addr=ff:ff:ff:ff:ff:ff)'<br>
<br>
<br>
<blockquote cite="mid20050831045843.GD7781@jm.kir.nu" type="cite">
  <blockquote type="cite">
    <pre wrap="">Here diffs of config file share and wpa-psk only of hostapd
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It is a bit difficult to understand what the configuration was based on
a diff. Could you please send a full example configuration that is
showing the issue?

  </pre>
</blockquote>
---------- config file start<br>
interface=ath0<br>
driver=madwifi<br>
<br>
logger_syslog=-1<br>
logger_syslog_level=0<br>
logger_stdout=-1<br>
logger_stdout_level=0<br>
debug=4<br>
dump_file=/tmp/hostapd.dump<br>
ctrl_interface=/var/run/hostapd<br>
ctrl_interface_group=0<br>
<br>
ssid=wireless-obera-o1<br>
macaddr_acl=0<br>
auth_algs=3<br>
ieee8021x=1<br>
eap_server=0<br>
eap_message=hello<br>
eapol_key_index_workaround=0<br>
own_ip_addr=127.0.0.1<br>
<br>
auth_server_addr=192.168.188.1<br>
auth_server_port=1812<br>
auth_server_shared_secret=XXX<br>
acct_server_addr=192.168.188.1<br>
acct_server_port=1813<br>
acct_server_shared_secret=XXX<br>
radius_retry_primary_interval=600<br>
<br>
wpa=3<br>
wpa_psk=YYYYYY<br>
wpa_key_mgmt=WPA-EAP WPA-PSK<br>
wpa_pairwise=TKIP CCMP<br>
---------- config file end<br>
<br>
BTW: How do I know that I'm connected with WPA2 instead of WPA?<br>
CCMP is WPA2 and TKIP WPA but what if mixed like in the following
output?<br>
<br>
If I do a wpa_cli status:<br>
<br>
Selected interface 'ath0'<br>
bssid=00:01:b4:02:0d:90<br>
ssid=wireless-obera-o1<br>
pairwise_cipher=CCMP<br>
group_cipher=TKIP<br>
key_mgmt=WPA-PSK<br>
wpa_state=COMPLETED<br>
ip_address=192.168.201.233<br>
Supplicant PAE state=AUTHENTICATED<br>
suppPortStatus=Authorized<br>
EAP state=SUCCESS<br>
<br>
For full WPA2 do I have to disable TKIP or is this normal that
group_cipher has TKIP?<br>
<br>
<br>
Thanks<br>
<br>
Beat<br>
<br>
</body>
</html>