login page not open when no internet

Hay,
i face a porblem that when i loose internet from isp and any hotspot user even (wired or wireless) try to login through hotspot login ,the page not open until the internet return pack again.
Is there any way that when there is no internet connection they will transfer to page show that there is internet problem and if there is no problem and internet working the user will go to login page.

It’s not possible in automatic way, only possible with scripts that monitor whether gateway is reachable and perform changes when it is not.

Hi Sergejs,

this is a often asked feature for (W)ISPs. It would be great if an error side can be shown to the user using normal MT hotspot technologies, but working also without DNS.

So all http requests can be simple redirected to this error page, if their is temporaly no uplink available. This should also be useable on the MT-CPEs at customer side in case the AP is down or any other problem which can be occur.


Regards
Lutz

It’s possible with proxy and redirect-to [which is enabled during gateway failure], but you need additional local network server that will host ‘informational web-page’.

There’s an easier way without a separate device on your network now - as RouterOS now support regex-style static DNS entries.

You can monitor gateway availibility with a script. When the gateway fails, enable a wildcard static dns entry pointing to your hotspot and switch the hotspot html-directory to one containing your “sorry, we are down right now” page as login.html.

Just a thought…

Hay,
its good idea but the problem that when the internet is down i cant conect to my server from home to change the profile.
If there is way that if the internet down he got sorry page and if internet working its open normally.

Hi,

yes, netwatch can trigger scripts depending on reaching a destination or not.

Regards
Lutz

Hi,

Did anyone come up with a script for this? We want to use our hotspot page for error, so we simply need to go to login page when there is no DNS.

We’ve setup a Network Status section with an OBJECT tag with three potentials.

Green.jpg - hosted on server on the web
Orange.jpg - Hosted on our internal RADIUS Server
Red.jpg - Hosted on the local router.

So it simply steps down if it can’t find one. However, without resolving the customer can only get the “address not found” page. If anyone is able to share a netwatch or regex-style static DNS that would be fantastic! :slight_smile: