aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorSebastian Schaper <openwrt@sebastianschaper.net>2020-09-29 20:02:17 +0200
committerPetr Štetiar <ynezz@true.cz>2020-12-22 19:11:50 +0100
commit8ec997d0063bbc1ac41d1025f4c94ae6337899fa (patch)
tree9ebc4fef5e426c6d18f375c0511f1fdf7fc51bf5 /target/linux/ath79/generic/base-files/etc/board.d/02_network
parent491ae3357e10be46ff6342cad5d2f820bf2cd9f9 (diff)
downloadupstream-8ec997d0063bbc1ac41d1025f4c94ae6337899fa.tar.gz
upstream-8ec997d0063bbc1ac41d1025f4c94ae6337899fa.tar.bz2
upstream-8ec997d0063bbc1ac41d1025f4c94ae6337899fa.zip
ath79: add support for D-Link DAP-2660 A1
Specifications: * QCA9557, 16 MiB Flash, 128 MiB RAM, 802.11n 2T2R * QCA9882, 802.11ac 2T2R * Gigabit LAN Port (AR8035), 802.11af PoE Installation: * Factory Web UI is at 192.168.0.50 login with 'admin' and blank password, flash factory.bin * Recovery Web UI is at 192.168.0.50 connect network cable, hold reset button during power-on and keep it pressed until uploading has started (only required when checksum is ok, e.g. for reverting back to oem firmware), flash factory.bin After flashing factory.bin, additional free space can be reclaimed by flashing sysupgrade.bin, since the factory image requires some padding to be accepted for upgrading via OEM Web UI. Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index 103da30379..3ea0815ff2 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -476,6 +476,10 @@ ath79_setup_macs()
lan_mac=$(mtd_get_mac_text "mp" 0x1)
label_mac=$lan_mac
;;
+ dlink,dap-2660-a1)
+ lan_mac=$(mtd_get_mac_ascii bdcfg "lanmac")
+ label_mac=$lan_mac
+ ;;
dlink,dap-2695-a1)
label_mac=$(mtd_get_mac_ascii bdcfg "wlanmac")
;;