Community discussions

MikroTik App
 
ravinmiist
just joined
Topic Author
Posts: 3
Joined: Tue Mar 20, 2007 10:47 pm

Hotspot and Down Internet Connection

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
Trainer
Trainer
Posts: 552
Joined: Wed Sep 06, 2006 1:42 pm
Location: Abuja, Nigeria
Contact:

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
Topic Author
Posts: 3
Joined: Tue Mar 20, 2007 10:47 pm

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?

Who is online

Users browsing this forum: Ahrefs [Bot], apitsos, Bing [Bot], itsbenlol and 76 guests