Hello,<div><br></div><div>I had freeradius setup and running perfectly on an ubuntu test machine and now I have done the exact same setup and configuration on a new debian machine with the addition of daloradius for easy configuration by other members of the team. I am running latest freeradius 2.1.10. The ubuntu machine was working perfect for mac auth but now this setup is not working. I try and connect to the WiFi and it always times out. Putting freeradius in debug mode shows nothing useful, it shows that it's sending the access accept packet but the connection times out still. Here is a sample debug, if anyone can be of any assistance it would be great. For reference, I change my AP back to the ubuntu server to do the radius mac auth and connect to the wifi and it sends the access accept and connects right away. Maybe I am missing something here....I don't think its an issue using sql as the ubuntu machine isn't using sql but if i disable sql and use exact config etc the time out still occurs.</div>
<div><br></div><div><div>Ready to process requests.</div><div>rad_recv: Access-Request packet from host 192.168.1.55 port 1030, id=0, length=160</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>User-Name = "00-1E-58-F9-A6-94"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>User-Password = "NOPASSWORD"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>NAS-IP-Address = 192.168.1.55</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Called-Station-Id = "00-20-B0-E6-12-A6:TEST"</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>Calling-Station-Id = "<meta charset="utf-8">00-1E-58-F9-A6-94"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>NAS-Port-Type = Wireless-802.11</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>Connect-Info = "CONNECT 11Mbps 802.11b"</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Message-Authenticator = 0x946f027f36890c6b16ec5b4132e8e1d9</div>
<div># Executing section authorize from file /etc/freeradius/sites-enabled/default</div><div>+- entering group authorize {...}</div><div>++[preprocess] returns ok</div><div>++[chap] returns noop</div><div>++[mschap] returns noop</div>
<div>++[digest] returns noop</div><div>[suffix] No '@' in User-Name = "<meta charset="utf-8">00-1E-58-F9-A6-94", looking up realm NULL</div><div>[suffix] No such realm "NULL"</div><div>++[suffix] returns noop</div>
<div>[eap] No EAP-Message, not doing EAP</div><div>++[eap] returns noop</div><div>++[files] returns noop</div><div>[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: %{User-Name} -> 00-1E-58-F9-A6-94</div>
<meta charset="utf-8"><div>[sql] sql_set_user escaped user --> '<meta charset="utf-8">00-1E-58-F9-A6-94'</div><div>rlm_sql (sql): Reserving sql socket id: 3</div><div>[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>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 = '<meta charset="utf-8">00-1E-58-F9-A6-94' ORDER BY id</div>
<div>[sql] User found in radcheck table</div><div>[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>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 = '<meta charset="utf-8">00-1E-58-F9-A6-94' ORDER BY id</div>
<div>[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = '<meta charset="utf-8">00-1E-58-F9-A6-94' ORDER BY priority</div>
<div>rlm_sql (sql): Released sql socket id: 3</div><div>++[sql] returns ok</div><div>++[expiration] returns noop</div><div>++[logintime] returns noop</div><div>[pap] WARNING: Auth-Type already set. Not setting to PAP</div>
<div>++[pap] returns noop</div><div>Found Auth-Type = Accept</div><div>Auth-Type = Accept, accepting the user</div><div># Executing section post-auth from file /etc/freeradius/sites-enabled/default</div><div>+- entering group post-auth {...}</div>
<div>[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: %{User-Name} -> 00-1E-58-F9-A6-94</div><meta charset="utf-8"><div>[sql] sql_set_user escaped user --> '<meta charset="utf-8">00-1E-58-F9-A6-94'</div>
<div>[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: %{User-Password} -> NOPASSWORD</div><div>[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S') -> INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '<meta charset="utf-8">00-1E-58-F9-A6-94', 'NOPASSWORD', 'Access-Accept', '2011-04-27 15:33:47')</div>
<div>rlm_sql (sql) in sql_postauth: query is INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '<meta charset="utf-8">00-1E-58-F9-A6-94', 'NOPASSWORD', 'Access-Accept', '2011-04-27 15:33:47')</div>
<div>rlm_sql (sql): Reserving sql socket id: 2</div><div>rlm_sql (sql): Released sql socket id: 2</div><div>++[sql] returns ok</div><div>++[exec] returns noop</div><div>Sending Access-Accept of id 0 to 192.168.1.55 port 1030</div>
<div>Finished request 0.</div><div>Going to the next request</div><div>Waking up in 4.9 seconds.</div><div>rad_recv: Access-Request packet from host 192.168.1.55 port 1030, id=0, length=160</div><div>Sending duplicate reply to client AP01 port 1030 - ID: 0</div>
<div>Sending Access-Accept of id 0 to 192.168.1.55 port 1030</div><div>Waking up in 1.9 seconds.</div><div>Cleaning up request 0 ID 0 with timestamp +4732</div><div>Ready to process requests.</div></div><div><br></div><div>
<br></div><div><br></div>