diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 18 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network new file mode 100644 index 0000000..31780bc --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network @@ -0,0 +1,11 @@ +config 'interface' 'loopback' + option 'ifname' 'lo' + option 'proto' 'static' + option 'ipaddr' '127.0.0.1' + option 'netmask' '255.0.0.0' + +config 'interface' 'eth' + option 'ifname' 'eth0' + 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 dd47cf3..d61a78d 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -90,6 +90,9 @@ get_status_led() { tl-wa901nd) status_led="tl-wa901nd:green:system" ;; + tl-wa901nd-v2) + status_led="tl-wa901nd-v2:green:system" + ;; tl-wr1043nd) status_led="tl-wr1043nd:green:system" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index d390f9f..15f3250 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -112,6 +112,9 @@ ar71xx_board_name() { *TL-WA901ND) name="tl-wa901nd" ;; + *"TL-WA901ND v2") + name="tl-wa901nd-v2" + ;; *TL-WR741ND) name="tl-wr741nd" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 067fe03..f0fdd88 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -76,7 +76,7 @@ platform_check_image() { } return 0 ;; - tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) + tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) [ "$magic" != "0100" ] && { echo "Invalid image type." return 1 |