X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Fetc%2Fuci-defaults%2F02_network;h=af8725e8975b6dfe8b0f5ba338aa4c8ccf385f88;hp=c3e6f15efa1873a3ce681fb65eb261c82d73149f;hb=2c72ffc154c70b371a93f179587d899bbba921ca;hpb=7388053ba326ccf9bce136136f1534645317b171 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 c3e6f15efa..af8725e897 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -46,13 +46,15 @@ ap136-010) ap136-020 |\ ap135-020 |\ -tl-wr1043nd-v2) +tl-wr1043nd-v2 |\ +wzr-450hp2) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" ucidef_add_switch_vlan "switch0" "2" "5 6" ;; +archer-c5 |\ archer-c7 |\ tl-wdr4900-v2) ucidef_set_interfaces_lan_wan "eth1" "eth0" @@ -65,7 +67,8 @@ db120 |\ rb-2011l | \ rb-2011uas |\ rb-2011uias |\ -rb-2011uas-2hnd) +rb-2011uas-2hnd|\ +rb-2011uias-2hnd) ucidef_set_interfaces_lan_wan "eth0.1 eth1" "eth0.2" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5" @@ -74,7 +77,7 @@ rb-2011uas-2hnd) ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 4 5" case "$board" in - rb-2011uas* | rb-2011uias) + rb-2011uas* | rb-2011uias | rb-2011uias-2hnd) ucidef_set_interface_raw "sfp" "eth0.3" ucidef_add_switch_vlan "switch0" "3" "0t 6" ;; @@ -198,10 +201,12 @@ tl-wr941nd) ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" ;; +smart-300 | \ tl-mr3420-v2 |\ tl-wr841n-v8 |\ tl-wr842n-v2 |\ wnr2000-v3 |\ +wnr2000-v4 |\ wnr2200 |\ wnr612-v2) ucidef_set_interfaces_lan_wan "eth1" "eth0" @@ -240,7 +245,7 @@ dir-825-c1) ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4" ucidef_add_switch_vlan "switch0" "2" "0t 5" - mac=$(mtd_get_mac_ascii nvram "^wan_mac") + mac=$(mtd_get_mac_ascii nvram "wan_mac") [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac" ;; @@ -255,6 +260,7 @@ mynet-n750) ;; dir-835-a1 |\ +wndr3700v4 | \ wndr4300) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" @@ -282,6 +288,7 @@ bullet-m |\ cap4200ag |\ eap300v2 |\ eap7660d |\ +loco-m-xw |\ mr600 |\ mr600v2 |\ rb-411 |\ @@ -342,6 +349,7 @@ hiwifi-hc6361 |\ ja76pf |\ mynet-n600 |\ oolite |\ +qihoo-c301 |\ rb-750 |\ rb-751 |\ tew-632brp |\