projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add support for the ALFA Network N2/N5 boards
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
uci-defaults
/
network
diff --git
a/target/linux/ar71xx/base-files/etc/uci-defaults/network
b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index c35df463f3bedc93d862db1ed86d70c4756a7512..ba556c10757f85cbec39075d5185e65e55c28467 100755
(executable)
--- 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"
;;
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"
pb92)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
@@
-113,6
+114,7
@@
wp543)
ucidef_set_interface_lan "eth0"
;;
ucidef_set_interface_lan "eth0"
;;
+alfa-nx |\
ap83 |\
jwap003 |\
pb42 |\
ap83 |\
jwap003 |\
pb42 |\
@@
-143,6
+145,13
@@
wzr-hp-ag300h)
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4"
;;
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"
;;
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;