From d83750083d283f1c7bee89f1b8f3d0b20ff1e4cc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 28 Feb 2014 11:08:04 +0000 Subject: [PATCH] ar71xx: adjust ew-dorin platform for LAN+WAN setup Signed-off-by: Embedded Wireless GmbH SVN-Revision: 39763 --- target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 5 +++-- 1 file 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)