<pre>Hello:</pre>Help!!! When running a period of time, hostapd daemon didn't received eapol request.<br><br>I has used hostapd-0.4.8 and wpa_supplicant-0.4.8 a period of time, they were running well. I choose the old version, because <br>
<br>of they are used in a embedded system based ARM CPU and the old version costed a little memroy and space. <br><br>When running a period of time, hostapd daemon didn't received eapol request, must restarted the hostapd daemon, it could be <br>
<br>running well. But the problem occured again, such a hour time. <br><br>Thank you very much for your help!<br><br>hostapd config file<br>the config file should be no problem<br>------------------------------------------------------<br>
##### hostapd configuration file ##############################################<br># Empty lines and lines starting with # are ignored<br><br># Example configuration file for wired authenticator. See hostapd.conf for<br># more details.<br>
interface=br0<br>driver=wired<br>logger_stdout=5<br>logger_syslog=-1<br>logger_stdout_level=5<br>logger_syslog_level=0<br>debug=1<br>dump_file=/tmp/hostapd.dump<br>ctrl_interface=/var/run/hostapd<br><br>##### IEEE 802.1X-2004 related configuration ##################################<br>
ieee8021x=1<br>eap_message=hello<br>eapol_key_index_workaround=0<br>eap_reauth_period=0<br>use_pae_group_addr=0<br><br>##### RADIUS configuration ####################################################<br>own_ip_addr=192.168.1.2<br>
# RADIUS authentication server<br>auth_server_addr=192.168.1.1<br>auth_server_port=1812<br>auth_server_shared_secret=secret<br><br><br>hostapd log<br>------------------------------------------------------<br>no log<br><br>
wpa_supplicant config file<br>the config file should be no problem<br>------------------------------------------------------<br># IEEE 802.1X with EAP-MD5<br><br>ctrl_interface=/var/run/wpa_supplicant<br>ap_scan=0<br><br>
network={<br>key_mgmt=IEEE8021X<br>eap=MD5<br>identity="test"<br>password="test"<br>}<br><br>wpa_supplicant log<br>------------------------------------------------------<br>Starting wpa_supplicant....<br>
$ Initializing interface 'br0' conf '/usr/local/etc/wired8021x.conf' driver 'wired' ctrl_interface 'N/A'<br>Configuration file '/usr/local/etc/wired8021x.conf' -> '/usr/local/etc/wired8021x.conf'<br>
Reading configuration file '/usr/local/etc/wired8021x.conf'<br>ctrl_interface='/var/run/wpa_supplicant'<br>ap_scan=0<br>Line: 6 - start of a new network block<br>key_mgmt: 0x8<br>eap methods - hexdump(len=2): 04 00<br>
identity - hexdump_ascii(len=17):<br> 30 30 3a 30 46 3a 31 45 3a 33 34 3a 37 46 3a 45 00:0F:1E:34:7F:E<br> 34 4 <br>password - hexdump_ascii(len=0): [REMOVED]<br>
Priority group 0<br> id=0 ssid=''<br>Initializing interface (2) 'br0'<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>EAPOL: SUPP_BE entering state INITIALIZE<br>
EAP: EAP entering state DISABLED<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<br>wpa_driver_wired_init: Added multicast membership with packet socket<br>Own MAC address: 00:0f:1e:34:7f:e4<br>
Setting scan request: 0 sec 100000 usec<br>Using existing control interface directory.<br>bind(PF_UNIX): Address already in use<br>ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination<br>
Successfully replaced leftover ctrl_iface socket '/var/run/wpa_supplicant/br0'<br>Added interface br0<br>EAPOL: External notification - portControl=Auto<br>Already associated with a configured network - generating associated event<br>
Association info event<br>State: DISCONNECTED -> ASSOCIATED<br>Associated to a new BSS: BSSID=01:80:c2:00:00:03<br>No keys have been configured - skip key clearing<br>Network configuration found for the current AP<br>EAPOL: External notification - portControl=Auto<br>
Associated with 01:80:c2:00:00:03<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<br>EAPOL: External notification - portEnabled=1<br>EAPOL: SUPP_PAE entering state CONNECTING<br>
EAPOL: SUPP_BE entering state IDLE<br>EAP: EAP entering state INITIALIZE<br>EAP: EAP entering state IDLE<br>EAPOL: startWhen --> 0<br>EAPOL: SUPP_PAE entering state CONNECTING<br><br>EAPOL: txStart<br>TX EAPOL - hexdump(len=4): 01 01 00 00<br>
<br>RX EAPOL from 00:0f:1e:34:20:39<br>RX EAPOL - hexdump(len=14): 02 00 00 0a 01 00 00 0a 01 68 65 6c 6c 6f<br>EAPOL: Received EAP-Packet frame<br>EAPOL: SUPP_PAE entering state RESTART<br>EAP: EAP entering state INITIALIZE<br>
EAP: EAP entering state IDLE<br>EAPOL: SUPP_PAE entering state AUTHENTICATING<br>EAPOL: SUPP_BE entering state REQUEST<br>EAPOL: getSuppRsp<br>EAP: EAP entering state RECEIVED<br>EAP: Received EAP-Request method=1 id=0<br>
EAP: EAP entering state IDENTITY<br>CTRL-EVENT-EAP-STARTED EAP authentication started<br><br>EAP: EAP-Request Identity data - hexdump_ascii(len=5):<br> 68 65 6c 6c 6f hello <br>
EAP: using real identity - hexdump_ascii(len=17):<br> 30 30 3a 30 46 3a 31 45 3a 33 34 3a 37 46 3a 45 00:0F:1E:34:7F:E<br> 34 4 <br>EAP: EAP entering state SEND_RESPONSE<br>
EAP: EAP entering state IDLE<br>EAPOL: SUPP_BE entering state RESPONSE<br><br>EAPOL: txSuppRsp<br>TX EAPOL - hexdump(len=26): 01 00 00 16 02 00 00 16 01 30 30 3a 30 46 3a 31 45 3a 33 34 3a 37 46 3a 45 34<br>EAPOL: SUPP_BE entering state RECEIVE<br>
RX EAPOL from 00:0f:1e:34:20:39<br>RX EAPOL - hexdump(len=14): 02 00 00 0a 01 01 00 0a 01 68 65 6c 6c 6f<br>EAPOL: Received EAP-Packet frame<br>EAPOL: SUPP_BE entering state REQUEST<br><br>EAPOL: getSuppRsp<br>EAP: EAP entering state RECEIVED<br>
EAP: Received EAP-Request method=1 id=1<br>EAP: EAP entering state IDENTITY<br>************************************************************************************<br>Success state should: EAP: initialize selected EAP method (4, MD5)<br>
Restart sending eapol-start request<br>************************************************************************************<br>CTRL-EVENT-EAP-STARTED EAP authentication started<br>EAP: EAP-Request Identity data - hexdump_ascii(len=5):<br>
68 65 6c 6c 6f hello <br>EAP: using real identity - hexdump_ascii(len=17):<br> 30 30 3a 30 46 3a 31 45 3a 33 34 3a 37 46 3a 45 00:0F:1E:34:7F:E<br> 34 4 <br>
EAP: EAP entering state SEND_RESPONSE<br>EAP: EAP entering state IDLE<br>EAPOL: SUPP_BE entering state RESPONSE<br>EAPOL: txSuppRsp<br>TX EAPOL - hexdump(len=26): 01 00 00 16 02 01 00 16 01 30 30 3a 30 46 3a 31 45 3a 33 34 3a 37 46 3a 45 34<br>
EAPOL: SUPP_BE entering state RECEIVE<br>EAPOL: startWhen --> 0<br><br><br><br><br><br>