<div dir="ltr">


        
        
        
        


<p style="margin-bottom:0in;line-height:100%">Dear hostapd users,</p><p style="margin-bottom:0in;line-height:100%">I hope someone can help me with this issue. I have a setup on ubuntu 12.04 - hostapd v2.3 plus external radius server (freeradius). After associating to the AP with the wireless device only an EAP identiy request and EAP identity response can be seen on the radio interface (actually several times). From the hostapd towards the Radius server the accounting is exchanged but no authentication (EAPOL) communication whatsoever. (sniffing on loopback interface on port 1812 and 1813) .I would expect at some stage the hostapd to start a message exchange with the autentication Radius server. I tried with several settings on hostapd.conf and various versions of hostapd but the behaviour is similar</p><p style="margin-bottom:0in;line-height:100%">Any pointers to the right direction are highly appreciated.<br></p><p style="margin-bottom:0in;line-height:100%">Thanks in advance</p><p style="margin-bottom:0in;line-height:100%">/Arjen<br></p><p style="margin-bottom:0in;line-height:100%"><br></p><p style="margin-bottom:0in;line-height:100%">I attached the relevant logging below:<br></p>
<p style="margin-bottom:0in;line-height:100%">nl80211: Set STA
flags - ifname=wlan1 addr=20:02:af:0f:35:1c total_flags=0x6
flags_or=0x0 flags_and=0xfffffffe authorized=0
</p>
<p style="margin-bottom:0in;line-height:100%">wlan1: STA
20:02:af:0f:35:1c IEEE 802.1X: unauthorizing port
</p>
<p style="margin-bottom:0in;line-height:100%">IEEE 802.1X:
20:02:af:0f:35:1c AUTH_PAE entering state RESTART
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: EAP entering
state INITIALIZE
</p>
<p style="margin-bottom:0in;line-height:100%">wlan1:
CTRL-EVENT-EAP-STARTED 20:02:af:0f:35:1c
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: EAP entering
state SELECT_ACTION
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: getDecision: no
identity known yet -&gt; CONTINUE
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: EAP entering
state PROPOSE_METHOD
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: getNextMethod:
vendor 0 type 1
</p>
<p style="margin-bottom:0in;line-height:100%">wlan1:
CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: EAP entering
state METHOD_REQUEST
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: building
EAP-Request: Identifier 198
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: EAP entering
state SEND_REQUEST
</p>
<p style="margin-bottom:0in;line-height:100%">EAP: EAP entering
state IDLE

</p><p style="margin-bottom:0in;line-height:100%">EAP: retransmit
timeout 3 seconds (from dynamic back off; retransCount=0)
</p>
<p style="margin-bottom:0in;line-height:100%">IEEE 802.1X:
20:02:af:0f:35:1c AUTH_PAE entering state CONNECTING
</p>
<p style="margin-bottom:0in;line-height:100%">IEEE 802.1X:
20:02:af:0f:35:1c AUTH_PAE entering state AUTHENTICATING
</p>
<p style="margin-bottom:0in;line-height:100%">IEEE 802.1X:
20:02:af:0f:35:1c BE_AUTH entering state REQUEST
</p>
<p style="margin-bottom:0in;line-height:100%">wlan1: STA
20:02:af:0f:35:1c IEEE 802.1X: Sending EAP Packet (identifier 198)
</p>
<p style="margin-bottom:0in;line-height:100%">nl80211: Event
message available
</p>
<p style="margin-bottom:0in;line-height:100%">nl80211: Drv Event
19 (NL80211_CMD_NEW_STATION) received for wlan1
</p>
<p style="margin-bottom:0in;line-height:100%">nl80211: New station
20:02:af:0f:35:1c
</p>
<p style="margin-bottom:0in;line-height:100%">wlan1: Event
EAPOL_TX_STATUS (40) received
</p>
<p style="margin-bottom:0in;line-height:100%">IEEE 802.1X:
20:02:af:0f:35:1c TX status - version=1 type=0 length=5 - ack=1
</p>
<p style="margin-bottom:0in;line-height:100%">nl80211: Event
message available
</p>
<p style="margin-bottom:0in;line-height:100%">nl80211: BSS Event
59 (NL80211_CMD_FRAME) received for wlan1
</p>
<p style="margin-bottom:0in;line-height:100%">nl80211: MLME event
59 (NL80211_CMD_FRAME) on wlan1(00:9a:90:00:37:df)
A1=ff:ff:ff:ff:ff:ff A2=86:55:a5:99:60:20
</p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
<p style="margin-bottom:0in;line-height:100%">hostapd.conf:<br>
</p>
<p style="margin-bottom:0in;line-height:100%">interface=wlan1
</p>
<p style="margin-bottom:0in;line-height:100%">bridge=br0
</p>
<p style="margin-bottom:0in;line-height:100%">driver=nl80211
</p>
<p style="margin-bottom:0in;line-height:100%">logger_syslog=-1
</p>
<p style="margin-bottom:0in;line-height:100%">logger_syslog_level=2
</p>
<p style="margin-bottom:0in;line-height:100%">logger_stdout=-1
</p>
<p style="margin-bottom:0in;line-height:100%">logger_stdout_level=2
</p>
<p style="margin-bottom:0in;line-height:100%">ctrl_interface=/var/run/hostapd
</p>
<p style="margin-bottom:0in;line-height:100%">ctrl_interface_group=0
</p>
<p style="margin-bottom:0in;line-height:100%">ssid=test123
</p>
<p style="margin-bottom:0in;line-height:100%">hw_mode=g
</p>
<p style="margin-bottom:0in;line-height:100%">channel=1
</p>
<p style="margin-bottom:0in;line-height:100%">beacon_int=100
</p>
<p style="margin-bottom:0in;line-height:100%">dtim_period=2
</p>
<p style="margin-bottom:0in;line-height:100%">max_num_sta=255
</p>
<p style="margin-bottom:0in;line-height:100%">rts_threshold=2347
</p>
<p style="margin-bottom:0in;line-height:100%">fragm_threshold=2346
</p>
<p style="margin-bottom:0in;line-height:100%">macaddr_acl=0
</p>
<p style="margin-bottom:0in;line-height:100%">auth_algs=1
</p>
<p style="margin-bottom:0in;line-height:100%">ignore_broadcast_ssid=0
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_enabled=1
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_bk_cwmin=4
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_bk_cwmax=10
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_bk_aifs=7
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_bk_txop_limit=0
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_bk_acm=0
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_be_aifs=3
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_be_cwmin=4
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_be_cwmax=10
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_be_txop_limit=0
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_be_acm=0
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vi_aifs=2
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vi_cwmin=3
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vi_cwmax=4
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vi_txop_limit=94
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vi_acm=0
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vo_aifs=2
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vo_cwmin=2
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vo_cwmax=3
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vo_txop_limit=47
</p>
<p style="margin-bottom:0in;line-height:100%">wmm_ac_vo_acm=0
</p>
<p style="margin-bottom:0in;line-height:100%">ieee8021x=1
</p>
<p style="margin-bottom:0in;line-height:100%">eapol_version=1
</p>
<p style="margin-bottom:0in;line-height:100%">eapol_key_index_workaround=0
</p>
<p style="margin-bottom:0in;line-height:100%">eap_reauth_period=3600
</p>
<p style="margin-bottom:0in;line-height:100%">eap_server=0
</p>
<p style="margin-bottom:0in;line-height:100%">own_ip_addr=127.0.0.1
</p>
<p style="margin-bottom:0in;line-height:100%">auth_server_addr=127.0.0.1
</p>
<p style="margin-bottom:0in;line-height:100%">auth_server_port=1812
</p>
<p style="margin-bottom:0in;line-height:100%">auth_server_shared_secret=secret123
</p>
<p style="margin-bottom:0in;line-height:100%">acct_server_addr=127.0.0.1
</p>
<p style="margin-bottom:0in;line-height:100%">acct_server_port=1813
</p>
<p style="margin-bottom:0in;line-height:100%">acct_server_shared_secret=secret
</p>
<p style="margin-bottom:0in;line-height:100%">radius_acct_interim_interval=600
</p>
<p style="margin-bottom:0in;line-height:100%">wpa=1
</p>
<p style="margin-bottom:0in;line-height:100%">wpa_key_mgmt=WPA-EAP
</p>
<p style="margin-bottom:0in;line-height:100%">wpa_pairwise=TKIP
CCMP</p>

</div>