Im trying to setup a hotspot using external login page.
When the user gets to the external login page, a php script checks if its mac address is registered in a database(if its not, the user can register), and if the user can have access, the script returns to the router username and password that I have set-up.
So basically, I have "1 user" in the hotspot config, and all connections that can have access, go through that user.(not sure if that's a good approach)
The thing that's bugging me is the possibility to use RADIUS server, but Im not quite sure do I need it, since I authenticate using my php script.
It seems like a lot of people are using RADIUS with their hotspots, most of the commercial hotspot solutions use radius, but can't understand why use it and where, since the mikrotik router needs only username and password to grand access through the login page.
Will be happy if someone is willing to help me understand what I should do best.
Thank you in advance