Netgear R6700v3 - Night Mode - Turn off leds

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
Baja
DD-WRT Novice


Joined: 22 Dec 2008
Posts: 18

PostPosted: Sun May 10, 2020 22:16    Post subject: Netgear R6700v3 - Night Mode - Turn off leds Reply with quote
Hi,

DD-WRT v3.0-r43099 std (05/09/20)

Anyone have Night Mode working on their R6700v3 by chance?

Netgear AC1750 R6700v3:

https://wiki.dd-wrt.com/wiki/index.php/Netgear_R6700v3

(nearly identical to r6400v2)

https://wiki.dd-wrt.com/wiki/index.php/Netgear_R6400v2

I've looked over a few posts that may help lead the way, although they are for different routers:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1147012

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1144793


For the R7000:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1061304
Sponsor
Baja
DD-WRT Novice


Joined: 22 Dec 2008
Posts: 18

PostPosted: Sun May 10, 2020 23:42    Post subject: Reply with quote
I've had some success with the following:
Code:

for i in 1 2 8 9 12 13 ; do gpio enable $i; done
for i in 10 11 ; do gpio disable $i ; done


I'll have to play around with the numbers a bit, however, as some are being shut off, whereas others are not.

I get an error with this:
Code:

for i in 1 2 8 9 12 13 ; do gpio enable $i; done
for i in 10 11 ; do gpio disable $i ; done
et robowr 0x0 0x16 0x0


/tmp/custom.sh: line 3: et: not found
Baja
DD-WRT Novice


Joined: 22 Dec 2008
Posts: 18

PostPosted: Mon May 11, 2020 3:34    Post subject: Reply with quote
This is a work in progress. I'll update again after more discovery and testing.

Lights in order from left to right based on router itself

Code:


GPIO #    LED       Notes
0
1      Power      Enable/Disable LED (gpio enable 1 turns led off)
2      Power      Toggle Led Coler (White/Amber)
3
4
5      Reset      Full Reset (gpio disable 5 resets router - or maybe it was enable, I forget now; requires user/password update; not an led, obviously)
6      Internet   Enable/Disable Led (gpio enable 6 turns led off)
7      Internet   Toggle Led Color (White/Amber)

?      Ethernet 1
?      Ethernet 2
?      Ethernet 3
?      Ethernet 4

8      2.4 GHz      Enable/Disable Led (gpio enable 8 turns led off)
9      5 GHz      Enable/Disable Led (gpio enable 9 turns led off)
12      Guest WiFi    Enable/Disable Led (gpio enable 12 turns led off)
13      USB 3.0      Enable/Disable Led (gpio enable 13 turns led off)
10      WiFi On/Off   Enable/Disable Led (gpio disable 10 turns led off)
11      WPS         Enable/Disable Led (gpio disable 11 turns led off)


Last edited by Baja on Mon May 11, 2020 17:14; edited 8 times in total
Baja
DD-WRT Novice


Joined: 22 Dec 2008
Posts: 18

PostPosted: Mon May 11, 2020 3:36    Post subject: Reply with quote
jxm wrote:
Put this in your startup script on the Administration / Commands tab

#!/bin/sh
#
for i in 2 3 8 9 12 13 17 18 ; do gpio enable $i ; done
for i in 14 15 ; do gpio disable $i ; done
et robowr 0x0 0x18 0x1ff
et robowr 0x0 0x18 0x0
et robowr 0x0 0x1a 0x0
et robowr 0x0 0x16 0x0

Save and reboot.

Cheers


Thanks jxm!

I submitted my last before I saw your post. Going to give this a go.
Baja
DD-WRT Novice


Joined: 22 Dec 2008
Posts: 18

PostPosted: Mon May 11, 2020 4:37    Post subject: Reply with quote
Okay, This is what's working so far, based on my above discovery:

Code:

#!/bin/sh
#
for i in 1 6 8 9 12 13 ; do gpio enable $i ; done
for i in 10 11 ; do gpio disable $i ; done


The following still gives me errors:
Code:

et robowr 0x0 0x18 0x1ff
et robowr 0x0 0x18 0x0
et robowr 0x0 0x1a 0x0
et robowr 0x0 0x16 0x0


I assume those are for the Eth. ports 1-4? I've yet to get those turned off.

@jxm enable 17, 18 and disable 14, 15 did nothing.
Baja
DD-WRT Novice


Joined: 22 Dec 2008
Posts: 18

PostPosted: Mon May 11, 2020 5:50    Post subject: Reply with quote
Since et wasn't included in the build I'm using (and why my initial error), I grabbed it from here:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1181821 (I'm attaching a copy for convenience and future reference.)

Initially I tried installing et to /tmp but, it was gone on reboot so, I turned on and cleaned JFFS and rebooted per the following instructions (I had plenty of space)

https://wiki.dd-wrt.com/wiki/index.php/JFFS_File_System#Directions_for_.28normal.29_users:_using_Web-GUI_Interface

After wget the et file into the /jffs directory and chmod +x it and setting the path in the startup script etc. all seems to be working well:

Code:
#!/bin/sh
#
for i in 1 6 8 9 12 13 ; do gpio enable $i ; done
for i in 10 11 ; do gpio disable $i ; done
/jffs/et robowr 0x0 0x18 0x1ff
/jffs/et robowr 0x0 0x18 0x0
/jffs/et robowr 0x0 0x1a 0x0
/jffs/et robowr 0x0 0x16 0x0



et.zip
 Description:
et

Download
 Filename:  et.zip
 Filesize:  5.25 KB
 Downloaded:  66 Time(s)

@m0eb@
DD-WRT User


Joined: 26 Dec 2015
Posts: 283

PostPosted: Sun Aug 09, 2020 3:26    Post subject: LAN1 light neved goes OFF Reply with quote
Connect your ethernet cable to LAN connection 1. Let the light be ON indicating that there is a connection.

Then run your commands.Does the LAN1 LED go off?
Have you checked this? (Because when no cable is connected, this light is naturally off, and the commands will seem to work.)

This light never goes off - even after running the commands you posted and that is my specific problem for past 2 years. Not a big problem, but something I am yet to see a solution for.

And if you are using Kong's dd-wrt, et is included by default.

_________________
PROFESSIONAL STUDENT
my.Mistakes my.Learning ... provided I have the patience & persistence to learn
Baja
DD-WRT Novice


Joined: 22 Dec 2008
Posts: 18

PostPosted: Sun Aug 09, 2020 3:53    Post subject: Re: LAN1 light neved goes OFF Reply with quote
@m0eb@ wrote:
Connect your ethernet cable to LAN connection 1. Let the light be ON indicating that there is a connection.

Then run your commands.Does the LAN1 LED go off?
Have you checked this? (Because when no cable is connected, this light is naturally off, and the commands will seem to work.)

This light never goes off - even after running the commands you posted and that is my specific problem for past 2 years. Not a big problem, but something I am yet to see a solution for.

And if you are using Kong's dd-wrt, et is included by default.


I think you're right about Lan Port 1. It's orange and flashing when something is plugged in, where as the other 3 are turned off.

Can I assume this is the line for the first lan port?
Code:
/jffs/et robowr 0x0 0x18 0x1ff


Perhaps it's not correct? Would be nice to have it turned off as well but, currently I'm only using three ports, so I lucked out.

I'm using DD-WRT v3.0-r43099 std (05/09/20) and if I remember correctly, why I had to add et manually.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum