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