Page 1 of 1

Hotspot + register

Posted: Mon Aug 29, 2016 6:39 pm
by EroniGomes
Hey guys,

Playing with the Mikrotik rb i found the hotspot part interesting, but I do have a few doubts. I've see that its possible but have no ideia how to configure it. With the default login page that already comes configured, how do I add an option to register? Where I don't need to keep going in the rb interface adding every user and a new user on its own can just create a login and password and move ahead to navigating with me having to interven. I'm open to any sign of help or ideia that can help me out. Thanks!!

Re: Hotspot + register

Posted: Mon Aug 29, 2016 9:13 pm
by czolo
You have to code it, because MT has no feature for user registration. You can always add it manualy.

Re: Hotspot + register

Posted: Tue Aug 30, 2016 4:51 pm
by EroniGomes
You have to code it, because MT has no feature for user registration. You can always add it manualy.
The html part was not so hard, adding the button, redirecting to a form and such. My problem is from that point forward. Where do I redirect the form, how to send the data to the rb, is it just script, is there additional software?

Re: Hotspot + register

Posted: Thu Sep 01, 2016 10:40 am
by czolo
We have done something like this in php. External app server, form for registration, data stored in mysql and radius for authentication. RB hotspot sends data to server (mac, hs gateway, etc). You can use it to generate url after the user is registered

Re: Hotspot + register

Posted: Thu Sep 01, 2016 2:19 pm
by marktomlinson
Hi EroniGomes

We are currently working on something similar in .NET and there are a number of options, you can either create a user on the MikroTik device using the API, authenticate using a RADIUS server or even authenticate away from the hotspot and just then authenticate with a single user against the MikroTik, but then you will not be able to get a breakdown on a per user basis.

If you need any guidance or fancy collaborating on this one, do give me a shout

Re: Hotspot + register

Posted: Thu Sep 01, 2016 5:07 pm
by EroniGomes
Thanks Marktomlinson, I'll see what I can do here and will be in touch, if you could contact me by e-mail eronigomess@gmail.com, or give me an e-mail and I'll contact you.