Community discussions

MikroTik App
 
peterpan15
just joined
Topic Author
Posts: 11
Joined: Wed Sep 04, 2019 9:47 am

shut down wifi if no Internet

Mon Dec 09, 2019 1:59 pm

Hi everyone,

I have a bunch of mobile phone users using a password protected Mikrotik wifi Internet access for free.
In case of Internet connectivity outage, the clients are not be able to use their local mobile LTE Internet connection (Android devices) as they keep connected to the AP.
These are elderly people who are not able to identify the problem and switch off wifi on their devices.

Does anyone have an idea how to switch off the Mikrotik wifi in case the Internet connection is down?

Many thanks in advance,
Peter
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: shut down wifi if no Internet

Mon Dec 09, 2019 6:41 pm

You could use netwatch, when the internet is down, you could with a simple script disable the wifi interface, when Up then enable it...
 
peterpan15
just joined
Topic Author
Posts: 11
Joined: Wed Sep 04, 2019 9:47 am

Re: shut down wifi if no Internet

Wed Dec 11, 2019 8:58 am

Thanks, this should do it,
Peter

Who is online

Users browsing this forum: Mosfet, xxdreamxx and 37 guests