SES Button on Netgear R7800 | GPIO Implementation needed

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
peter1969
DD-WRT Novice


Joined: 05 Sep 2016
Posts: 7

PostPosted: Tue Jan 29, 2019 14:53    Post subject: SES Button on Netgear R7800 | GPIO Implementation needed Reply with quote
I am running the DD-WRT v3.0-r38500M kongat on my R7800 and tried to set up the SES button like mentioned in the wiki. The script is not executed pressing the WPS button (even for 6s).

---Update---
Is the WiFi button considered to function as SES button or the WPS button in DD-WRT? These two physical buttons are available.
Missing implementation of the value 'sesgpio' in resetbutton.c for Netgear R7800 found... Confused

_________________
Inactive: Netgear R7800
Sponsor
jerrytouille
DD-WRT Guru


Joined: 11 Dec 2015
Posts: 1304

PostPosted: Wed Jan 30, 2019 13:42    Post subject: Reply with quote
+1 up vote this. good catch
peter1969
DD-WRT Novice


Joined: 05 Sep 2016
Posts: 7

PostPosted: Sat Feb 02, 2019 9:06    Post subject: Reply with quote
Thanks for the approval.

For that reason, ticket opened: https://svn.dd-wrt.com/ticket/6548

_________________
Inactive: Netgear R7800
peter1969
DD-WRT Novice


Joined: 05 Sep 2016
Posts: 7

PostPosted: Wed Jan 01, 2020 17:55    Post subject: Reply with quote
I used this startup script to turn on/off WLAN 2.4 GHz for my guests.
...btw my home network was only running on WLAN 5.0 GHz

Code:
# SES Button Script to turn on/off WLAN 2.4GHz for Guests
mkdir /tmp/etc/config/
echo "#!/bin/sh
if [ \`ip link show up ath1\` == "" ]; then
   gpio disable 0
   gpio enable 10
   ip link set ath1 up
   startservice lan
else
   gpio disable 10
   gpio enable 0
   ip link set ath1 down
fi" > /tmp/etc/config/guest_wlan_toggle.sesbutton
chmod +x /tmp/etc/config/guest_wlan_toggle.sesbutton

# Turn off WLAN 2.4GHz for Guests on Start/Reboot
ip link set ath1 down


~ Indicator ON ~
gpio disable 0 && gpio enable 10 ==> Power LED in Orange
~ Indicator OFF ~
gpio disable 10 && gpio enable 0 ==> Power LED in White

_________________
Inactive: Netgear R7800
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum