Community discussions

MikroTik App
 
EroniGomes
just joined
Topic Author
Posts: 3
Joined: Mon Aug 29, 2016 6:20 pm

Hotspot + register

Mon Aug 29, 2016 6:39 pm

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!!
 
User avatar
czolo
Member
Member
Posts: 423
Joined: Fri Mar 04, 2005 9:49 am
Location: Poland (Warsaw)
Contact:

Re: Hotspot + register

Mon Aug 29, 2016 9:13 pm

You have to code it, because MT has no feature for user registration. You can always add it manualy.
 
EroniGomes
just joined
Topic Author
Posts: 3
Joined: Mon Aug 29, 2016 6:20 pm

Re: Hotspot + register

Tue Aug 30, 2016 4:51 pm

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?
 
User avatar
czolo
Member
Member
Posts: 423
Joined: Fri Mar 04, 2005 9:49 am
Location: Poland (Warsaw)
Contact:

Re: Hotspot + register

Thu Sep 01, 2016 10:40 am

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
 
marktomlinson
newbie
Posts: 35
Joined: Wed Aug 03, 2016 12:22 pm

Re: Hotspot + register

Thu Sep 01, 2016 2:19 pm

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
 
EroniGomes
just joined
Topic Author
Posts: 3
Joined: Mon Aug 29, 2016 6:20 pm

Re: Hotspot + register

Thu Sep 01, 2016 5:07 pm

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.