Topic: Free Radius & Chillispor Install Issues
Hello, im new installing chillispot, but i have a problem with the auth, the redirect works fine and i have DHCP running but when i try to login always says login failed
there is the log of radiusd -x
/////////////
rad_recv: Access-Request packet from host 192.168.1.20:1028, id=0, length=195
User-Name = "user"
User-Password = "O\036\377\342\300QT\006G\2202+Jm\277\241"
NAS-IP-Address = 192.168.1.20
Service-Type = Login-User
Framed-IP-Address = 192.168.182.2
Calling-Station-Id = "00-1A-73-69-86-9D"
Called-Station-Id = "00-0C-29-37-86-C2"
NAS-Identifier = "nas01"
Acct-Session-Id = "48d1e61300000000"
NAS-Port-Type = Wireless-802.11
NAS-Port = 0
Message-Authenticator = 0xffeebc46bf4f839140ae59c9a52470a6
WISPr-Logoff-URL = "http://192.168.182.1:3990/logoff"
rlm_sql (sql): Reserving sql socket id: 4
rlm_sql (sql): Released sql socket id: 4
rad_recv: Access-Request packet from host 192.168.1.20:1028, id=0, length=195
Sending Access-Reject of id 0 to 192.168.1.20 port 1028
////////////
there is the radiusd -X
///////////////////////
rad_recv: Access-Request packet from host 192.168.1.20:1028, id=0, length=195
User-Name = "user"
User-Password = "\231\331\200\247`\271\370M\366Dn\200\220\320\245\212"
NAS-IP-Address = 192.168.1.20
Service-Type = Login-User
Framed-IP-Address = 192.168.182.2
Calling-Station-Id = "00-1A-73-69-86-9D"
Called-Station-Id = "00-0C-29-37-86-C2"
NAS-Identifier = "nas01"
Acct-Session-Id = "48d1e61300000000"
NAS-Port-Type = Wireless-802.11
NAS-Port = 0
Message-Authenticator = 0x2c5e892440cb5aa3f1a81354ca7e2049
WISPr-Logoff-URL = "http://192.168.182.1:3990/logoff"
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
modcall[authorize]: module "mschap" returns noop for request 0
rlm_realm: No '@' in User-Name = "user", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 0
users: Matched entry DEFAULT at line 52
radius_xlat: '/usr/local/bin/rmauth "192.168.1.20" "user" "00-1A-73-69-86-9D"'
modcall[authorize]: module "files" returns ok for request 0
radius_xlat: 'user'
rlm_sql (sql): sql_set_user escaped user --> 'user'
radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radcheck WHERE Username = 'user' ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 4
radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Att ribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'user' AND usergroup.GroupName = radgroupcheck.GroupName OR DER BY radgroupcheck.id'
radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radreply WHERE Username = 'user' ORDER BY id'
radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Att ribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'user' AND usergroup.GroupName = radgroupreply.GroupName OR DER BY radgroupreply.id'
rlm_sql (sql): Released sql socket id: 4
modcall[authorize]: module "sql" returns ok for request 0
rlm_pap: Found existing Auth-Type, not changing it.
modcall[authorize]: module "pap" returns noop for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type Local
auth: type Local
auth: user supplied User-Password does NOT match local User-Password
auth: Failed to validate the user.
WARNING: Unprintable characters in the password. ? Double-check the shared se cret on the server and the NAS!
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
rad_recv: Access-Request packet from host 192.168.1.20:1028, id=0, length=195
Sending Access-Reject of id 0 to 192.168.1.20 port 1028
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 0 with timestamp 48d1e69d
Nothing to do. Sleeping until we see a request.
//////////////////////
he told me the secret is not good because the password dont show clear but i check the secret and its ok, what another info do you need for help me with this
Thank You
Best Regards
Gabriel Ferragut