From 8b1ac2ae372219d602e5c52ddfde3149e7a65dfd Mon Sep 17 00:00:00 2001 From: Gabor Juhos 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 SVN-Revision: 34926 --- target/linux/ramips/base-files/etc/uci-defaults/leds | 3 +++ target/linux/ramips/base-files/etc/uci-defaults/network | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'target/linux/ramips/base-files/etc/uci-defaults') diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds index a379017..b4dcdd1 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/leds @@ -69,6 +69,9 @@ case $board in mofi3500-3gn) set_usb_led "mofi3500-3gn:green:usb" ;; + mzk-w300nh2) + set_wifi_led "mzkw300nh2:amber:wlan" + ;; nw718) set_usb_led "nw718:amber:usb" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 5ab89e9..598074b 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.1