Community discussions

MikroTik App
用户头像
nick3dos
Member Candidate
Member Candidate
主题作者
Posts: 189
加入: Fri Apr 29, 2011 11:03 pm
Location:Greece

Hotspot login without to open any browser?

Thu Feb 13, 2014 12:23 pm

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 ????
Top
SurferTim
Forum Guru
Forum Guru
Posts: 4636
加入: Mon Jan 07, 2008 10:31 pm
Location:Miramar Beach, Florida

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 2:34 pm

If you are not depending on the mac address, how will you know which client it is when the device gets an ip?
Top
用户头像
nick3dos
Member Candidate
Member Candidate
主题作者
Posts: 189
加入: Fri Apr 29, 2011 11:03 pm
Location:Greece

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 2:36 pm

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.
Top
SurferTim
Forum Guru
Forum Guru
Posts: 4636
加入: Mon Jan 07, 2008 10:31 pm
Location:Miramar Beach, Florida

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 2:50 pm

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!
Code:Select all
/ip hotspot disable 0
Repeat for all hotspots.
Top
用户头像
nick3dos
Member Candidate
Member Candidate
主题作者
Posts: 189
加入: Fri Apr 29, 2011 11:03 pm
Location:Greece

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 2:57 pm

:lol:
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
Top
SurferTim
Forum Guru
Forum Guru
Posts: 4636
加入: Mon Jan 07, 2008 10:31 pm
Location:Miramar Beach, Florida

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 3:37 pm

:lol:
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
Top
用户头像
nick3dos
Member Candidate
Member Candidate
主题作者
Posts: 189
加入: Fri Apr 29, 2011 11:03 pm
Location:Greece

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 3:49 pm

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.
Top
SurferTim
Forum Guru
Forum Guru
Posts: 4636
加入: Mon Jan 07, 2008 10:31 pm
Location:Miramar Beach, Florida

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 11:04 pm

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.
Top
用户头像
nick3dos
Member Candidate
Member Candidate
主题作者
Posts: 189
加入: Fri Apr 29, 2011 11:03 pm
Location:Greece

Re: Hotspot login without to open any browser?

Thu Feb 13, 2014 11:36 pm

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.
Top
用户头像
TheWiFiGuy
Member
Member
Posts: 351
加入: Thu Nov 24, 2011 7:26 pm
Location:UK

Re: Hotspot login without to open any browser?

Fri Feb 14, 2014 12:43 am

Two options:

1) Educate clients using in room table cards telling them how to use the WiFi
2) Disable hotspot and instead use a PCC queue to limit each user to 1M/0.3MB

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.
Top
用户头像
nick3dos
Member Candidate
Member Candidate
主题作者
Posts: 189
加入: Fri Apr 29, 2011 11:03 pm
Location:Greece

Re: Hotspot login without to open any browser?

Fri Feb 14, 2014 9:23 am

First options - no way this can be done.
For the second - how i can limit EACH device with PCC queue ???
Top
SurferTim
Forum Guru
Forum Guru
Posts: 4636
加入: Mon Jan 07, 2008 10:31 pm
Location:Miramar Beach, Florida

Re: Hotspot login without to open any browser?

2014年2月14日,星期五下午收窄

Top
用户头像
TheWiFiGuy
Member
Member
Posts: 351
加入: Thu Nov 24, 2011 7:26 pm
Location:UK

Re: Hotspot login without to open any browser?

Fri Feb 14, 2014 1:41 pm

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.
Top
用户头像
nick3dos
Member Candidate
Member Candidate
主题作者
Posts: 189
加入: Fri Apr 29, 2011 11:03 pm
Location:Greece

Re: Hotspot login without to open any browser?

Fri Feb 14, 2014 3:18 pm

Thank you both
sure not the best solution for me but i will try
Top
spire2z
Long time Member
Long time Member
Posts: 516
加入: Mon Feb 14, 2005 2:48 am

Re: Hotspot login without to open any browser?

Fri Feb 14, 2014 7:43 pm

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.
Top

Who is online

Users browsing this forum:aboiles,Amazon [Bot],anc,Bing [Bot],eworm,Kindis,Nederetu,the2masters,thejonathanand 70 guests