D-Link DAP-2310 rev A1

From WikiDevi.Wi-Cat.RU
Jump to navigation Jump to search

D-Link DAP-2310 A1

Manuf (OEM/ODM): Alpha Networks

FCC approval date: 04 October 2011
UPC: 790069368257 (UPC DB, On eBay)
Country of manuf.: China

Amazon image

ASIN
B007B5QR68 (Flag of the United States.svg, On Amazon, On CCC)
multiple revisions of this device, use caution

Type: access point

FCC ID: KA2AP2310A1
IC ID: 4216A-AP2310A1

Power: 5 VDC, 2 A
Connector type: barrel

CPU1: Atheros AR7242 (400 MHz)
FLA1: 16 MiB16,777,216 B <br />131,072 Kib <br />16,384 KiB <br />128 Mib <br />0.0156 GiB <br /> (Winbond W25Q128BVFG)
RAM1: 64 MiB67,108,864 B <br />524,288 Kib <br />65,536 KiB <br />512 Mib <br />0.0625 GiB <br /> (EtronTech EM6AB160TSA-5G)

Expansion IFs: none specified

WI1 chip1: Atheros AR9283
WI1 802dot11 protocols: bgn
WI1 MIMO config: 2x2:2
WI1 antenna connector: RP-SMA

ETH chip1: Atheros AR7242
ETH chip2: Atheros AR8035-A
LAN speed: 1G
LAN ports: 1

bgn

Stock bootloader: U-Boot 1.1.4

Stock FW OS: Linux 2.6.31

Default SSID: dlink (38 addl. devices)
Default IP address: 192.168.0.50
the IP 192.168.0.50 is used by 63 additional devices
of which 63 are D-Link devices
Default login user: admin
Default login password: blank
admin:blank credentials used by 344 additional devices
of which 180 are D-Link devices

802dot11 OUI: none specified

For a list of all currently documented Atheros (QCA) chipsets with specifications, see Atheros.


AirPremier N High Power Access Point

 • Support page
  • "8WAPN08..3A1G" is silkscreened on the board in the FCC photos.
  • "1WAPN12...A1G" is printed on a label affixed to the board.

Per the manual, the default SSID is dlink.

GPL Code

Serial

Pinout

Header J1 (115200n8)

Left <--- [|Rx|___|3.3V|GND|Tx|] --> Right

NOTE: holes for connector are filled with soldel with high melting point.

U-Boot log

 • U-Boot log
U-Boot 1.1.4 (Jun 24 2011 - 09:23:39)

AP101 (ar7241 - Virian) U-boot
ALPHA U-boot v1.00rc002
DRAM:  
sri
ar7240_ddr_initial_config(133): virian ddr1 init
#### TAP VALUE 1 = 0x2, 2 = 0x2 [0xffffffff: 0xff7fffff]
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 254k for U-Boot at: 83fc0000
Reserving 192k for malloc() at: 83f90000
Reserving 44 Bytes for Board Info at: 83f8ffd4
Reserving 36 Bytes for Global Data at: 83f8ffb0
Reserving 128k for boot params() at: 83f6ffb0
Stack Pointer at: 83f6ff98
Now running in RAM - U-Boot at: 83fc0000
id read 0x100000ff
sector count = 256
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7014
eth0: 00:05:0d:06:01:03
ATHRF1E: Port 0, Negotiation timeout
ATHRF1E: unit 0 phy addr 0 ATHRF1E: reg0 1000
eth0 up
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7214
eth1: 00:05:0d:06:01:03
ATHRF1E: Port 1, Negotiation timeout
ATHRF1E: unit 1 phy addr 1 ATHRF1E: reg0 ffff
eth1 up
eth0, eth1
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 ...

Kernel boot log

 • Kernel boot log
Image OK!
OK
No initrd
## Transferring control to Linux (at address 80002000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

