I need some help to troubleshoot my Mikrotik. I have a VPS, a Mikrotik with all the settings according to guide and have also replaced the files in hotspot folder of Mikrotik.
Now i get served with my dynamic login page when i connect with Mikrotik.
When i try to login i see "Log into Captive portal" and afterwards i get an error with red letters but it is not full so i can troubleshoot it.
The only part i can read is "RADIUS CLIENT NOT" and sometheng about contact server i think. Message is below Login button.
I can see Mikrotik as Nas Device and Heartbeat works as intented. Also keys for dynamic page work.
When i try to login i see on Mikrotik Radius Page that my request got rejected.
Any help would be appreciated.
Thank you.
Last edit: Manos Xag 2016-06-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have found the problem. Mikrotik registers first on RD on unknown Dynamic Radius Clients. You have to go from there and select it and afterwards attach it on the owner. Then it's registered and working as intended.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
same problem.
this is my scenario
Ubuntu 16.04 with php 5.6, cake 2.9.1. RD SVN version 1952(latest today)
I followed the new instruction for ubuntu 16.04 with nginx and FR3.
I've succesfully configured the NAS in pptp mode following the mikrotik instruction on th e old wiki.
Nas client communicates fine with radius because the user can login on the captive portal side (checked permanent user).
The problem is always "Hotspot not responding" just when loading the login page; and after i insert the credentials, the user log in in nas(mikrotik show me "logged in" via chap...) but the page give me the error:
RADIUS Server is not responding".
I guess the problem the routing for control the user usage(status) and i tried also to disable that function on the NAS applet but with no luck.
I checked the code but for now i cant understand where the problem is.
Please Dirk tell us some clue to investigate ...
Thanks in advance!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, i've ended up that im foolish now.. after hours and hours on the problem i found the solution.
I had not put the status.html to login directory.. no comment ! :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great! Congratulations!. If you have a VPS with radiusdesk installed how can I add remote mikrotik nas, if my internet has dynamic ip? And from differente locations. Thanks!
Last edit: Abe 2016-10-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need your help to understand why I cannot add a Dynamic Radius Client. I have a PC running ubuntu server 14.0.4 with Radiusdesk. I forward my router ports to acces from anywhere to my PC and it works. In my mikrotik, in radius server I setup my public ip but I can't see any NAS Divices in radiusdesk.
Is it correct what i'm doing? Or I need to instal Radiusdesk on a VPS?
As additional information if I add a Dynamic Radius Client in my local lan works fine.
EDIT: I have my Radius Server on location A. ISP allow forwards ports, so I can get access from my server anywhere.
I have NAS Device (Mikrotik) on location B. ISP don't allow forward ports. Maybe this is the problem.
Last edit: Abe 2016-11-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Abe
the Dynamic Radius Client is for you.
You have to be sure to portforward ports udp 1812 and 1813 to RD.
the other option is pptp. you have to install pptpd and be sure to forward TCP 1723 and protocol GRE(some isp blocks GRE)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh! I don't understand that part. Forward Ports UDP 1812 and 1813 is by side server or nas device. As I mentionated before nas device is conected on location B and the ISP don't allow forward any ports. If I install radiusdesk on a VPS, Do I need to forward ports? I mean, by side nas device. Cause my principal trouble is that cannot forward ports.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Abe, on the NAS side, behind the nat, there is no need to forward the ports, here the Dynamic Client helps you. On the server side you have to expose UDP 1812 and 1813. The NAS client is then triggered by heartbeat system
Last edit: Fabrizio Lazzaretti 2016-11-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you Fabrizio, thank you very much. You had help me to understand that part. Now I'm testing Radiusdesk with my own server (PC of course), I love it :D. There are much more to read and learn.
Cheers from Mexico. and an apologize by my terrible english.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need some help to troubleshoot my Mikrotik. I have a VPS, a Mikrotik with all the settings according to guide and have also replaced the files in hotspot folder of Mikrotik.
Now i get served with my dynamic login page when i connect with Mikrotik.
When i try to login i see "Log into Captive portal" and afterwards i get an error with red letters but it is not full so i can troubleshoot it.
The only part i can read is "RADIUS CLIENT NOT" and sometheng about contact server i think. Message is below Login button.
I can see Mikrotik as Nas Device and Heartbeat works as intented. Also keys for dynamic page work.
When i try to login i see on Mikrotik Radius Page that my request got rejected.
Any help would be appreciated.
Thank you.
Last edit: Manos Xag 2016-06-06
Bro can you tell me how to configure dynamic login page when i connect with Mikrotik i fallow giudeline but still fail .
Have you tried login in using the default mikrotik pages? If thats not working check the shared secret.
I have found the problem. Mikrotik registers first on RD on unknown Dynamic Radius Clients. You have to go from there and select it and afterwards attach it on the owner. Then it's registered and working as intended.
Hello, i have the same problem like you, i tried your solution with no luck, can you help me ?, Thanks
Maybe you're not using FreeRADIUS-Client-Secret when you sonfigure FreeRADIUS version 3.x.
same problem.
this is my scenario
Ubuntu 16.04 with php 5.6, cake 2.9.1. RD SVN version 1952(latest today)
I followed the new instruction for ubuntu 16.04 with nginx and FR3.
I've succesfully configured the NAS in pptp mode following the mikrotik instruction on th e old wiki.
Nas client communicates fine with radius because the user can login on the captive portal side (checked permanent user).
The problem is always "Hotspot not responding" just when loading the login page; and after i insert the credentials, the user log in in nas(mikrotik show me "logged in" via chap...) but the page give me the error:
RADIUS Server is not responding".
I guess the problem the routing for control the user usage(status) and i tried also to disable that function on the NAS applet but with no luck.
I checked the code but for now i cant understand where the problem is.
Please Dirk tell us some clue to investigate ...
Thanks in advance!!
Remember, to use dynamic login page you need to allow login with HTTP PAP in your hotspot server profile in mikrotik
Ok, i've ended up that im foolish now.. after hours and hours on the problem i found the solution.
I had not put the status.html to login directory.. no comment ! :)
Great! Congratulations!. If you have a VPS with radiusdesk installed how can I add remote mikrotik nas, if my internet has dynamic ip? And from differente locations. Thanks!
Last edit: Abe 2016-10-31
Here : https://www.youtube.com/watch?v=8dHPtV3O_mk i made this video 1 month ago, it is in spanish but is very explicit
Abe, there are multiple options:
Dynamic Clients
pptp connection
openvpn connection
http://www.radiusdesk.com/old_wiki/user_guide/nas_devices
I need your help to understand why I cannot add a Dynamic Radius Client. I have a PC running ubuntu server 14.0.4 with Radiusdesk. I forward my router ports to acces from anywhere to my PC and it works. In my mikrotik, in radius server I setup my public ip but I can't see any NAS Divices in radiusdesk.
Is it correct what i'm doing? Or I need to instal Radiusdesk on a VPS?
As additional information if I add a Dynamic Radius Client in my local lan works fine.
EDIT: I have my Radius Server on location A. ISP allow forwards ports, so I can get access from my server anywhere.
I have NAS Device (Mikrotik) on location B. ISP don't allow forward ports. Maybe this is the problem.
Last edit: Abe 2016-11-02
Abe
the Dynamic Radius Client is for you.
You have to be sure to portforward ports udp 1812 and 1813 to RD.
the other option is pptp. you have to install pptpd and be sure to forward TCP 1723 and protocol GRE(some isp blocks GRE)
Oh! I don't understand that part. Forward Ports UDP 1812 and 1813 is by side server or nas device. As I mentionated before nas device is conected on location B and the ISP don't allow forward any ports. If I install radiusdesk on a VPS, Do I need to forward ports? I mean, by side nas device. Cause my principal trouble is that cannot forward ports.
Abe, on the NAS side, behind the nat, there is no need to forward the ports, here the Dynamic Client helps you. On the server side you have to expose UDP 1812 and 1813. The NAS client is then triggered by heartbeat system
Last edit: Fabrizio Lazzaretti 2016-11-03
Thank you Fabrizio, thank you very much. You had help me to understand that part. Now I'm testing Radiusdesk with my own server (PC of course), I love it :D. There are much more to read and learn.
Cheers from Mexico. and an apologize by my terrible english.