aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
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 0000000000..80fea51d31
--- /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 a74df07ce3..6e4ed5f6f1 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"
;;