projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add user-space support for the OpenMesh MR600 board
[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
993e024
..
377f0b3
100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/network
@@
-15,12
+15,16
@@
ucidef_set_interface_loopback
board=$(ar71xx_board_name)
case "$board" in
board=$(ar71xx_board_name)
case "$board" in
+all0315n |\
all0258n |\
all0258n |\
-ja76pf2)
+ja76pf2|\
+ubnt-unifi-outdoor)
ucidef_set_interface_lan "eth0 eth1"
;;
ucidef_set_interface_lan "eth0 eth1"
;;
-db120)
+db120 |\
+rb-2011l | \
+rb-2011uas-2hnd)
ucidef_set_interfaces_lan_wan "eth0.1 eth1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
ucidef_set_interfaces_lan_wan "eth0.1 eth1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
@@
-62,6
+66,7
@@
routerstation-pro)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
;;
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
;;
+ap136 |\
rb-750gl |\
rb-751g |\
wzr-hp-g450h)
rb-750gl |\
rb-751g |\
wzr-hp-g450h)
@@
-89,6
+94,7
@@
ap113)
ucidef_add_switch_vlan "eth0" "2" "0t 2"
;;
ucidef_add_switch_vlan "eth0" "2" "0t 2"
;;
+tl-wdr4300|\
tl-wr1041n-v2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
tl-wr1041n-v2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
@@
-116,6
+122,12
@@
tl-wr941nd)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;
+tl-wr841n-v8)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
+ ;;
+
wrt160nl)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "eth0" "1" "1"
wrt160nl)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "eth0" "1" "1"
@@
-128,12
+140,16
@@
wzr-hp-g300nh)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
;;
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
;;
+all0305 |\
aw-nr580 |\
bullet-m |\
aw-nr580 |\
bullet-m |\
+cap4200ag |\
eap7660d |\
eap7660d |\
+mr600 |\
rb-411 |\
tl-mr11u |\
tl-mr3020 |\
rb-411 |\
tl-mr11u |\
tl-mr3020 |\
+tl-mr3040 |\
tl-wa901nd |\
tl-wa901nd-v2 |\
tl-wr703n |\
tl-wa901nd |\
tl-wa901nd-v2 |\
tl-wr703n |\
@@
-163,6
+179,7
@@
ja76pf |\
rb-750 |\
rb-751 |\
tew-632brp |\
rb-750 |\
rb-751 |\
tew-632brp |\
+tew-712br |\
tl-mr3220 |\
tl-mr3420 |\
tl-wr741nd |\
tl-mr3220 |\
tl-mr3420 |\
tl-wr741nd |\
@@
-185,6
+202,12
@@
wzr-hp-g450h)
;;
ew-dorin)
;;
ew-dorin)
+ ucidef_set_interface_lan "eth0"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0 1 2 3"
+ ;;
+
+ew-dorin-router)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0 2 3"
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0 2 3"