aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-07 21:44:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-07 21:44:24 +0000
commit87704b8078d0ef69e0a8cb1267e5e28faa187e51 (patch)
treeb30084c0dd1acb928a88108d2678e1721a51f676 /target/linux
parent09fdfa444ff71c9dd99d0d02f1a2d29fc2ba1b66 (diff)
downloadupstream-87704b8078d0ef69e0a8cb1267e5e28faa187e51.tar.gz
upstream-87704b8078d0ef69e0a8cb1267e5e28faa187e51.tar.bz2
upstream-87704b8078d0ef69e0a8cb1267e5e28faa187e51.zip
ar71xx: create TL-WA901ND network config from uci-defaults
SVN-Revision: 28833
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network16
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network5
2 files changed, 5 insertions, 16 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network
deleted file mode 100644
index b475d65a25..0000000000
--- a/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network
+++ /dev/null
@@ -1,16 +0,0 @@
-config interface loopback
- option ifname lo
- option proto static
- option ipaddr 127.0.0.1
- option netmask 255.0.0.0
-
-config interface eth
- option ifname eth0
- option proto none
-
-config interface lan
- option ifname lan
- option type bridge
- option proto static
- option ipaddr 192.168.1.1
- option netmask 255.255.255.0
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 041d5f018f..076d92281e 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -142,6 +142,11 @@ pb92)
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"