D-Link DAP-2680 A1

The DAP-2680 is an AC1750 Wave 2 Wall-Mount PoE Access Point from the D-Link DAP Series of Business Access Points, manufactured by Alpha Networks.

→ Please see the main article for the DAP-2xxx series for flashing instructions.

start size label
0x00000000 0x00040000 (256k) bootloader
0x00040000 0x00010000 (64k) bdcfg
0x00050000 0x00010000 (64k) rgdb
0x00060000 0x00010000 (64k) unknown
0x00070000 0x00ee0000 (15232k) upgrade
0x00f50000 0x00020000 (128k) langpack
0x00f70000 0x00070000 (448k) captival
0x00fe0000 0x00010000 (64k) certificate
0x00ff0000 0x00010000 (64k) radiocfg

FIXME The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!

This section deals with

  • How you install OpenWrt from a device freshly opened
  • The steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

  • Browse to http://192.168.1.1/Upgrade.asp
  • Upload .bin file to router
  • Wait for it to reboot
  • Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed.

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

→ Please see the main article for the DAP-2xxx series for unbricking instructions.

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

The D-Link DAP-2680 has the following buttons:

BUTTON GPIO
Reset 18

hardware.button on howto use and configure the hardware button(s).

LED GPIO
power green 19
power red 20

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...

  • To remove the cover and open the device, do a/b/c

Main PCB:
Insert photo of PCB

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for D-Link DAP-2680 A1
EXAMPLE 115200, 8N1

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

None so far.

