How to enable / disable wifi guest keeping the main wifi running?

Hello, I'm newbie (so sorry for some mistake).
I have come to ask for your help.
I have an 841nd (v7) with openWRT. In it I have a radio and two wifi networks, one for me and one for visitors. Both are working very well, the problem is that I want to activate the visiting network only from 11 am until 2 pm (from Tuesday to Saturday). As far as my personal network should remain enabled all the time.

I tried the wifischedule, but it turns off the radio so it disables my personal network, which is not what I want.

How can I configure to enable and disable only radio0.network2?

uci set wireless.@wifi-iface[-1].disabled="1"
uci commit wireless
wifi reload

https://openwrt.org/docs/guide-user/base-system/cron

2 Likes

Thanks @vgaetera!
Worked perfectly!

Includes the Scheduled Tasks in the visual interface.

#Enable the guest network from Tuesday to Saturday from 11:30 a.m. to 1:00 p.m.
30 11 * * 2-6 uci set wireless.@wifi-iface[-1].disabled="0" && uci commit wireless && wifi reload
00 13 * * 2-6 uci set wireless.@wifi-iface[-1].disabled="1" && uci commit wireless && wifi reload

Thank you very much!

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.