aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-11 15:31:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-11 15:31:18 +0000
commite356b49dcd3beb2fccd367ef5d4d469c7d06a1b0 (patch)
tree00ae57472d3e607938067e833abc1ccb3b992f71 /target
parentbf98da9c8025a90eb5e4ee45e92dab3239a8946f (diff)
downloadupstream-e356b49dcd3beb2fccd367ef5d4d469c7d06a1b0.tar.gz
upstream-e356b49dcd3beb2fccd367ef5d4d469c7d06a1b0.tar.bz2
upstream-e356b49dcd3beb2fccd367ef5d4d469c7d06a1b0.zip
ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30452 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network14
1 files changed, 10 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 174383405a..59d794f1d4 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -36,18 +36,24 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "rtl8366s" "2" "0 5t"
;;
- f5d8235-v2 | \
- wl-351)
+ f5d8235-v2)
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"
+ ucidef_add_switch_vlan "rtl8366rb" "1" "1 2 3 4 5t"
+ ucidef_add_switch_vlan "rtl8366rb" "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"
;;