aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-02-28 11:08:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-02-28 11:08:04 +0000
commitd3de0b95a53022fc96df3dbb68a4c7dffa0328c7 (patch)
treeb398fb4ba765f1e8ef666a7c0e6ef5bff06ec678 /target/linux
parentcad7ddfdc02df0c36e44aca9e3cb6e29769e0f7f (diff)
downloadupstream-d3de0b95a53022fc96df3dbb68a4c7dffa0328c7.tar.gz
upstream-d3de0b95a53022fc96df3dbb68a4c7dffa0328c7.tar.bz2
upstream-d3de0b95a53022fc96df3dbb68a4c7dffa0328c7.zip
ar71xx: adjust ew-dorin platform for LAN+WAN setup
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39763 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network5
1 files changed, 3 insertions, 2 deletions
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 fd38ffa015..9a1a285a39 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -311,9 +311,10 @@ wzr-hp-g450h)
;;
ew-dorin)
- ucidef_set_interface_lan "eth0"
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
- ucidef_add_switch_vlan "switch0" "1" "0 1 2 3"
+ ucidef_add_switch_vlan "switch0" "1" "0t 1 2"
+ ucidef_add_switch_vlan "switch0" "2" "0t 3"
;;
ew-dorin-router)