I want to know if its possible to create my own sort of “status.html” for my hostpot users, one thats sitting on my external webserver. Obviously creating the page is fine etc but how can I pull the values that status.html in mikrotik has? like bytes-remaining etc?
I have not tried this, so don’t blame me if it doesn’t work. But if I needed what you do, I would try modifying this script for the status.html page. Pass the variables to a php page on your server, extract the variables, and “ya esta!” http://wiki.mikrotik.com/wiki/HotSpot_external_login_page
ADD: I don’t think this will work as easy as it sounded. You would need to load the status.html page from the router to forward the info to the server. That means redo the meta refresh on the server php code to load the status.html page from the router, then let it redirect back to the server.
Thanks, yes I’m using RADIUS so all the attributes are fine but I would really like to get the stuff like bytes being used etc. (thats the good stuff) which I can’t really get from RADIUS
Here is what I used for a test. The first is the code for status.html in the router. Replace the xx.xx.xx.xx with the ip of your php-enabled web server.