summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-21 19:32:40 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-21 19:32:40 +0000
commitc5ceea4e34cff32878cc7b1649ea9f0a6e46ea24 (patch)
tree42737d0d7e7990a4ad4136c539678f3f9c43a415
parent674429b24f358fabac1182b19f6236da3bb529bb (diff)
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29595 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index c35df463f..48139642e 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -66,6 +66,7 @@ rb-493g)
ucidef_add_switch_vlan "switch1" "2" "0t 5"
;;
+wzr-hp-g300nh2 |\
pb92)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
@@ -143,6 +144,13 @@ wzr-hp-ag300h)
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4"
;;
+wzr-hp-g450h)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
+ ucidef_add_switch_vlan "eth0" "2" "0t 1"
+ ;;
+
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;