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)
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
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.
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)
Posted: Sun Aug 09, 2020 3:26 Post subject: LAN1 light neved goes OFF
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
Posted: Sun Aug 09, 2020 3:53 Post subject: Re: LAN1 light neved goes OFF
@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.
I recently updated to the latest build on my r6700v3 and had some issues getting the Ethernet leds to turn off at all, so I did some testing and I think I have it working really well now. Including the shut off of Ethernet Port 1 Led too, which is awesome! - I can use that port again lol.
Anyway, here is a gist of my discovery, including comments (which gives more context to what I'm writing here)
Note: /jffs/et robowr 0x0 0x18 0x0 - makes all 4 eth ports start to quickly flash white and this /jffs/et robowr 0x0 0x1a 0x0 turned them all off, including eth port 1.
Also note: this new two line method may work on the previous builds (I was on netgear-r6700v3-webflash-05-09-2020-r43099.bin previously) but, I didn't test it and can't say.
gpio changes:
Things that change between the above discoveries listed in this thread and this new gist that I'm linking to now...
Either the above lists were wrong and this new gist was right or stuff got flipped at some point between builds.
6 and 7 got flipped (7 now used in place of 6 in the for loop)
8 and 9 got flipped (no actual change to the for loops)
10 and 11 got flipped (no actual change to the for loop)
Anyway, the gist I linked to above has the updated commands for those looking for full night mode.
Last edited by Baja on Wed Nov 10, 2021 0:19; edited 1 time in total