i have some tested social login dynamic client radius desk with mikrotik captive portal , i have follow the intructions as the guidence of radiusdesk, but until now still stuck,
after connected the wifi and then redirect to login page, i tried to connecting by facebook, as we know social login radius desk using temp user, at this step temp user successfully log in the radiusk
rlm_sql (sql): Released connection (7)
(0) [sql] = ok
(0) } # if ((!&control:Rd-Not-Track-Auth)||(&control:Rd-Not-Track-Auth != 1)) = ok
(0) } # policy RADIUSdesk_post_auth = ok
(0) policy RADIUSdesk_auto_devices_check {
(0) if ((&request:User-Name)&&(&request:Calling-Station-Id)){
(0) if ((&request:User-Name)&&(&request:Calling-Station-Id)) -> TRUE
(0) if ((&request:User-Name)&&(&request:Calling-Station-Id)) {
(0) if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)){
(0) if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)) -> TRUE
(0) if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)) {
(0) EXPAND %{User-Name}
(0) --> soc_wifigo
(0) SQL-User-Name set to 'soc_wifigo'
rlm_sql (sql): Reserved connection (6)
(0) Executing query: INSERT IGNORE INTO auto_devices SET auto_devices.username='soc_wifigo', auto_devices.mac='7C-D1-C3-85-AF-36'
rlm_sql (sql): Released connection (6)
(0) EXPAND %{sql:INSERT IGNORE INTO auto_devices SET auto_devices.username='%{request:User-Name}', auto_devices.mac='%{request:Calling-Station-Id}'}
(0) --> 1
(0) } # if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)) = ok
(0) } # if ((&request:User-Name)&&(&request:Calling-Station-Id)) = ok
(0) } # policy RADIUSdesk_auto_devices_check = ok
(0) } # post-auth = ok
(0) Sent Access-Accept Id 9 from 172.31.27.226:1812 to 120.188.82.167:11355 length 0
(0) WISPr-Bandwidth-Max-Down = 2000000
(0) WISPr-Bandwidth-Max-Up = 2000000
(0) Finished request
but in the mikrotik log and also in the client i face radius not responding. it looks like no further process after success login temp user.
any suggestion for this issue ?
thanks in advace.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have some tested social login dynamic client radius desk with mikrotik captive portal , i have follow the intructions as the guidence of radiusdesk, but until now still stuck,
after connected the wifi and then redirect to login page, i tried to connecting by facebook, as we know social login radius desk using temp user, at this step temp user successfully log in the radiusk
rlm_sql (sql): Released connection (7)
(0) [sql] = ok
(0) } # if ((!&control:Rd-Not-Track-Auth)||(&control:Rd-Not-Track-Auth != 1)) = ok
(0) } # policy RADIUSdesk_post_auth = ok
(0) policy RADIUSdesk_auto_devices_check {
(0) if ((&request:User-Name)&&(&request:Calling-Station-Id)){
(0) if ((&request:User-Name)&&(&request:Calling-Station-Id)) -> TRUE
(0) if ((&request:User-Name)&&(&request:Calling-Station-Id)) {
(0) if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)){
(0) if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)) -> TRUE
(0) if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)) {
(0) EXPAND %{User-Name}
(0) --> soc_wifigo
(0) SQL-User-Name set to 'soc_wifigo'
rlm_sql (sql): Reserved connection (6)
(0) Executing query: INSERT IGNORE INTO auto_devices SET auto_devices.username='soc_wifigo', auto_devices.mac='7C-D1-C3-85-AF-36'
rlm_sql (sql): Released connection (6)
(0) EXPAND %{sql:INSERT IGNORE INTO auto_devices SET auto_devices.username='%{request:User-Name}', auto_devices.mac='%{request:Calling-Station-Id}'}
(0) --> 1
(0) } # if ((&control:Rd-Auto-Mac)&&(&control:Rd-Auto-Mac == 1)) = ok
(0) } # if ((&request:User-Name)&&(&request:Calling-Station-Id)) = ok
(0) } # policy RADIUSdesk_auto_devices_check = ok
(0) } # post-auth = ok
(0) Sent Access-Accept Id 9 from 172.31.27.226:1812 to 120.188.82.167:11355 length 0
(0) WISPr-Bandwidth-Max-Down = 2000000
(0) WISPr-Bandwidth-Max-Up = 2000000
(0) Finished request
but in the mikrotik log and also in the client i face radius not responding. it looks like no further process after success login temp user.
any suggestion for this issue ?
thanks in advace.
I get that error when I set the radius timeout too low, maybe it has something to do with that, but I am no expert so it is just a guess
Alvarado,
Thank you , solved it now, i set radius timeout 5000ms