Here is the code to resolve it and the workaround for the issue encountered.
If you would like to have the POWER led flash intermittently Orange and fixed Blue after PowerUp and
the WAN planet flash Blue on Link, Transmit and Receive signals,
run this code through SSH console:
====================================================
Code: Select all
uci set system.led_wan_orange=led
uci set system.led_wan_orange.sysfs=d-link:orange:planet
uci set system.led_wan_orange.default=0
uci set system.led_wan_blue=led
uci set system.led_wan_blue.default=1
uci set system.led_wan_blue.sysfs=d-link:blue:planet
uci set system.led_wan_blue.trigger=netdev
uci set system.led_wan_blue.dev=eth1
uci set system.led_wan_blue.mode=link,tx,rx
uci set system.led_power_orange=led
uci set system.led_power_orange.sysfs=d-link:orange:power
uci set system.led_power_orange.default=0
uci set system.led_power_blue=led
uci set system.led_power_blue.sysfs=d-link:blue:power
uci set system.led_power_blue.default=1
uci commit system
The code should run with no errors however on line 9 I purposely introduced one to allow the code to run and update /etc/config/system file. The actual code for the line is
uci set system.led_wan_blue.mode=link tx rx
but in my case it would not run.
After running the code above go into /etc/config/system and as explained make the following change:
In /etc/config/system find the section
"config led 'led_wan_blue'
option sysfs 'd-link:blue:planet'
option trigger 'netdev'
option dev 'eth1'
option default '1'
option mode 'link,tx,rx'"
in option mode line replace the commas with spaces.
It should look like this:
config led 'led_wan_blue'
option sysfs 'd-link:blue:planet'
option trigger 'netdev'
option dev 'eth1'
option default '1'
option mode 'link tx rx'
Save and reboot. Done!
Gargoyle 1.12.0 fat version - DIR-825 Hardware B1