stangri
November 24, 2016, 8:51pm
1
With the image generated by Gl-Inet Image Builder I’m able to control brightness of wan and wlan, however that doesn’t seem to work for lan LED.
The trigger is set to none, however when I toggle brightness to 0, the LED doesn’t dim, it stays on.
How can I control the lan LED from shell?
stangri
November 28, 2016, 10:39am
4
So is it possible to control the LAN led on MT300N?
alzhao
November 28, 2016, 11:05am
5
yes, of curse.
ls /sys/class/leds/
You will find the led, then use “echo 0|1 > /sys/…” to control it.
stangri
November 28, 2016, 3:27pm
6
Right, I’ve tried that before posting and “echo 0 > /sys/class/leds/gl-mt300n:lan/brightness” does absolutely nothing. Unlike WAN and WLAN leds, LAN led doesn’t seem to be affected by that at all!
alzhao
November 30, 2016, 1:02am
7
i need to check. But I am on vacation and need to do it later
stangri
November 30, 2016, 2:08am
8
Can you give me a rough idea when you’ll be able to check it?
Thanks and I hope you enjoy your vacation despite having to reply on this forum.
alzhao
December 1, 2016, 4:37pm
9
I will return to work next Wednesday
alzhao
December 8, 2016, 1:56pm
11
right, this LED cannot be controlled. Need to check if it is hardened.