Topic: Radius authentication not working.
I just set up chillispot on freebsd 7.0 using freeradius and mysql. radius tests fine with radtest. When i try to log in through hotspotlogin.cgi athenication fails. Running radius in debug mode i get the following:
rad_recv: Access-Request packet from host 127.0.0.1:54649, id=0, length=213
User-Name = "fry"
CHAP-Challenge = 0x524a7b7e010acf522c6b4fad0b657e71
CHAP-Password = 0x00dab10001ade5dcb4d5752656ea63c927
NAS-IP-Address = 0.0.0.0
Service-Type = Login-User
Framed-IP-Address = 192.168.182.2
Calling-Station-Id = "00-E0-00-C1-E7-3F"
Called-Station-Id = "00-0F-20-D1-58-1E"
NAS-Identifier = "nas01"
Acct-Session-Id = "481f8f6100000000"
NAS-Port-Type = Wireless-802.11
NAS-Port = 0
Message-Authenticator = 0x714a865b9b951927688256f94a1adf6a
WISPr-Logoff-URL = "http://192.168.182.1:3990/logoff"
rlm_chap: Setting 'Auth-Type := CHAP'
rlm_sql (sql): Reserving sql socket id: 4
rlm_sql (sql): Released sql socket id: 4
Warning: Found 2 auth-types on request for user 'fry'
rad_recv: Access-Request packet from host 127.0.0.1:54649, id=0, length=213
Sending Access-Reject of id 0 to 127.0.0.1 port 54649
Would anyone have any suggestions ?
Thanks