ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 02_network
index 20f34d50da297a33b50e07cbf4b79a7f399f7d15..b62fe859b1aa5801375c4c12892ac79051eeaa83 100644 (file)
@@ -30,11 +30,12 @@ wlr8100)
        ucidef_add_switch_vlan "switch0" "2" "0t 1"
        ;;
 
-esr1750)
+esr1750 |\
+epg5000)
        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"
+       ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4"
+       ucidef_add_switch_vlan "switch0" "2" "0t 5"
        ;;
 
 ap136-010)
@@ -312,11 +313,13 @@ mr900 |\
 mr900v2 |\
 rb-411 |\
 rb-911g-2hpnd |\
+rb-911g-5hpacd |\
 rb-911g-5hpnd |\
 rb-912uag-2hpnd |\
 rb-912uag-5hpnd |\
 rb-sxt2n |\
 rb-sxt5n |\
+rocket-m-xw |\
 tl-mr10u |\
 tl-mr11u |\
 tl-mr12u |\
@@ -341,6 +344,7 @@ wp543)
        ucidef_set_interface_lan "eth0"
        ;;
 
+antminer-s1 |\
 dir-505-a1)
        ucidef_set_interface_lan "eth1"
        ;;
@@ -359,6 +363,17 @@ wpe72)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
        ;;
 
+wpj344)
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0t 3"
+       ucidef_add_switch_vlan "switch0" "2" "0t 2"
+       ;;
+
+wpj531)
+       ucidef_set_interfaces_lan_wan "eth0" "eth1"
+       ;;
+
 wpj558)
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
@@ -368,6 +383,7 @@ wpj558)
 
 ap121 |\
 ap121-mini |\
+ap143 |\
 ap96 |\
 airrouter |\
 dir-600-a1 |\