Hello all,
I'm struggling with running the hotspot.
I'm using following SW versions:
FreeRADIUS Version 2.0.4
chillispot 1.0
mysql Ver 14.12
the OS is Debian Lenny
I have configured 'user6' in the database
when I'm trying the radtest:
radtest user6 {userpass} 127.0.0.1 0 {radiuspass}
the freeradius is successfully authorizes user:
Access-Accept packet from host 127.0.0.1 port 1812, id=9, length=56
But when I'm trying to get authorization from windows XP, I get following messages on freeradius debug console:
rad_recv: Access-Request packet from host 127.0.0.1 port 55048, id=2, length=120
User-Name = "user6"
EAP-Message = 0x0200000a017573657236
Message-Authenticator = 0x0e1ed45af3959fc10588850cdd3d22b3
Calling-Station-Id = "00-0C-E3-40-14-85"
Called-Station-Id = "00-11-43-19-06-5B"
NAS-Port-Type = Wireless-802.11
NAS-Port = 5
NAS-IP-Address = 0.0.0.0
NAS-Identifier = "nas01"
+- entering group authorize
++[preprocess] returns ok
++[chap] returns noop
rlm_realm: No '@' in User-Name = "user6", looking up realm NULL
rlm_realm: No such realm "NULL"
++[suffix] returns noop
expand: %{User-Name} -> user6
rlm_sql (sql): sql_set_user escaped user --> 'user6'
rlm_sql (sql): Reserving sql socket id: 1
expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'user6' ORDER BY id
expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = 'user6' ORDER BY priority
rlm_sql (sql): Released sql socket id: 1
rlm_sql (sql): User user6 not found
++[sql] returns notfound
++[expiration] returns noop
++[logintime] returns noop
rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this.
++[pap] returns noop
rlm_eap: EAP packet type response id 0 length 10
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
WARNING: Unknown value specified for Auth-Type. Cannot perform requested action.
auth: Failed to validate the user.
Login incorrect: [user6/<via Auth-Type = EAP>] (from client hotspot port 5 cli 00-0C-E3-40-14-85)
Found Post-Auth-Type Reject
+- entering group REJECT
expand: %{User-Name} -> user6
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 2 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 2
Sending Access-Reject of id 2 to 127.0.0.1 port 55048
I don't know what is an issue and how to debug it. I will send more configuration data if it will be necessary.
Pete