> There was no way to determine a working config, because
> the switch (ar8337) was not working previously.
>
> Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de 
> <https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>>
> ---
>  target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network 
> b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> index 3bbfe99..f288862 100755
> --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> @@ -22,15 +22,15 @@ ubnt-unifi-outdoor)
>       ucidef_set_interface_lan "eth0 eth1"
>       ;;
>  
> -ap132)
> +ap132 |\
> +wlr8100)
>       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
>       ucidef_add_switch "switch0" "1" "1"
>       ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
>       ucidef_add_switch_vlan "switch0" "2" "0t 1"
>       ;;
>  
> -ap136-010 |\
> -wlr8100)
> +ap136-010)
>       ucidef_set_interfaces_lan_wan "eth0" "eth1"
>       ucidef_add_switch "switch0" "1" "1"
>       ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
> -- 
> 1.8.4.4

Are you sure that eth1 is not used? In Archer C7 (which uses the same
SoC), for example, the second interface is connected to switch port 6.
It is then connected to the same VLAN as port 1 (WAN).

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

Reply via email to