Disable physical button (wifi toggle)

Hi guys, I've a netgear R7800 and I'm using openwrt 19.07 (hnyman's build).

The R7800 has a physical button that acts as a toggle for the wifi radios (it has two actually, there's a second for wps I guess?).

The thing is, my cat loves to sit on top of the router and sometimes he accidentally pushes this button causing the wifi to go down.

Is there a way I can disable this button via software?

echo true > /etc/rc.button/rfkill
echo true > /etc/rc.button/wps

???

3 Likes

You can also just chmod -x the /etc/rc.button script to disable the button from doing anything.

2 Likes

definitely get some more buttons…: https://people.com/pets/steve-cat-talking-buttons/

1 Like

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