How can I ability a hotspot user by API if in know the mac-address, the name and the ip ?
I have one remote authentication server with web server, I redirect hotspot login page to my server, my server check the user and I want to ability the user by one process in my remote server with RouterOs API.
If you are using some 3rd party RAIDUS server for authentication - you jus tpoint your hotspot router to authenticate against it - do not need API for that.
edit:
but if you want to use API, one idea is that your remote server connects and creates user in hotspot, with ip and mac so that user is automatically logged in, if there is configuration that user can log-in in your remote server.
my server is not a radius, is one diameter, my idea is redirect login to another server, this checks users in one dinameter server , if user is ok how can tell routeros that the user is correct and ability him remotely ? .
We use diameter because diameter allow disconnect user by one diameter server request when one user’s purchased time finish, in radius its not possible. We want make and use a middle program that connect with diameter and routeros and send to routeros command to allow users and remove users.
And how many users can i add with ip- mac ?
you can create hotspot and with api add exceptions for users who authenticate at your diameter server.
Also, in 4.0beta new usermanager (RADIUS server) have feature that disconnect users when their time is up. Just have to set up hotspot and enable that feature in usermanager.