Jelajahi Sumber

ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H

Thanks netprince for reporting and testing.

SVN-Revision: 29595
Jonas Gorski 14 tahun lalu
induk
melakukan
8799627ef0
1 mengubah file dengan 8 tambahan dan 0 penghapusan
  1. 8 0
      target/linux/ar71xx/base-files/etc/uci-defaults/network

+ 8 - 0
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"
 	;;