Fiz a modificaçao no client.conf
client 192.168.40.1 {
ipaddr = 192.168.40.1
nastype = other
secret = 123456
shortname = RB750
}
dei ctrl+C
e freeradius -X novamente
tentei logar pelo hotspot
Anexo 51551
Versão Imprimível
Fiz a modificaçao no client.conf
client 192.168.40.1 {
ipaddr = 192.168.40.1
nastype = other
secret = 123456
shortname = RB750
}
dei ctrl+C
e freeradius -X novamente
tentei logar pelo hotspot
Anexo 51551
freeradius -X
Anexo 51552
depois que tento logar
Anexo 51553
Tabela do db
Anexo 51554
Mudei Auth-Type para PAP
Código :
rad_recv: Access-Request packet from host 192.168.40.1 port 40085, id=24, length=191 NAS-Port-Type = Wireless-802.11 Calling-Station-Id = "80:EE:73:1B:CD:CC" Called-Station-Id = "hotspot1" NAS-Port-Id = "teste" User-Name = "teste" NAS-Port = 2147483669 Acct-Session-Id = "80000015" Framed-IP-Address = 10.0.5.254 Mikrotik-Host-IP = 10.0.5.254 CHAP-Challenge = 0x1a07368e7ad9033c2c3afc83f78eab52 CHAP-Password = 0x66af1b7658d5787074736308e564e3900b Service-Type = Login-User WISPr-Logoff-URL = "http://10.0.5.1/logout" NAS-Identifier = "jatonet" NAS-IP-Address = 192.168.40.1 # Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok [chap] Setting 'Auth-Type := CHAP' ++[chap] returns ok ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "teste", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop ++[files] returns noop [sql] expand: %{User-Name} -> teste [sql] sql_set_user escaped user --> 'teste' rlm_sql (sql): Reserving sql socket id: 4 [sql] 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 = 'teste' ORDER BY id WARNING: Found User-Password == "...". WARNING: Are you sure you don't mean Cleartext-Password? WARNING: See "man rlm_pap" for more information. [sql] User found in radcheck table [sql] expand: SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'teste' ORDER BY id [sql] expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = 'teste' ORDER BY priority [sql] expand: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id -> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'bandalarga' ORDER BY id [sql] User found in group bandalarga [sql] expand: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{Sql-Group}' ORDER BY id -> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'bandalarga' ORDER BY id rlm_sql (sql): Released sql socket id: 4 ++[sql] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING: Auth-Type already set. Not setting to PAP ++[pap] returns noop Found Auth-Type = PAP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! Replacing User-Password in config items with Cleartext-Password. !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! Please update your configuration so that the "known good" !!! !!! clear text password is in Cleartext-Password, and not in User-Password. !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # Executing group from file /etc/freeradius/sites-enabled/default +- entering group PAP {...} [pap] ERROR: You set 'Auth-Type = PAP' for a request that does not contain a User-Password attribute! ++[pap] returns invalid Failed to authenticate the user. Using Post-Auth-Type Reject # Executing group from file /etc/freeradius/sites-enabled/default +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> teste attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 0 for 1 seconds Going to the next request Waking up in 0.9 seconds. rad_recv: Access-Request packet from host 192.168.40.1 port 40085, id=24, length=191 Waiting to send Access-Reject to client RB750 port 40085 - ID: 24 Waking up in 0.6 seconds. rad_recv: Access-Request packet from host 192.168.40.1 port 40085, id=24, length=191 Waiting to send Access-Reject to client RB750 port 40085 - ID: 24 Waking up in 0.3 seconds. Sending delayed reject for request 0 Sending Access-Reject of id 24 to 192.168.40.1 port 40085 Waking up in 4.9 seconds. Cleaning up request 0 ID 24 with timestamp +37 Ready to process requests.
apresentou isso
me adiciona no skype
[email protected]