Hello, I'm new to the OpenWRT firmware, I'm finding it challenging to configure my leds to their default settings.
I've been looking for a while because I don't really know what I'm doing, but there isn't a topic about C7 or A7 (since they're similar) on how to configure these leds.
Here are some info that may be useful; let me know if you need anything else.
The available LED names are as follows: green:lanX for the switch ports I want to light up when having connection, and green:wan for the main LED, that hopefully should work in the same way.
My cat /etc/config/system
, which I'm pretty sure isn't correct.
config system
option hostname 'OpenWrt'
option timezone 'UTC'
option ttylogin '0'
option log_size '64'
option urandom_seed '0'
config timeserver 'ntp'
option enabled '1'
option enable_server '0'
list server '0.openwrt.pool.ntp.org'
list server '1.openwrt.pool.ntp.org'
list server '2.openwrt.pool.ntp.org'
list server '3.openwrt.pool.ntp.org'
config led
option name 'WAN'
option sysfs 'green:wan'
option trigger 'netdev'
list mode 'link'
list mode 'tx'
list mode 'rx'
option dev 'eth0'
config led
option name 'LAN1'
option sysfs 'green:lan1'
option trigger 'netdev'
option dev 'eth0.1'
list mode 'link'
config led
option name 'LAN2'
option sysfs 'green:lan2'
option trigger 'netdev'
option dev 'eth0.2'
list mode 'link'
config led
option name 'LAN3'
option sysfs 'green:lan3'
option trigger 'netdev'
option dev 'eth0.3'
config led
option name 'LAN4'
option sysfs 'green:lan4'
option trigger 'netdev'
option dev 'eth0.4'
These are my VLANs
And finally, these are the devices that show up when selecting the trigger 'Network device activity (kernel: netdev)':
Currently, I just want to make it work like it did before I messed with it, blinking on the right ports when having connection. Thanks in advance.
NOTE: Only ports 2 and 4 (as shown in print screen) are active currently, but with the current config it's showing as ports 1 and 2