I am using a redirect link to an external login.php on my Mikrotik hotspot. The radius server error messages( ex: maximun session reach for this username) does not get trasfer to the exteral login page.
Hi, tks for your reply and to have made the tutorial .
I copied and past the code to remote server and the file errors.txt but it does not seem to work . when the users logs in and it has an error he is just redirected to login page but no errors are displayed .
Then you need to do a bit of troubleshooting. Use this as the login.html page in your router. Check all entries to insure it is passing the values to the new page, especially the error value. My apology in advance if I introduced any errors into this page during the edit.
I can’t help you there. All my routers are v6.x. I have no router to test that.
The only suggestion I can offer is upgrade to the latest version. If you still have that problem, maybe the Mikrotik crew can help you. They have been really helpful with my problems.
I presume you have the radius debug logging enabled. If not, that is helpful in debugging RADIUS responses.
If you mean an external hotspot login page, no. It will check the local router database first (/ip hotspot user), then a RADIUS server if you have one set up.