Page 1 of 2

TP-Link Archer C7 - Hardware buttons

Posted: Thu May 02, 2019 2:15 am
by ispyisail
Research on buttons

Reference
https://openwrt.org/toh/tp-link/archer- ... re_details


C7 v1
Button count = 1
Image

C7 v2
Button count =1
Image

C7 v3
Button count =1
Image

C7 v4
Button count = 2
Image

C7 v5
Button count = 2
Image

Re: TP-Link Archer C7 - Hardware buttons

Posted: Thu May 02, 2019 2:39 am
by ispyisail
I've doubled check the wiki using pictures from the various manuals.

Look like the wiki has v1 as incorrect?

Not sure why they changed the "wifi on/off" with a "reset" button?

Re: TP-Link Archer C7 - Hardware buttons

Posted: Thu May 02, 2019 2:46 am
by ispyisail
from the manual
WPS/Reset:
Pressing this button for less than 5 seconds enables the WPS function. If your client devices,
such as wireless adapters, that support Wi-Fi Protected Setup, then you can press this
button to quickly establish a connection between the router and client devices and
automatically configure wireless security for your wireless network.
Pressing this button for more than 5 seconds enables the Reset function. With the router
powered on, press and hold the WPS/Reset button (approximately 8 seconds) until the SYS
LED becomes quick-flash from slow-flash. And then release the button and wait the router
to reboot to its factory default settings.
How about adding the WPS function to Gargoyle?
WPS doesn't work out of the box on OpenWrt or LEDE, you need to remove wpad-mini and install wpad and hostapd-utils, reboot, and then you should see the option to enable WPS in Luci under Network>Wireless>Wireless Security. In my experience, WPS actually working is hit or miss, although it works fine on my WRT1200 v1 on LEDE.
Does anybody use WPS?

Re: TP-Link Archer C7 - Hardware buttons

Posted: Thu May 02, 2019 3:06 am
by Lantis
WPS is a bit of a hassle to add and a big security issue. Would prefer not to.
I’m not sure I follow all the pictures. Are you saying the pictures are wrong?

Re: TP-Link Archer C7 - Hardware buttons

Posted: Thu May 02, 2019 3:40 am
by ispyisail
The pictures are accurate but the wiki has one mistake

The wiki says

C7 v1
Button count = 2

were in fact it should say

C7 v1
Button count = 1

Re: TP-Link Archer C7 - Hardware buttons

Posted: Thu May 02, 2019 3:41 am
by ispyisail
OK, forget WPS. I was just putting it out there.

Re: TP-Link Archer C7 - Hardware buttons

Posted: Thu May 02, 2019 8:36 pm
by ispyisail
How about

v1 - v3
WPS/Reset Button:
Short Press = Reboot router/reset
Long Press = Factory reset

v4 - v5
WPS/Reset Button:
Short Press = Toggle wifi on/off
Long Press = Factory reset

Reset Button:
Short Press = Reboot router/reset
Long Press = Factory reset

Re: TP-Link Archer C7 - Hardware buttons

Posted: Fri May 03, 2019 2:01 am
by ektus
ispyisail wrote: v4 - v5
WPS/Reset Button:
Short Press = Toggle wifi on/off
Long Press = Factory reset

Reset Button:
Short Press = Reboot router/reset
Long Press = Factory reset
Wouldn't it be better to have an "erase usage data" for long press on the WPS button? That way, if there were a reboot loop due to corrupt usage data, it could be fixed without having to resort to using command line tools or having to set up from scratch.

Re: TP-Link Archer C7 - Hardware buttons

Posted: Sat May 04, 2019 9:55 pm
by ispyisail
update on the C7 v2

The "wifi on/off" side switch = rfkill

The WPS/Rest P/B = wps

Re: TP-Link Archer C7 - Hardware buttons

Posted: Sat May 04, 2019 10:48 pm
by ispyisail
I can confirm that when edited

Code: Select all

config button 'reset_button'
	option button 'reset'
	option action 'released'
	option handler 'logger restore defaults ; /sbin/firstboot -y; reboot ;'
	option min '3'
	option max '90'
to

Code: Select all

	option button 'wps'
That the C7 v2 factory resets

I can also confirm the "wifi switch" when toggled in both directions reboots the router

Code: Select all

config button 'reboot_button'
	option button 'rfkill'
	option action 'released'
	option handler 'logger reboot ; /usr/lib/gargoyle/reboot.sh ;'
	option min '3'
	option max '90'