projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add user-space support for the Planex MZK-W300NH2 Router
[openwrt.git]
/
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
5ab89e9
..
598074b
100755
(executable)
--- 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"
;;
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)
f5d8235-v1 | \
f5d8235-v2 | \
ur-336un)
@@
-145,6
+152,7
@@
ramips_setup_macs()
bc2 | \
broadway | \
f5d8235-v1 | \
bc2 | \
broadway | \
f5d8235-v1 | \
+ mzk-w300nh2 | \
nw718 | \
psr-680w | \
rt-n15 | \
nw718 | \
psr-680w | \
rt-n15 | \