No initrd ## Transferring control to Linux (at address 80002000) ... ## Giving linux memsize in bytes, 268435456 Starting kernel ... Linux version 3.3.8 (release@cdWSCMPL06) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Jun 4 09:24:00 CST 2019 bootconsole [early0] enabled CPU revision is: 00019750 (MIPS 74Kc) SoC: Qualcomm Atheros QCA9558 rev 0 Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz Determined physical RAM map: memory: 10000000 @ 00000000 (usable) User-defined physical RAM map: memory: 10000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00010000 Movable zone start PFN for each node Early memory PFN ranges 0: 0x00000000 -> 0x00010000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: mem=256M board=AP135 console=ttyS0,115200 root=/dev/mtdblock0 rootfstype=squashfs noinitrd crashkernel=10M@20M oops=panic PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 256588k/262144k available (2309k kernel code, 5556k reserved, 544k data, 192k init, 0k highmem) SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:83 Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Performance counters: mips/74K PMU enabled, 4 32-bit counters available to each CPU, irq 13 NET: Registered protocol family 16 gpiochip_add: registered GPIOs 0 to 23 on device: ath79 MIPS: machine is Atheros AP135 reference board WLAN firmware dump buffer allocation of 2097152 bytes @ address 0x8fa00000- SUCCESS !!! registering PCI controller with io_map_base unset ar724x-pci ar724x-pci.1: PCIe link is down registering PCI controller with io_map_base unset bio: create slab <bio-0> at 0 PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff] pci_bus 0000:00: root bus resource [io 0x0000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit] PCI host bridge to bus 0000:01 pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff] pci_bus 0000:01: root bus resource [io 0x0001] pci 0000:00:00.0: using irq 40 for pin 1 Switching to clocksource MIPS NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher msgmni has been set to 501 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A console [ttyS0] enabled, bootconsole disabled console [ttyS0] enabled, bootconsole disabled brd: module loaded m25p80 spi0.0: found mx25l12805d, expected m25p80 m25p80 spi0.0: mx25l12805d (16384 Kbytes) spi0.0: squashfs filesystem found at offset 0x00180000 11 elboxpart partitions found on MTD device spi0.0 Creating 11 MTD partitions on "spi0.0": 0x0000001800c0-0x000000b540c0 : "rootfs" mtd: partition "rootfs" set to be root filesystem 0x000000070000-0x000000f50000 : "upgrade" 0x000000050000-0x000000060000 : "rgdb" 0x000000040000-0x000000050000 : "bdcfg" 0x000000f50000-0x000000f70000 : "langpack" 0x000000fe0000-0x000000ff0000 : "certificate" 0x000000ff0000-0x000001000000 : "radiocfg" 0x000000000000-0x000001000000 : "flash" 0x000000000000-0x000000040000 : "bootloader" 0x000000040000-0x000000050000 : "boot config" 0x000000f70000-0x000000fe0000 : "captival" m25p80 spi0.1: found pm25lv512, expected m25p80 m25p80 spi0.1: pm25lv512 (64 Kbytes) u32 classifier Actions configured arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 10 IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Bridge firewalling registered Ebtables v2.0 registered 8021q: 802.1Q VLAN Support v1.8 VFS: Mounted root (squashfs filesystem) readonly on device 31:0. Freeing unused kernel memory: 192k freed init started: BusyBox v1.14.1 (2019-06-04 09:24:18 CST) starting pid 30, tty '': '/etc/init.d/rcS' [/etc/init.d/S03config.sh] Mounting proc and var ... SymbLink /dev/mtdblock/0 SymbLink /dev/mtdblock/1 SymbLink /dev/mtdblock/10 SymbLink /dev/mtdblock/11 SymbLink /dev/mtdblock/2 SymbLink /dev/mtdblock/3 SymbLink /dev/mtdblock/4 SymbLink /dev/mtdblock/5 SymbLink /dev/mtdblock/6 SymbLink /dev/mtdblock/7 SymbLink /dev/mtdblock/8 SymbLink /dev/mtdblock/9 Inserting modules ... Inserting Rebootm ... Rebootm loading ... Inserting atheros ethernet ... ag71xx_mdio: probed eth0: Atheros AG71xx at 0xb9000000, irq 4 ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd072, driver=Generic PHY] Inserting gpio ... GPIO driver initialized. done. Start xmldb ... [/etc/scripts/misc/profile.sh] getnew ... +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + + Devconf write_data!! + + + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ok [/etc/scripts/misc/defnodes.sh] ... [/etc/defnodes/S10setext.sh] ... PHP [/etc/defnodes/S11setnodes.php] ... PHP [/etc/defnodes/S12features.php] ... PHP [/etc/defnodes/S13flashspeed.php] ... PHP [/etc/defnodes/S20setnodes.php] ... mount: mounting /dev/mtdblock/4 on /www/locale/alt failed: Invalid argument PHP [/etc/defnodes/S40brand.php] ... [/etc/scripts/misc/defnodes.sh] Done !! [/etc/templates/timezone.sh] ... [/etc/templates/logs.sh] ... [/var/run/logs_run.sh] ... gpio set led status [/etc/templates/powerled.sh] ... [/var/run/powerled_run.sh] ... ADDRCONF(NETDEV_UP): eth0: link is not ready [/etc/init.d/S03config.sh] done! [/etc/init.d/S10system.sh] Write some proc file ... Enable panic timeout when Kernel panic ... start Layout ... [/etc/scripts/layout.sh] start ... [/var/run/layout_start.sh] ... Start bridge layout ... device eth0 entered promiscuous mode ADDRCONF(NETDEV_UP): br0: link is not ready start LAN ... [/etc/templates/lan.sh] ... [/var/run/lan_start.sh] ... Bridge mode selected, LAN is disabled ! start web server ... [/etc/templates/webs.sh] start ... [/var/run/webs_start.sh] ... Starting HTTPD ... start eth0 vlan setup ... [/etc/scripts/eth_vlan.sh] start ... [/var/run/eth0_vlan_start.sh] ... disable VLAN [/var/run/__limitedadmin.sh]... limitedadmin.sh... set limit admin type : 00 set limit admin type : 1 ip_range[0] start:0 end:0 ip_range[1] start:0 end:0 ip_range[2] start:0 end:0 ip_range[3] start:0 end:0 [/etc/scripts/eth_vlan.sh] start ... [/var/run/eth0_vlan_stop.sh] ... [/var/run/eth0_vlan_start.sh] ... disable VLAN [/var/run/__pingctl.sh]... pingctl.sh... start fresetd ... Factory reset time : 5 secs System reset time : 1 secs enable LAN ports ... [/etc/scripts/enlan.sh] ... Generate channel table according to the country code... generate country domain mapping table Generate VLAN table according to the port... start WAN ... [/etc/templates/wan.sh] start ... [/var/run/eth0_vlan_start.sh] ... disable VLAN [/var/run/wan_start.sh] ... Bridge mode selected ! Start WAN(br0),192.168.0.50/255.255.255.0 ... [/etc/templates/wanup.sh] ... [/var/run/wan_up.sh] ... [/etc/templates/ntp.sh] ... killall: ntpclient: no process killed NTP client is disabled ... [/usr/sbin/submit] CAPTIVAL_PORTAL ... [/var/run/captival_portal_stop.sh] ... captival portal already stop [/var/run/captival_portal_start.sh] ... captival_state 0 captival portal is disable >>>/var/run/wan_start.sh: Start IPv6 configuration >>> Disable IPv6. <<< End of IPv6 <<< captival_tar prep ... remains :457216bytes start lldpd ... start stunnel ... [/etc/templates/stunnel.sh] ... Setting certificate. [/var/run/stunnel_start.sh] ... Starting universal SSL tunnel: stunnel. start WLAN ... [/etc/templates/wlan.sh] ... SERVD: stop service [WLAN] SERVD: service [WLAN] is already stopped. SERVD: start service [WLAN] start telnet daemon ... Start telnetd ... [/etc/templates/wlan_run.sh] start ... start SSHD daemon ... [/etc/templates/autorekey.sh] ... [/etc/templates/sshd.sh] ... [/var/run/autorekey_start_a.sh] ... [/var/run/autorekey_start_g.sh] ...


COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Space for additional notes, links to forum threads or other resources.

  • ...

FIXME Add tags below, then remove this fixme.

How to add tags

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1