Booting AR7240(Python)...
Linux version 2.6.31--LSDK-9.1.0.214 (release@J11) (gcc version 4.3.3 (GCC) ) #1 Fri Nov 15 13:40:04 CST 2013
flash_size passed from bootloader = 16
CPU revision is: 00019374 (MIPS 24Kc)
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock0 rw mem=64m
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 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: 62204k/65536k available (2028k kernel code, 3264k reserved, 444k data, 124k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 266.24 BogoMIPS (lpj=532480)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
===== ar7240_platform_init: 0
PCI init:ar7240_pcibios_init
ar7240_pcibios_init(300): PCI CMD write: 0x356
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
Returning IRQ 48
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
AR7240 GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 121
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
 AR7240 serial flash !!
ar7240-nor0: squashfs filesystem found at offset 0x00150000
Creating 10 MTD partitions on "ar7240-nor0":
0x0000001500c0-0x000001000000 : "rootfs"
0x000000070000-0x000000fe0000 : "upgrade"
0x000000050000-0x000000060000 : "rgdb"
0x000000040000-0x000000050000 : "bdcfg"
0x000000060000-0x000000070000 : "langpack"
0x000000fe0000-0x000000ff0000 : "certificate"
0x000000ff0000-0x000001000000 : "radiocfg"
0x000000000000-0x000001000000 : "flash"
0x000000000000-0x000000040000 : "bootloader"
0x000000040000-0x000000050000 : "boot config"
u32 classifier
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
ar7240wdt_init: Registering WDT success
VFS: Mounted root (squashfs filesystem) readonly on device 31:0.
Freeing unused kernel memory: 124k freed
init started: BusyBox v1.14.1 (2013-11-15 13:40:09 CST)
starting pid 130, 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/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 kernel modules ...
Inserting Rebootm ...
Rebootm loading ... 
Inserting atheros ethernet ...
ATHR_GMAC: Length per segment 1536
ATHR_GMAC: fifo cfg 3 01f00140
ATHR_GMAC: Mac address for unit 0
ATHR_GMAC: 00:03:7f:e0:08:44 
ATHR_GMAC: Max segments per packet 1
ATHR_GMAC: Max tx descriptor count    40
ATHR_GMAC: Max rx descriptor count    252
ATHR_GMAC: Mac address for unit 1
ATHR_GMAC: 00:03:7f:e0:08:45 
MAC:1 Warning: Phy not found!!!
ATHR_GMAC: Max segments per packet 1
ATHR_GMAC: Max tx descriptor count    40
ATHR_GMAC: Max rx descriptor count    252
Inserting gpio ...
GPIO driver initialized.
done.
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] ...
athr_gmac_ring_alloc Allocated 640 at 0x83981800
athr_gmac_ring_alloc Allocated 4032 at 0x83964000
WASP EMULATION ----> F1 PHY
Setting Drop CRC Errors, Pause Frames and Length Error frames 
Setting PHY...
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 phy addr 0 
ADDRCONF(NETDEV_UP): eth0: link is not ready
[/etc/init.d/S03config.sh] done!
[/etc/init.d/S10system.sh]
start Layout ...
[/etc/scripts/layout.sh] start ...
[/var/run/layout_start.sh] ...
Start bridge layout ...
device eth0 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: not found
#!/bin/sh
echo [$0] ... > /dev/console

# limitedadmin.php <<<

limitedadmin.sh...
set eth0's MTU to 1500...
/etc/scripts/eth_vlan.sh: not found
start fresetd ...
Factory reset time : 5 secs
System reset time  : 1 secs
WPS command : [/etc/templates/wps.sh pbc &]
enable LAN ports ...
[/etc/scripts/enlan.sh] ...
 Generate channel table according to the country code...
 Generate VLAN table according to the port...
