My question is:
my router connects to the main router wirelessly. When I turn off the Wi-Fi with the button, the internet connection is completely disabled. Is it possible to configure it so that pressing the button only disables the access point but not the client?
I currently have three wireless networks: a client (phy1-sta0) on radio1 and two dual-band access points (phy1-ap0) and (phy0-ap0), on radio1 and radio0, respectively.
I'd like to disable only phy1-ap0 and phy0-ap0. Is this possible?
Probably wifitoggle disables all radios/interfaces, but you can do whatever you want by replacing the contents of /etc/rc.button/rfkill with a custom script.
Am I doing something wrong? When I press the button, the entire Wi-Fi network, both the client and the access point, still disconnects. And after turning on the button, this network that I edited remains disabled.
At the time I checked the network, the wifitoggle service was working. Now I have reset the settings to factory defaults and want to set everything up again.
I've already figured this out. My button is definitely named rfkill.
And the wifitoggle service works with this button; it just disables all Wi-Fi networks completely.