aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-09-21 11:47:53 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-09-21 11:47:53 +0000
commit3e6c09cc01484586f42e78bf569c5b46e78f18f8 (patch)
tree5cb445d4ccf32229f76cd9eab304a9f510d3994a /target/linux/ar71xx/base-files/etc
parent6cc6fb312453aae63a0f56d1796e936202a4b686 (diff)
downloadupstream-3e6c09cc01484586f42e78bf569c5b46e78f18f8.tar.gz
upstream-3e6c09cc01484586f42e78bf569c5b46e78f18f8.tar.bz2
upstream-3e6c09cc01484586f42e78bf569c5b46e78f18f8.zip
ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 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-wr703n/network12
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
2 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr703n/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr703n/network
new file mode 100644
index 0000000000..7c9fb63637
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr703n/network
@@ -0,0 +1,12 @@
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname eth0
+ 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/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index d61a78d83e..9d04533cc6 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -96,6 +96,9 @@ get_status_led() {
tl-wr1043nd)
status_led="tl-wr1043nd:green:system"
;;
+ tl-wr703n)
+ status_led="tl-wr703n:blue:system"
+ ;;
tl-wr741nd)
status_led="tl-wr741nd:green:system"
;;