From 334c572cd25a960e1ffc1f3f6889e8b66e0abd0b Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 29 Dec 2012 17:50:38 +0000 Subject: ramips: add user-space support for the Planex MZK-W300NH2 Router MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Samir Ibradžić Patchwork: http://patchwork.openwrt.org/patch/3077/ Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/uci-defaults/network | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ramips/base-files/etc/uci-defaults/network') diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 5ab89e9d9..598074bb1 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -71,6 +71,13 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "2" "0 6t" ;; + mzk-w300nh2) + 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 6t" + ucidef_add_switch_vlan "switch0" "2" "4 6t" + ;; + f5d8235-v1 | \ f5d8235-v2 | \ ur-336un) @@ -145,6 +152,7 @@ ramips_setup_macs() bc2 | \ broadway | \ f5d8235-v1 | \ + mzk-w300nh2 | \ nw718 | \ psr-680w | \ rt-n15 | \ -- cgit v1.2.3