Page 1 of 1

Disable Guest network but keep settings?

Posted: Sat Jan 02, 2016 10:38 pm
by wrtmonkey
I would like to setup a Guest network but only have it enabled when I have friends/family over. If I setup the network, then disable it, the settings are reset the next time I enable it. Is it possible to keep the settings but have the guest network disabled?

Re: Disable Guest network but keep settings?

Posted: Sat Jan 02, 2016 11:30 pm
by Lantis
you could add a "disabled 1" tag to the guest wireless network configuration.

to disable:

Code: Select all

uci set wireless.apg_g.disabled=1
uci commit wireless
wifi
to enable:

Code: Select all

uci set wireless.apg_g.disabled=0
uci commit wireless
wifi
Note that "apg_g" may not be the correct name of the guest network configuration.