summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-12-22 19:31:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-12-22 19:31:28 +0000
commitcace9f45660a8bf2ec8a67e33ea5f563ff19abb1 (patch)
tree9d6feab37d33ea2966fa00c52e52ae708303f2ca /target/linux/ar71xx/base-files/etc
parentce6136a61cb39f42f0317ccba030b8ed66b8b52d (diff)
downloadmtk-20170518-cace9f45660a8bf2ec8a67e33ea5f563ff19abb1.zip
mtk-20170518-cace9f45660a8bf2ec8a67e33ea5f563ff19abb1.tar.gz
mtk-20170518-cace9f45660a8bf2ec8a67e33ea5f563ff19abb1.tar.bz2
ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/tl-wr841n-v1/network19
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
2 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr841n-v1/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr841n-v1/network
new file mode 100644
index 0000000..80fea51
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr841n-v1/network
@@ -0,0 +1,19 @@
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface mac0
+ option ifname eth0
+
+config interface lan
+ option ifname "lan1 lan2 lan3 lan4"
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+
+config interface wan
+ option ifname wan
+ option proto dhcp
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index a74df07..6e4ed5f 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -72,6 +72,9 @@ get_status_led() {
tl-wr741nd)
status_led="tl-wr741nd:green:system"
;;
+ tl-wr841n-v1)
+ status_led="tl-wr841n:green:system"
+ ;;
tl-wr941nd)
status_led="tl-wr941nd:green:system"
;;