No subject

Daniel Lopez danilogo1991 at gmail.com
Fri Oct 30 21:38:18 CET 2015


HI. I've been trying to fix this problem for weeks:
The user "daniel" belongs to usergroup "wifi". In radgroupcheck I set the
attribute Auth-Type := Accept for the group "wifi". When I try  to connect
from the terminal, server returns an Access-accept message, but however i
can't still connect, screen of my device shows an eternal loop trying to
connect but it doesn't do.
I would preciate any help i can obtain from you. thanks.


Freeradius server:
rad_recv: Access-Request packet from host 10.25.4.250 port 44145, id=1,
length=156
        User-Name = "daniel"
        NAS-IP-Address = 192.168.0.1
        NAS-Port = 0
        Called-Station-Id = "X.X.X.X.X"
        Calling-Station-Id = "X.X.X.X.X"
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = "CONNECT 0Mbps 802.11"
        EAP-Message = 0x0203000b0164616e69656c
        Message-Authenticator = 0x3bf87f29f5f2af111857fd6706a12c92
# Executing section authorize from file
/etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "daniel", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 3 length 11
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[sql]   expand: %{User-Name} -> daniel
[sql] sql_set_user escaped user --> 'daniel'
rlm_sql (sql): Reserving sql socket id: 0
[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 = 'daniel'           ORDER BY id
[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 = 'daniel'           ORDER BY id
[sql]   expand: SELECT groupname           FROM radusergroup
WHERE username = '%{SQL-User-Name}'           ORDER BY priority -> SELECT
groupname           FROM radusergroup           WHERE username =
'daniel'           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 = 'wifi'           ORDER BY id
[sql] User found in group wifi
[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 = 'wifi'           ORDER BY id
rlm_sql (sql): Released sql socket id: 0
++[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 = Accept
Auth-Type = Accept, accepting the user
# Executing section post-auth from file
/etc/freeradius/sites-enabled/default
+- entering group post-auth {...}
++[exec] returns noop
*Sending Access-Accept of id 1 to 10.25.4.250 port 44145*
        Framed-Protocol := PPP
        Framed-Compression := Van-Jacobson-TCP-IP
        Framed-MTU := 1500
        Service-Type := Framed-User
Finished request 28.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 28 ID 1 with timestamp +673
Ready to process requests.


More information about the Freeradius-Users mailing list