summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 15:08:31 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 15:08:31 +0000
commitae81dbbb222eadd39232ae6e1b3685b0a430fbf9 (patch)
tree21451cfb8e24c32117b48097d49466a442da7320 /target/linux/ar71xx/base-files/etc
parenta58162b2546150e70dcb6f7a0b2ed96785442c45 (diff)
ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26119 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network11
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network
new file mode 100644
index 000000000..31780bcb8
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network
@@ -0,0 +1,11 @@
+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' 'static'
+ option 'ipaddr' '192.168.1.1'
+ option 'netmask' '255.255.255.0'
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index dd47cf33b..d61a78d83 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -90,6 +90,9 @@ get_status_led() {
tl-wa901nd)
status_led="tl-wa901nd:green:system"
;;
+ tl-wa901nd-v2)
+ status_led="tl-wa901nd-v2:green:system"
+ ;;
tl-wr1043nd)
status_led="tl-wr1043nd:green:system"
;;