Communication between Xsupplicant and Hostap with EAP-MD5

Carlos Peñafiel carpeher
Wed Apr 12 22:08:51 PDT 2006


Hello!!

I have a problem trying to configure my network. I am trying to get this

Radius<--> HostAp <--> Xsupplicant

in order to cipher the communications with EAP-MD5. My problem is between 
the HostAp and the Xsupplicant, because if I enable the 802.1X configuration 
as true, the HostAp looks like it is not receive anything (it does not show 
any messages).

When I run the HostAp with a Windows Client, my Client ask me for a ?WEP? 
key. If I insert a 128-bit-key, whatever!!, and I select ?authentication 
eap-md5?, and I insert the login and the password, the hostap works 
perfectly. Is this a bug?

But the problem is when I am on Linux (Kernel version 2.6.11-1_FC4), If I do

iwlist ath0 scanning

I can see the Hostap with ?key: on?. If I do

iwconfig ath0 essid myESSID

I can do the association, but I can not work yet. But when I do

iwconfig ath0 key my-invented-key

the hostap sends a lot of messages like

IEEE 802.1X (The MAC in my wireless client) REAUTH_TIMER entering state 
INITIALIZE
IEEE 802.1X (The MAC in my wireless client) REAUTH_TIMER entering state 
INITIALIZE
IEEE 802.1X (The MAC in my wireless client) REAUTH_TIMER entering state 
INITIALIZE
IEEE 802.1X (The MAC in my wireless client) REAUTH_TIMER entering state 
INITIALIZE
IEEE 802.1X (The MAC in my wireless client) AUTH_PEA entering state ABORTING
IEEE 802.1X (The MAC in my wireless client) BE_AUTH entering state 
INIZIALITE
IEEE 802.1X (The MAC in my wireless client) AUTH_PEA entering state 
DISCONNECTED
IEEE 802.1X (The MAC in my wireless client) BE_AUTH entering state IDLE

I guess the XSupplicant configuration file is OK because I tried to test the 
same configuration but with a wireless router instead the Hostap, and it 
worked good. So, what can I do? What am I doing bad?
I am using the Xsupplicant-1.2.4 with ipw2200-driver 1.1.2 and Hostap-0.4.8 
with  madwifi.

Thanks a lot for your all time.






More information about the Hostap mailing list