projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: create TL-WA901ND network config from uci-defaults
[oweals/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 4ac924b268f03458fd7dd9461e94587bb64f4764..076d92281e7e16f13df4a753417c4231a16c6a1c 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/network
@@
-90,6
+90,10
@@
set_interface_loopback
board=$(ar71xx_board_name)
case "$board" in
board=$(ar71xx_board_name)
case "$board" in
+all0258n)
+ set_interface_lan "eth0 eth1"
+ ;;
+
dir-825-b1)
set_interfaces_lan_wan "eth0.1" "eth1"
add_switch "rtl8366s" "1" "1"
dir-825-b1)
set_interfaces_lan_wan "eth0.1" "eth1"
add_switch "rtl8366s" "1" "1"
@@
-138,6
+142,11
@@
pb92)
add_switch_vlan "eth0" "2" "0t 2"
;;
add_switch_vlan "eth0" "2" "0t 2"
;;
+tl-wa901nd)
+ set_interface_raw "eth" "eth0"
+ set_interface_lan "lan"
+ ;;
+
tl-wr1043nd)
set_interfaces_lan_wan "eth0.1" "eth0.2"
add_switch "rtl8366rb" "1" "1"
tl-wr1043nd)
set_interfaces_lan_wan "eth0.1" "eth0.2"
add_switch "rtl8366rb" "1" "1"