HOW to show always Hotspot login page without Internet?

Hi all,

I need to show the login page of my hotspot without having access to Internet.

The hotspot login page only works when internet connection is working. How can I show it always, without internet connection?

I know that I can see the page if I go to http://ROS_IP/login but I need to make this automatically, to all my DHCP users.

Thanks,

You need a wildcard DNS entry in the DNS server on the router else the client browsers will never do an HTTP get of anything. The DNS requests by the clients must resolve to something. It doesn’t matter if the address returned is not reachable because the hotspot will intercede before the GET is allowed.

But when they login.. how the system will work with this DNS?

Wich is the line I need to use?

The system will show them your Hotspot login page, if they are not logged in. Assuming you then authenticate them but still have no Internet connectivity, then the Internet doesn’t work. While your original question is poorly worded, if you are asking how to get everyone to the Hotspot login page when the Internet is not available, then I would do that with a netwatch script which deauthenticates everyone on the hotspot to force them all back to the login page; or, if the users were never logged in through a hotspot, then my script would enable a hotspot strictly for the purposes of telling the users that the Internet isn’t available right now.

The problem is that to access to Internet all the users have to install a cisco VPN program. Without this program they can’t connect to Internet. I need to show the instructions in the hotspot login page. The problem is that the users could connect to Internet with de cisco app but the RouterOS hotspot can’t get access to Internet because it don’t has the cisco VPN app.

Right, well then you can use what I said before. Add a wildcard DNS to allow the users’ browsers to resolve and then use the hotspot to return a page with instructions. The router does not need access to the internet to be able to do that because of the wildcard DNS capability. Try it with Internet access via the router and capture the packets going between the router and a sample user. That might help you make more sense of what I’m suggesting.

Hi,

I think it should work.
The DNS is only to resolve http, but I think that if I’m working with the VPN of CISCO this users don’t have to use the DNS of the RouterOS. Is this?