Problems when using hostapd on wired:IEEE 802.1X data frame from not associated STA
2008 vpn
vpn2008
Wed Aug 3 20:07:56 PDT 2011
I try to setup a eap testbed on wired. I run hostapd on ubuntu(vmware) and
wpa_supplicant on another ubuntu(vmware) host.
But when hostapd receives identity response, following mesasge is given out:
IEEE 802.1X: 46 bytes from 00:0c:29:13:68:99
IEEE 802.1X data frame from not associated STA
What does that mean? For wired, associated is needed? If yes, how to
associate it?
configuration is as fillowing :
wired.conf
====================================================================================================
interface=eth1
driver=wired
logger_stdout=-1
logger_stdout_level=1
debug=2
dump_file=/tmp/hostapd.dump
ieee8021x=1
eap_reauth_period=3600
use_pae_group_addr=1
##### RADIUS configuration
####################################################
# for IEEE 802.1X with external Authentication Server, IEEE 802.11
# authentication with external ACL for MAC addresses, and accounting
# The own IP address of the access point (used as NAS-IP-Address)
own_ip_addr=127.0.0.1
# Optional NAS-Identifier string for RADIUS messages. When used, this should
be
# a unique to the NAS within the scope of the RADIUS server. For example, a
# fully qualified domain name can be used here.
# nas_identifier=ap.example.com
# RADIUS authentication server
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=radius
# RADIUS accounting server
#acct_server_addr=127.0.0.1
#acct_server_port=1813
#acct_server_shared_secret=radius
run command for hostapd: sudo ./hostapd -dddd ./wired.conf
=================================================================
configuration for wpa_supplicant:
test.conf:
==============================================
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
ap_scan=0
network={
key_mgmt=IEEE8021X
eap=MD5
identity="user"
password="password"
eapol_flags=0
}
run command for wpa_supplicant: sudo ./wpa_supplicant -dd -i eth1 -c
./test.conf -D wired
If someone has done this, giving me the typical configuration is very
appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20110804/30a3b18e/attachment.htm
More information about the Hostap
mailing list