summaryrefslogtreecommitdiffstats
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
commit733399600f89824208bc44dfec62d68d28630fc7 (patch)
tree13eb1fb11d093e4ae7ea0d351b8cfba2ea03b677 /target/linux/ar71xx/base-files/etc
parentd3617ac7d3ce397f78678ea1b93b952f3e93af61 (diff)
downloadmaster-31e0f0ae-733399600f89824208bc44dfec62d68d28630fc7.tar.gz
master-31e0f0ae-733399600f89824208bc44dfec62d68d28630fc7.tar.bz2
master-31e0f0ae-733399600f89824208bc44dfec62d68d28630fc7.zip
ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com> SVN-Revision: 28277
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"
;;