D-Link DAP-3662 A1

The DAP-3662 is an AC1200 IP68 Outdoor Pole-Mount Access Point from the D-Link DAP Series of Business Access Points, manufactured by Alpha Networks.

Generic Router

Install OpenWrt (generic explanation)

FIXME Please add the installation procedure here.

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

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.

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

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

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

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

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

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

FIXME

  1. This table is automatically generated, once the correct filters for Brand and Model are set.
  2. If you see “Nothing.” instead of a table, please edit this section and adjust the filters with the proper Brand and Model. Just try, it's easy.
  3. If you still don't see a table here, or a table filled with '¿': Is there already a Techdata page available for D-Link DAP-3662 A1? If not: Create one.
  4. If you see a table with the desired device data, everything is OK and you can delete this text and the <WRAP> that encloses it.
  5. If it still doesn't work: Don't panic, calm down, take a deep breath and contact a wiki admin (tmomas) for help.

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-3662 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.

U-Boot 1.1.4 (Oct 21 2014 - 16:35:28) ap135 - Scorpion 1.0 ALPHA U-boot v1.00rc003 DRAM: sri Scorpion 1.0 ath_ddr_initial_config(182): (32bit) ddr2 init set EMR(2) register to 0x4080, to enable high temperature self-refresh rate! tap = 0x00000003 Tap (low, high) = (0x4, 0x1f) Tap values = (0x11, 0x11, 0x11, 0x11) 128 MB Top of RAM usable for U-Boot at: 88000000 Reserving 248k for U-Boot at: 87fc0000 Reserving 192k for malloc() at: 87f90000 Reserving 44 Bytes for Board Info at: 87f8ffd4 Reserving 36 Bytes for Global Data at: 87f8ffb0 Reserving 128k for boot params() at: 87f6ffb0 Stack Pointer at: 87f6ff98 Now running in RAM - U-Boot at: 87fc0000 Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18 flash size 16MB, sector count = 256 Flash: 16 MB *** Warning - bad CRC, using default environment *** Warning *** : PCIe WLAN Module not found !!! In: serial Out: serial Err: serial Net: ath_gmac_enet_initialize... athrs_sgmii_res_cal: cal value = 0x1 ath_gmac_enet_initialize: reset mask:c02200 Scorpion ----> S17 PHY * s17 phy0 register value 0x00004140 TEST: FINAL REG VAL after TX Calibration - 0x86000000 TEST: FINAL XMII VAL after RX Calibration - 0x96000000 TEST: FINAL ETH_CFG VAL after RX Calibration - 0x00000001 athrs17_reg_init: complete : cfg1 0x80000000 cfg2 0x7335 eth0: 00:03:7f:09:0b:ad eth0 up athrs17_reg_init_wan done SGMII in forced mode athr_gmac_sgmii_setup SGMII done : cfg1 0x800c0000 cfg2 0x7214 eth1: 00:03:7f:09:0b:ad eth1 up eth0, eth1 Setting 0x18116290 to 0x58b0214f press 'q' to stop autoboot: 0 ## Booting image at 9f070000 ... Image Name: 7zip Linux Kernel Created: 1970-01-01 0:00:00 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: -1 Bytes = 4096 MB Load Address: 80002000 Entry Point: 80002000 Uncompressing Kernel Image with LZMA ... Check Image ... Image OK! OK No initrd ## Transferring control to Linux (at address 80002000) ... ## Giving linux memsize in bytes, 134217728 Starting kernel ... Booting QCA955x Linux version 2.6.31--LSDK-10.2.85 (release@cdWSCMPL06) (gcc version 4.3.3 (GCC) ) #1 Fri Jul 29 14:19:28 CST 2016 flash_size passed from bootloader = 16 CPU revision is: 00019750 (MIPS 74Kc) cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200 Determined physical RAM map: memory: 02000000 @ 00000000 (usable) User-defined physical RAM map: memory: 08000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00008000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00008000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS0,115200 root=/dev/mtdblock0 rw mem=128m PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 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: 112512k/131072k available (2174k kernel code, 18376k reserved, 475k data, 144k init, 0k highmem) NR_IRQS:128 plat_time_init: plat time init done Calibrating delay loop... 359.42 BogoMIPS (lpj=718848) Mount-cache hash table entries: 512 ****************ALLOC*********************** Packet mem: 802ce6c0 (0xe00000 bytes) ******************************************** NET: Registered protocol family 16 ath_pcibios_init: bus 0 ath_pcibios_init(232): PCI 0 CMD write: 0x356 registering PCI controller with io_map_base unset bio: create slab <bio-0> at 0 pcibios_map_irq: IRQ 75 for bus 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 ATH GPIOC major 0 squashfs: version 4.0 (2009/01/31) Phillip Lougher msgmni has been set to 220 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A console [ttyS0] enabled brd: module loaded ELBOX CFI physmap flash device: 1000000 at 9f000000 ATH serial flash !! ath-nor0: squashfs filesystem found at offset 0x00160000 Creating 11 MTD partitions on "ath-nor0": 0x0000001600c0-0x000000a440c0 : "rootfs" 0x000000070000-0x000000f60000 : "upgrade" 0x000000050000-0x000000060000 : "rgdb" 0x000000040000-0x000000050000 : "bdcfg" 0x000000f60000-0x000000f70000 : "langpack" 0x000000fe0000-0x000000ff0000 : "certificate" 0x000000ff0000-0x000001000000 : "radiocfg" 0x000000000000-0x000001000000 : "flash" 0x000000000000-0x000000040000 : "bootloader" 0x000000040000-0x000000050000 : "boot config" 0x000000f70000-0x000000fe0000 : "captival" 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 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> athwdt_init: Registering WDT success ath_otp_init: Registering OTP success VFS: Mounted root (squashfs filesystem) readonly on device 31:0. Freeing unused kernel memory: 144k freed init started: BusyBox v1.14.1 (2016-07-29 14:19:36 CST) starting pid 133, 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/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 ... qca955x_GMAC: Length per segment 1536 955x_GMAC: qca955x_gmac_attach 955x_GMAC: qca955x_set_gmac_caps Currently in polling mode unit0 mac:0 Registering S17.... qca955x_GMAC: RX TASKLET - Pkts per Intr:160 qca955x_GMAC: Mac address for unit 0:bfff0000 qca955x_GMAC: ff:ff:ff:ff:ff:ff qca955x_GMAC: Max segments per packet : 1 qca955x_GMAC: Max tx descriptor count : 128 qca955x_GMAC: Max rx descriptor count : 224 qca955x_GMAC: Mac capability flags : 2A00 955x_GMAC: qca955x_gmac_attach 955x_GMAC: qca955x_set_gmac_caps Currently in polling mode unit1 mac:1 Registering S17.... qca955x_GMAC: RX TASKLET - Pkts per Intr:160 qca955x_GMAC: Mac address for unit 1:bfff0006 qca955x_GMAC: ff:ff:ff:ff:ff:ff qca955x_GMAC: Max segments per packet : 1 qca955x_GMAC: Max tx descriptor count : 128 qca955x_GMAC: Max rx descriptor count : 224 qca955x_GMAC: Mac capability flags : 2002200 955x_GMAC: Serdes PLL is locked value 0x18838116 Inserting gpio ... GPIO driver initialized. done. Inserting watchdog ... External watchdog loading ... Enable external watch dog with gpio 20 clear Start xmldb ... [/etc/scripts/misc/profile.sh] getnew ... [/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] ... To set s17 LOOKUP_CTRL_REG registers, flag 0 athr_gmac_ring_alloc Allocated 2048 at 0x879ed000 sram_desc_cnt 1536,mac Unit 0,Tx r->ring_desc 0xbd000000 athr_gmac_ring_alloc Allocated 3584 at 0x87895000 sram_desc_cnt 4224,mac Unit 0,Rx r->ring_desc 0xbd000600 955x_GMAC: eth0 in RGMII MODE Scorpion -----> S17 PHY Dsiable AZ for eth0 _athrs17_mac0_intf done athrs17_reg_init:done Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... Phy setup Complete To set s17 LOOKUP_CTRL_REG registers, flag 1 ADDRCONF(NETDEV_UP): eth0: link is not ready To set s17 LOOKUP_CTRL_REG registers, flag 0 athr_gmac_ring_alloc Allocated 2048 at 0x879fd800 sram_desc_cnt 5760,mac Unit 1,Tx r->ring_desc 0xbd001080 athr_gmac_ring_alloc Allocated 3584 at 0x87a14000 sram_desc_cnt 8448,mac Unit 1,Rx r->ring_desc 0xbd001680 955x_GMAC: eth1 in SGMII MODE Scorpion -----> S17 PHY athrs17_reg_init_wan done 955x_SGMII::athr_gmac_sgmii_setup Done Setting Drop CRC Errors, Pause Frames and Length Error frames Setting PHY... Phy setup Complete To set s17 LOOKUP_CTRL_REG registers, flag 1 ADDRCONF(NETDEV_UP): eth1: 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 device eth1 entered promiscuous mode 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 ... nvram: not found nvram: not found start eth0 vlan setup ... [/etc/scripts/eth_vlan.sh] start ... [/var/run/eth0_vlan_start.sh] ... disable VLAN #!/bin/sh limitedadmin.sh... [/etc/scripts/eth_vlan.sh] start ... [/var/run/eth0_vlan_stop.sh] ... [/var/run/eth0_vlan_start.sh] ... disable VLAN #!/bin/sh pingctl.sh... start fresetd ... rxcheck: not found enable LAN ports ... Factory reset time : 5 secs System reset time : 1 secs WPS command : [/etc/templates/wps.sh pbc &] [/etc/scripts/enlan.sh] ... Generate channel table according to the country code... generate country domain mapping table


COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


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

  • ...
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