start WAN ...
Set WAN port media type 0
[/etc/templates/wan.sh] start ...
[/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 ...
[/etc/templates/upnpd.sh] ...
[/var/run/upnpd_start.sh] ...
Starting UPnP ...
/etc/templates/webredirect.sh: not found
>>>/var/run/wan_start.sh: Start IPv6 configuration >>>
Disable IPv6.
<<< End of IPv6 <<<
nvram: not found
nvram: not found
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 ...
[/etc/templates/wlan_run.sh] start ...
Start telnetd ...
nvram: not found
[/etc/templates/autorekey.sh] ...
nvram: not found
start SSHD daemon ...
[/var/run/autorekey_start.sh] ...
[/etc/templates/sshd.sh] ...
start WLAN .....
[/var/run/sshd_start.sh] ...
start sshd ...
Disable start-up daemon: sshd.
start DHCP server
[/etc/templates/dhcpd.sh] ...
[/var/run/dhcpd_restart.sh] ...
Stop DHCP server (br0) ...
[/var/run/wlan_insmod.sh] ...
Start DHCP server (br0) ...
DHCP server is disabled!
start SNMP ...
asf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
[/etc/templates/snmp.sh] ...
start NEAP ...
[/etc/templates/neaps.sh] start ...
[/var/run/neaps_start.sh] ...
Start Neap Server ...
start NEAPC ...
[/etc/templates/neapc.sh] start ...
[/var/run/neapc_start.sh] ...
Start NeapC Client ...
Stop apneaps Server ...
: not found
start Microsoft LLDP ...
ath_hal: 0.9.17.1 (AR5416, AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
[/etc/templates/lld2d.sh] ...
[/var/run/lld2d_ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
start.sh] ...
Start LLD2 daemon ...
start Ethlink ...
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[/etc/templates/arpspoofing.sh] start ...
[/var/run/arpspoofing_start.sh] ...
Start arp spoofing prevention ...
arp spoofing prevention is disabled.
[/etc/init.d/S10system.sh] done!
rcS done!

Please press Enter to activate this console. ath_pci: 9.2.0_U11.14 (Atheros/multi-bss)
__ath_attach: Set global_scn[0]
ACBKMinfree = 48
ACBEMinfree = 32
ACVIMinfree = 16
ACVOMinfree = 0
CABMinfree = 48
UAPSDMinfree = 0
ar5416 CtlData override
ath_get_caps[5291] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[5266] tx chainmask mismatch actual 3 sc_chainmak 0
wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000
[/var/run/wlan_start.sh] ...
Start WLAN interface ath0 ...
wlan_vap_create : enter. devhandle=0x83b4c360, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x83b4c360, opmode=IEEE80211_M_HOSTAP, flags=0x1.
ath0
[/var/run/wlan_start.sh] ...
[/var/run/wlan_daemon_up.sh] ...
sleep 5.....
: not found
[/var/run/wlan_device_up.sh] ...
device ath0 entered promiscuous mode
ALPHA:[Wireless]Initiate Wireless ath0 success 
ALPHA:[SNMP-TRAP][Specific=7]
br0: port 2(ath0) entering forwarding state
[/var/run/vlan_start.sh] ...
 disable VLAN 
[/etc/templates/lld2d.sh] ...
[/var/run/lld2d_stop.sh] ...
Stop LLD2 daemon ...
[/var/run/lld2d_start.sh] ...
Start LLD2 daemon ...
[/usr/sbin/submit] QOS_TC_TM ...
[/var/run/qos_stop.sh] ...
Interface is wanif=eth0 wlanif=ath0... OK
Stop QOS system ...
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
[/var/run/qos_start.sh] ...
Interface is wanif=eth0 wlanif=ath0... OK
Start QOS system ...
QOS is disabled.
[/usr/sbin/submit] NETFILTER ...
[/usr/sbin/submit] ARP_SPOOFING ...
[/etc/templates/arpspoofing.sh] restart ...
[/var/run/arpspoofing_stop.sh] ...
Stop arp spoofing prevention...
[/var/run/arpspoofing_start.sh] ...
Start arp spoofing prevention ...
arp spoofing prevention is disabled.

starting pid 1821, tty '/dev/ttyS0': '-/bin/sh'

BusyBox v1.14.1 (2013-11-15 13:40:09 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.

# ---Checking System Memory..OK, Current Free Memoey is 38020 KB

System info

# cat /proc/cpuinfo 
system type             : Atheros AR7240 (Python)
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 266.24
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0340, 0x03f8, 0x0fe8]
ASEs implemented        : mips16
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

# cat /proc/cmdline  
console=ttyS0,115200 root=/dev/mtdblock0 rw mem=64m

# cat /proc/version 
Linux version 2.6.31--LSDK-9.1.0.214 (release@J11) (gcc version 4.3.3 (GCC) ) #1 Fri Nov 15 13:40:04 CST 2013

# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00eaff40 00010000 "rootfs"
mtd1: 00f70000 00010000 "upgrade"
mtd2: 00010000 00010000 "rgdb"
mtd3: 00010000 00010000 "bdcfg"
mtd4: 00010000 00010000 "langpack"
mtd5: 00010000 00010000 "certificate"
mtd6: 00010000 00010000 "radiocfg"
mtd7: 01000000 00010000 "flash"
mtd8: 00040000 00010000 "bootloader"
mtd9: 00010000 00010000 "boot config"

U-Boot

  • Menu: Press 'q' to stop boot and open u-boot shell
 • help
ar7240> ?
?       - alias for 'help'
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
imls    - list all images found in flash
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
tftpboot- boot image via network using TFTP protocol
version - print monitor version
autoscr - run script from memory
 • printenv
ar7240> printenv
loadstart=0x80002000
runtimeloadstart=0x80002000
bootstart=0x9f000000
bootsize=0x40000
bootend=0x9F03FFFF
runtimestart=0x9F070000
runtimesize=0x00F20000
runtimeend=0x9FFDFFFF
envstart=0x9F040000
envend=0x9F04FFFF
bootargs=console=ttyS0,115200 
bootcmd=run runtime
bootdelay=1
baudrate=115200
signature=wapn12_dkbs_dap2310
ethaddr=00:05:0D:06:01:03
ipaddr=192.168.0.50
serverip=192.168.0.90
update_bootloader=protect off $(bootstart) $(bootend);erase $(bootstart) $(bootend);cp.b $(loadstart) $(bootstart) $(bootsize)
update_runtime=protect off $(runtimestart) $(runtimeend);erase $(runtimestart) $(runtimeend);cp.b $(loadstart) $(runtimestart) $(runtimesize)
clean_env=protect off $(envstart) $(envend); erase $(envstart) $(envend);protect on $(envstart) $(envend)
runtime=bootm $(runtimestart) $(runtimeloadstart)
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 868/8188 bytes

Images