Hallo,
The TP-Link Archer C7 v5 has a WIFI Button to switch the WIFI ON or OFF ,
but the WIFI Button is not working.
Is it needed to install a extra Packet ? If yes witch one ?
Hallo,
The TP-Link Archer C7 v5 has a WIFI Button to switch the WIFI ON or OFF ,
but the WIFI Button is not working.
Is it needed to install a extra Packet ? If yes witch one ?
By default the button is set to <KEY_WPS_BUTTON> and not <KEY_RFKILL>
The Button make nothing. How to make it working for ON and OFF funktion ?
By reading the link provided ?
Like this ?
opkg update
opkg install kmod-button-hotplug
mkdir -p /etc/hotplug.d/button
cat << "EOF" > /etc/hotplug.d/button/buttons
logger "the button was ${BUTTON} and the action was ${ACTION}"
EOF
Now press the button you want to use, then run logread.
Jan 1 00:01:15 OpenWrt user.notice root: BTN_1
Jan 1 00:01:15 OpenWrt user.notice root: pressed
Jan 1 00:01:16 OpenWrt user.notice root: BTN_1
Jan 1 00:01:16 OpenWrt user.notice root: released
This is all ?
Iam not a developer ....
Well, you need to adapt it so it matches you needs, but with what you've you should be able to see if the script gets triggered.
so i run in a terminal logread an than i see whats going on
I do seem to remember that the wifi button on the archer c7 worked out of the box in the past. I'm not able to test it currently, but for other routers I have used the wifitoggle package to accomplish the same functionality. May be worth a try on the c7.
edit: from what I remember, the wifitoggle package worked out of the box for me on a linksys e7350 using the wps button (default behavior). I did need to execute uci set wifitoggle.@wifitoggle[0].timer='0'in order for the wifi to stay off/on after a button push. The default behavior with the 600 timer setting is to reverse the action after a 10 minute period (ie turn wifi off if it was turned on by the button). Not sure why...
Thank You,
after i install wifitoggle and aktivate wifi in the Dashboard the Button is working.
Must i save something in the " Flash operations Configuration" that the Router not loose the Settings by an Upgrade ?
Wifitoggle's config is stored in /etc/config/wifitoggle. You can add this to the Configuration tab under Backup / Flash Firmware in Luci to preserve settings across sysupgrades.
Wonderful, because it isn't development.
That's the beginning to identify the button name and verify/log that it works.
Hallo,
after maybe 15 min. the WIFI switch OFF.
What is to to now, that the WIFI stay ON ?
I install wifitoggle and in the Terminal this:
uci set wifitoggle.@wifitoggle[0].timer='0'
After running uci set wifitoggle.@wifitoggle[0].timer='0', you need to run one more command to save the change. uci commit wifitoggle
Hallo,
Thank You, now it works ![]()