summaryrefslogtreecommitdiffstats
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-wr741nd-v4/network24
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds1
3 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr741nd-v4/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr741nd-v4/network
new file mode 100644
index 000000000..de201bf5e
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr741nd-v4/network
@@ -0,0 +1,24 @@
+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
+
+config interface wan
+ option ifname eth1
+ option proto dhcp
+
+config switch eth0
+ option enable_vlan 1
+
+config switch_vlan
+ option device eth0
+ option vlan 1
+ option ports "0 1 2 3 4"
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index d7673dedf..f6f36bfd5 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -91,6 +91,7 @@ get_status_led() {
tl-wa901nd-v2 | \
tl-wr1043nd | \
tl-wr741nd | \
+ tl-wr741nd-v4 | \
tl-wr841n-v1 | \
tl-wr941nd)
status_led="tp-link:green:system"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index cd910cca6..10ace4656 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -104,6 +104,7 @@ tl-mr3420 )
set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
;;
+tl-wr741nd-v4 | \
tl-wr941nd)
set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;