summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-21 11:47:53 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-21 11:47:53 +0000
commit5fdfc7948a644f110d4f299389bfa888813fd22d (patch)
tree5cb445d4ccf32229f76cd9eab304a9f510d3994a /target/linux/ar71xx/base-files/etc
parent8f241d9a09b0dbc2a636a26bcb7e153c8a39f2e1 (diff)
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 000000000..7c9fb6363
--- /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 d61a78d83..9d04533cc 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"
;;