Hi Afkar,

> The same thing if we connect only WAN cable and check "cat
> /sys/class/net/eth0.1/carrier" and "cat /sys/class/net/eth0.2/carrier"
> both returns "1" . But it should not be like this.

This is expected since both eth0.1 and eth0.2 are actually SoC
connection to the external switch ICs CPU port, those PCB traces are
always connected.

In order to get the link state for single ports on the external switch,
use the swconfig command.

~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to