Hello to all, is there any script or some configuration that after you connect to wifi, the browser in the pc/laptop/cell open automatically asking the username and password for surfing in the web?, I can’t find the way. Everything work good, but I must to open the web manually, and looks great if show automatically, is that possible?
Thank you very much.
The auto showing of the Hotspot login page in the device is something that must do the host itself, the router doesn’t have control over it. And it should be working if you didn’t change anything in the default web page the router uses for login.
What a device (Android, Apple, Windows, etc.) usually do is upon connection to a wifi network it’ll do an HTTP request to a specific website and check what’s the reply, if it detects the redirect then it knows it’s behind a hotspot and shows the login page.
They all do it like that, just the URL they use for the HTTP request changes.
Thanks for your reply, however, I didn’t change any in the page of hotspot, however I use this one: http://forum.mikrotik.com/t/responsive-mikrotik-login-page-github-source/96479/1
I think is the best and looks great!.
But, in the PC or notebook or cell phones, If you don’t click manually after WIFI connected nothing happen… I know what you say about the request of http to “start” the hotspot and redirect to login page… But I went to airport or some place that use Mikrotik with Hotspot and just one second after you connect to the WIFI, the browser open and ask the user and password…
That happen in the cell phone and in the notebook and it’s look great! and easy.
I think maby there must be a Script or some configuration missing in the mikrotik because the mikrotik lease and IP to the device automatically by dhcp after you connect to the WIFI network, so after that must send something for example to force to open “www.google.com.ar” and the hotspot know that must be login first.
Hey actually what I was referring to was that functionality. That’s how a device knows it’s behind a hotspot and opens the login web page for you almost upon connection to the wifi network.
In my experience with the default mikrotik web page it usually always works. If you changed it, you need to make sure you do it via a redirection and also make sure your walled garden is not allowing anything, else the redirection won’t happen.
Technically that’s the only way, the router can’t do anything to force the behavior you’re stating, since it’s the device itself that must do the test and decide whether to open you an app to login.
Just imagínate what would happen if we could make devices connecting to the Hotspot via the router open whatever we want.
Well, I really appreciate what you explained.
I changed the hotspot web for this one ( like I sad ) http://forum.mikrotik.com/t/responsive-mikrotik-login-page-github-source/96479/1
Can you check with you experience if that Login page has that option or Should I add or midify the code please?..