How do I set device_name when four LAN ports (eth1, eth2, eth3, eth4) share an LED?
Echo "????" > /sys/class/leds/led_lan/device_name
How do I set device_name when four LAN ports (eth1, eth2, eth3, eth4) share an LED?
Echo "????" > /sys/class/leds/led_lan/device_name
Have you tried to use the netdev
trigger? You can change the settings in LED Configuration in LuCI or edit the /etc/config/system
file through SSH.
You need something like this:
config led 'led_lan'
option name 'lan'
option sysfs 'tdw89x0:green:wifi'
option default '0'
option trigger 'netdev'
option dev 'br-lan'
option mode 'tx rx link'
thank you very much !
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.