Hello,
I have the hotspot Mikrotik. Everything is ok.
I just want to set a time frame when the wireles interface disabled
For example, 0:00 to 5:00 is Wireles off.
Someone advise me?
You can use scheduler:
/system scheduler add name="If_ff" start-date=jan/01/1970 start-time=00:00 interval=1d on-event="/interface wireless disable wlan1"
/system scheduler add name="If_on" start-date=jan/01/1970 start-time=05:00 interval=1d on-event="/interface wireless enable wlan1"
There are a few ways to do it.
1.) If you want to enable and disable it the same time every day, set up a scheduler to run a script that will disable it at a specific time with an interval of 24 hours and the same thing for enable.
2.) You can write a script that will grab the time and date variable from the system and enable/disable the wireless interface if it’s past a certain time.
3.) Not actually disabling the interface but you can set up an AP access list that will accept new associations at a given day and time range and reject them at another.
If you don’t have the board pointing to an NTP server, you will probably want to do that so it’s clock can remain consistent.
Hi,
thanks for all