I am trying to configure CoovaChilli to use WISPr v2.0 and EAP authentication but have no success. I added "HS_NOWISPR1=on" in config file and first WISPr message from server looks like:
<Redirect>
<MessageType>100</MessageType>
<ResponseCode>0</ResponseCode>
<VersionHigh>2.0</VersionHigh>
<VersionLow>2.0</VersionLow>
<AccessLocation>CDATA[[isocc=,cc=,ac=,network=Coova,]]</AccessLocation>
<LocationName>CDATA[[My_HotSpot]]</LocationName>
<LoginURL>http://belhotspot1.smsi.com/www/login.chi?res=wispr&uamip=10.1.0.1&uamport=3990&challenge=de8c6ea399878020935078a3a2f3e5e3</LoginURL>
<AbortLoginURL>http://10.1.0.1:3990/abort</AbortLoginURL>
<EAPMsg>AQEABQE=</EAPMsg>
</Redirect>
My client software then performing POST request to LoginURL with POST body:
"UserName=1234159105718219&WISPrEAPMsg=AgEAFQExMjM0MTU5MTA1NzE4MjE5&WISPrVersion=2.0"
Next WISPr message from server looks like:
<AuthenticationReply>
<MessageType>120</MessageType>
<ResponseCode>201</ResponseCode>
<LoginResultsURL>http://10.1.0.1:3990/login?username=1234159105718219&response=6b261211eb071bf678a921c862d3853b&userurl=http://www.coova.org/</LoginResultsURL>
</AuthenticationReply>
In this point I expected EAPAuthenticationReply not AuthenticationReply, and response code 201 is deprecated as per WISPr 2.0 specification.
After GET-ing LoginResultURL client software receives:
<AuthenticationPollReply>
<MessageType>140</MessageType>
<ResponseCode>100</ResponseCode>
<ReplyMessage>Invalid Username/Password</ReplyMessage>
</AuthenticationPollReply>
Again, message type 120 (AuthenticationPollReply) is deprecated in WISPr 2.0.
Am I doing something wrong? Does anybody use EAP with WISPr 2.0?
Thanks in advance to any help.
WISPr 2.0 script missing in login.chi
Hi,
I have installed Coovachilli 1.2.9 and inside login.chi file, I could not find the below shell script which enables WISPr 2.0 for EAP:
if [ "$FORM_res" = "wispr" ] && [ "$FORM_WISPrEAPMsg" != "" ] && [ "$FORM_WISPrVersion" = "2.0" ] &Is it available in some other CoovaChilli version? Secondly, did any body manage to run WISPr 2.0 for testing EAP over Coovachilli?
Thanks