Is there any way to make my users, automatically login to my hotspot, without to open any web browser?
I can’t use mac-auth.
Maybe somehow, when the user gets ip from the dhch-server, could auto log him in ???
Is there any way to make my users, automatically login to my hotspot, without to open any web browser?
I can’t use mac-auth.
Maybe somehow, when the user gets ip from the dhch-server, could auto log him in ???
If you are not depending on the mac address, how will you know which client it is when the device gets an ip?
I dont care about that.
I want all of the devices to be connected.
I just want to avoid users with smartphones problem, most of them dont knnow that they need to open web browser for login, they go straight to open their applications.
That is easy!
/ip hotspot
disable 0
Repeat for all hotspots.
![]()
Thanks
but i want to use the hotspot’s functions.
limit download/upload
check how many users online
when they logged in/out
Thats why i want to make an auto loggin script somehow
You can’t determine users, only devices. Since nobody is logging in, you won’t know who is who.
You can use “/queue” to limit upload/download.
If you are using wifi, you can see how many devices are connected using
/interface wireless registration-table
My setup is in a hotel.
One rb1100ahx2 as gateway and dhcp-server
and about 50-70 small routers or ubnt devices around the hotel as APs.
If i disable hotspot, how can i limit down and up speed by queue, in the main mikrotik router?
I want to limit per device
My network is 10.0.0.1/22.
How did you plan on limiting them with the hotspot? It uses a simple queue to limit bandwidth.
I’m not sure what you mean by “not logging in” , but do you think it would be acceptable to redirect them to the hotspot login.html page, then have a default user/password on that page and have the login form submitted by a javascript function on page load? That is basically what happens if you use a remote server login.html doc.
what i do until now, is a simple hotspot with one user with 1000 shared users.
the limit is 1M down and 0.3 up.
in the login pages i just have a button and when the user clicks it, he is logged in.
i want to keep all that.
i just want to find a way to keep all this without each customer to have to open his broswer to click the login btn.
the problem is that 90% of customers in hotels use smartphones and tablets and almost all of the them, when they connect to the wirelles ap, they try to open their applications (facebook, youtube, ect). very few of them open their broswer.
then they start complains for not having internet becouse they didn’t just open their broswer to login…
I have searched a lot for this solution but i didn’t find anything to work like that with mikortik devices.
Two options:
Option 2 should work fine, but you will loose the ability to see who’s ‘online’ , but a quick check of the Bridge Host table (assuming you have a bridge) will show you how many devices are connected to the network using the L2 network.
First options - no way this can be done.
For the second - how i can limit EACH device with PCC queue ???
Sorrry, Typo! PCQ as listed above.
Thank you both
sure not the best solution for me but i will try
You could do it so the first ever time they ever use the service they would need to create an account using the browser. That could capture mac address and create a database entry with the mac as username. Then you can use mac auth and mac cookie to login the users. Then they should login automatically with mac auth as long as the database password is same as the defualt password in radius manager.