Hotspot and Down Internet Connection
RouterOS general discussion

3 posts   •   Page 1 of 1
ravinmiist
just joined
 
Posts: 3
Joined: Tue Mar 20, 2007 11:47 pm

Hotspot and Down Internet Connection

by ravinmiist » Mon Apr 16, 2007 5:29 pm

I have a mikrotik acting in a hotspot. What I need to do is when the internet is down to redirect all traffic to a page on the mikrotik. I have setup the netwatch and setup a script to change the profile. The new profile has a page that is the internet is unavailable.

My problem for the unlogged in users it works fine. But for the login users it just shows page cannot be displayed.

Any and all help is appriciated on this subject.

User avatar
skillful
Long time Member
Long time Member
 
Posts: 535
Joined: Wed Sep 06, 2006 1:42 pm
Location: Abuja, Nigeria

by skillful » Mon Apr 16, 2007 9:23 pm

You need to add codes to logout all users in the script after the code to change the profile. This will ensure that the new profile applies to all users.

Try this code:

/ip hotspot active remove


Insert it in the script you are using to change the profile, below all other codes.

ravinmiist
just joined
 
Posts: 3
Joined: Tue Mar 20, 2007 11:47 pm

by ravinmiist » Tue Apr 17, 2007 5:02 pm

Is there a way to have it apply to current users but keep them logged in so when the internet comes back they don't have to log in again?

3 posts   •   Page 1 of 1

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 33 guests

It is currently Tue Dec 23, 2014 1:41 am