I am a bit stuck with a hotspot not trapping http sessions in case when internet connection of MT box is down.
In case of the internet being down the client web browser will try to connect a web page, will fail because the DNS can not be resolved and client will get just a “not found” error page. It is a bit bad because the hotspot will not get called. When the DNS can be resolved the hotspot will kick in and it will do its magic and everyone is happy.
How to make the hotspot active when the internet connection is down?
The DNS is the problem, as you have seen. It must resolve to IP before it redirects. Of course, if the Internet is down, then your users are going to get a page not found even if they are able to login, once they try to access the Internet… So, why does it matter? Either way, they can’ access the Internet if the Internet connection is down.
If you REALLY want it to work, though, you need to setup a DNS server that can return SOMETHING/ANYTHING when a lookup fails… and then use that DNS server instead of whatever you are currently using.
It should be advisable to have them browse some Walled Garden local page instead of getting an error.
If you REALLY want it to work, though, you need to setup a DNS server that can return SOMETHING/ANYTHING when a lookup fails… and then use that DNS server instead of whatever you are currently using.
Yes, but how to capture the DNS time-out and send “something back” to the clients?
write a script to check if the net is down. If it is, then create a catch all dns entry using regex, just remember to take it off once the internet comes back on.
The problem is that if you use the regex DNS, for example. ‘*’ Works well, unless it is the example URL: www.google.com / search, after ‘/’ and a word you get the error 404. Is there a regex expression to solve this in static DNS?
thanks