[OpenWrt-Devel] [PATCH] [ar71xx] wdr4300: Fixed default VLAN order

David Pinilla Caparrós dpinitux at gmail.com
Fri Jun 17 10:12:48 EDT 2016


Reordered the VLANs so the LAN ports are set to VLAN 1 and the WAN
port is set to VLAN 2, as in the other routers in the config file.
Moreover, this model had this VLAN mapping in OpenWRT Chaos Calmer. It
seems that the VLAN were switched when fixing a bug in the port mapping
( OpenWRT changeset 47799 )

Signed-off-by: David Pinilla Caparrós dpinitux at gmail.com



diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network
b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 67adf33..04cb3be 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -200,7 +200,7 @@ tellstick-znet-lite)
 tl-wdr4300|\
 tl-wr1041n-v2)
        ucidef_add_switch "switch0" \
-               "0 at eth0" "1:wan" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4"
+               "0 at eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"
        ;;

 tl-wr1043nd)
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list