Disable Guest network but keep settings?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
wrtmonkey
Posts: 12
Joined: Sun Feb 24, 2013 6:28 pm

Disable Guest network but keep settings?

Post 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?

Lantis
Moderator
Posts: 6756
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Disable Guest network but keep settings?

Post 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.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply