Why is there a difference when using this command
between different devices
Device 1 :
root@qca120AP:/# cat /sys/class/leds/qca:amber:wan/trigger
none switch0 timer oneshot heartbeat default-on netdev
Device 2 :
root@TPLINK-GW:/# cat /sys/class/leds/WAN1:green:wan/trigger
none timer oneshot heartbeat default-on netdev
To be more precise in my question
I want to know why ( switch0 ) is appear in Device 1 and not in Device 2
Which makes switch0 is existing as a result of using this command , which kmod I missed in my kernel build
my referance is here https://openwrt.org/docs/guide-user/base-system/led_configuration#switch_connectivity
try to check if you have installed the following packages?
could you tell us what the exact model of the device is 2 ?
device 2 is tplink TD-W8970
Post configs back please. Using the terminal, ssh into router copy/paste the line below and execute the command.
ubus call system board; opkg list-installed
Probably none, what ports that are included in the Swith0 (or whatever name it has) is setup in the network DSA config and the wan port is maybe or maybe not included in the switch0 bridge per different devices. So start checking the DSA setup.