X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fuci-defaults%2Fnetwork;h=a17fad8e98266422d03bf17058c25d8c524b4f19;hb=467d4cf1997a6f093465e072e5336dfc53df4751;hp=2b8c1ab25461acc9a97db6cdcb3537c5f537c52a;hpb=f6ba1d4f8c058ad3e8bf63cbea901b148c3bfee3;p=openwrt.git diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 2b8c1ab254..a17fad8e98 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -16,7 +16,8 @@ ramips_setup_interfaces() ucidef_set_interface_loopback case $board in - all0256n) + all0256n | \ + wl-330n) ucidef_set_interface_lan "eth0.1" ;; @@ -30,18 +31,20 @@ ramips_setup_interfaces() ;; f5d8235-v1 | \ - rt-n15) + f5d8235-v2 | \ + v11st-fe) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" - ucidef_add_switch "rtl8366s" "1" "1" - ucidef_add_switch_vlan "rtl8366s" "1" "1 2 3 4 5t" - ucidef_add_switch_vlan "rtl8366s" "2" "0 5t" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t" + ucidef_add_switch_vlan "switch0" "2" "0 5t" ;; - f5d8235-v2) + rt-n15 | \ + wl-351) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" - ucidef_add_switch "rtl8366rb" "1" "1" - ucidef_add_switch_vlan "rtl8366rb" "1" "1 2 3 4 5t" - ucidef_add_switch_vlan "rtl8366rb" "2" "0 5t" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t" + ucidef_add_switch_vlan "switch0" "2" "4 5t" ;; rt-n56u) @@ -51,24 +54,10 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "2" "4 8t" ;; - v11st-fe) - ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" - ucidef_add_switch "switch0" "1" "1" - ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t" - ucidef_add_switch_vlan "switch0" "2" "0 5t" - ;; - wcr-150gn) ucidef_set_interface_lan_wan "eth0.2" "eth0.1" ;; - wl-351) - ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" - ucidef_add_switch "rtl8366rb" "1" "1" - ucidef_add_switch_vlan "rtl8366rb" "1" "0 1 2 3 5t" - ucidef_add_switch_vlan "rtl8366rb" "2" "4 5t" - ;; - wli-tx4-ag300n) ucidef_set_interface_lan "eth0" ;;