GL-SFT1200 Use Mode Switch for WLAN ON/OFF

Hi,

Is it possible to use the mode switch to switch the whole WLAN on/off and how can I realise it?

Thanks for Help.

You can modify the actions executed by the switch by modifying the /etc/rc.button/switch script.

Hi, thanks for your answere.
Unlikly there is no “Switch” in /etc/Rc.Button:

Bild_2023-01-17_141125061

Can I edit the right file with Nano? and what have I write down there?
on my Rapsberry I use the command:

$ sudo rfkill (un)block WLAN

On my GL.Inet there is something missing for rfkill:
Bild_2023-01-17_142040380

Thanks again.

It is BTN_1. Sorry, some models are named differently.