D-Link DIR-865L

Wikidevi Notes
"8WRGAC01.2A1G" is silkscreened on the back of the main board.
 * The main board is using TAICON electrolytic capacitors.

"8WMCAC01.2A1G" is silkscreened on the 802.11ac wireless module in the FCC photos.

The default SSID patterns for the device are dlink-XXXX and dlink-media-XXXX. XXXX is the last two octets of the respective wireless interface's MAC address (upper case letters).

Flashing OEM Firmware

 * /OEM Firmware Release Notes

Please read and understand the following procedure before upgrading your Firmware:

Firmware Update Steps

For those doing firmware updates on DLink routers, use the suggested following process:

Use the following browsers only: Internet Explorer or Fire Fox. Apple Product users, please use Safari or FF. Chrome and other browsers may cause the FW download to become corrupt or may improperly handle the data causing the router to be come bricked.

3rd Party Security Software Configurations:


 * Turn off all anti virus and firewall programs on PC.
 * Turn off all devices accept for one wired PC.
 * Disable any security browser add-ons as well as these can impede proper file transfer to the router.

'''Do NOT upgrade firmware on any D-Link product over a wireless connection. Failure of the device may result. Use only hard-wired LAN network connections.'''

1. Save the current routers configuration to file. Tools/System. (Note that reloading this onto new major version of firmware can cause problems and thus is recommended to configure the router from scratch. Do not load the old configuration file from the old major version. If you're upgrading from minor to minor version, reloading of the configuration file shouldn't cause a problem. In these cases, please do not upload the previous older configuration file, rather set up the router from scratch. Should you need the configuration information from the previous saved configuration file, capture, copy or write down all required information from the configuration file loaded on the router BEFORE applying the newer firmware update.)

2. Factory reset the router using the routers web page Tools/System, is easiest, or the back button.

3. Update the router using the routers web page Tools/System using the .bin file(s) that was downloaded for your product model. The .bin files have to be unpacked from the .zip file.

4. After the router as updated and status has reported it was successful on the routers web page. Perform one more Factory reset of the router using the routers web page Tools/System.

5. After the router has reset and come back to ready, reload the saved configuration file or reconfigure the router from scratch

Flashing Tomato Egg
Based on Tomato-Shibby branch

Forum Link http://tomatousb.org/forum/t-729757

Download Link http://sourceforge.net/projects/tomato4dlink/files/?source=navbar

How to flash?
 * 1) Set PC's static IP address to 192.168.0.2
 * 2) press reset button and power on device at same time
 * 3) Use browser to open rescue web page 192.168.0.1 to upload firmware for flashing

Waiting about 5 minutes

Change PC's IP Address back to DHCP and use browser connect to 192.168.1.1

Welcome to TOMATO's world!

Serial Pinouts
The pinout seems to be the standard current Alpha pinout. JP2 [RxD]    [3.3][GND][TxD]

Pictures
D-Link Images

other
{| class="mw-collapsible mw-collapsed wikitable" ! stock FW (I think) boot log SVN revision: 668 Decompressing...done

CFE version 6.30.39.2001 (r334376) based on BBP 1.0.37 for BCM947XX (32bit,SP,LE) Build Date: Mon Jul 16 13:56:31 CST 2012 (michael_lee@Porsche) Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena Init Devs. Boot partition size = 327680(0x50000) Found an ST compatible serial flash with 256 64KB blocks; total size 16MB bcm_robo_enable_switch: EEE is disabled et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.30.39.2001 (r334376) CPU type 0x19749: 600MHz Tot mem: 131072 KBytes

CFE mem:   0x80700000 - 0x807A57C0 (677824) Data:      0x8073AA10 - 0x8073DDC0 (13232) BSS:       0x8073DDC0 - 0x8073F7C0 (6656) Heap:      0x8073F7C0 - 0x807A37C0 (409600) Stack:     0x807A37C0 - 0x807A57C0 (8192) Text:      0x80700000 - 0x8073AA08 (240136)

Board Name: WRGAC01 SVN revision: 668 We disable the arp for self. We disable the arp for self. Device eth0: hwaddr 00-90-4C-0D-B0-18, ipaddr 192.168.0.1, mask 255.255.255.0 gateway not set, nameserver not set Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null) Loading: Failed. Could not load :: Timeout occured Dest=80001000, source =807a57c0, filename=flash1.trx verify_seama: data=0x8073a4a0, size=-2139465792 SEAMA ========================================== magic     : 5ea3a417 meta size : 36 bytes meta data : dev=/dev/mtdblock/1 meta data : type=firmware meta data : meta data : image size : 10203168 bytes verify_seama: signature=[(null)], type=[firmware] checksum  : 473A291ABB7AEC4DA9B61E48D7DAF9BD digest    : 473A291ABB7AEC4DA9B61E48D7DAF9BD Selected !!!

=
=================================== seama check OK!! insize = 2097152, out size =8388608 uncompressed size = 4624518 lzma decompress success ! Closing network. Starting program at 0x80001000 Linux version 2.6.22 (joely@enzo) (gcc version 4.2.3) #2 Thu Jul 19 17:44:53 CST 2012 CPU revision is: 00019749 Found an ST compatible serial flash with 256 64KB blocks; total size 16MB Determined physical RAM map: memory: 07fff000 @ 00000000 (usable) memory: 08000000 @ 87fff000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal         0 ->   131072 HighMem   131072 ->   589823 early_node_map[2] active PFN ranges 0:       0 ->    32767    0:   557055 ->   589823 Built 1 zonelists. Total pages: 65535 Kernel command line: root=/dev/mtdblock0 console=ttyS0,115200 noinitrd Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, linesize 32 bytes. Synthesized TLB refill handler (20 instructions). Synthesized TLB load handler fastpath (32 instructions). Synthesized TLB store handler fastpath (32 instructions). Synthesized TLB modify handler fastpath (31 instructions). PID hash table entries: 512 (order: 9, 2048 bytes) CPU: BCM5300 rev 1 at 600 MHz Using 300.000 MHz high precision timer. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 253664k/131068k available (3549k kernel code, 8184k reserved, 742k data, 224k init, 131072k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Initializing host PCI: Reset RC PCI: Initializing host PCI: Reset RC PCI: Fixing up bus 0 PCI/PCIe coreunit 0 is set to bus 1. PCI: Fixing up bridge PCI: Fixing up bridge PCI: Enabling device 0000:01:00.1 (0004 -> 0006) PCI: Fixing up bus 1 PCI/PCIe coreunit 1 is set to bus 2. PCI: Fixing up bridge PCI: Fixing up bridge PCI: Enabling device 0000:02:00.1 (0004 -> 0006) PCI: Fixing up bus 2 Time: MIPS clocksource has been installed. 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 highmem bounce pool size: 64 pages VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher fuse init (API version 7.8) io scheduler noop registered (default) HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096 N_HDLC line discipline registered. Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a 16550A serial8250: ttyS1 at MMIO 0x0 (irq = 8) is a 16550A RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: module loaded PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 PPTP driver version 0.7 pflash: found no supported devices sflash: the flash image has SEAMA header, retry: 0 sflash: squashfs filesystem found at offset 1769536 Creating 9 MTD partitions on "sflash": 0x001b0060-0x00a0b060 : "rootfs" 0x00050000-0x00f50000 : "upgrade" 0x00040000-0x00050000 : "devconf" 0x00030000-0x00040000 : "devdata" 0x00fd0000-0x00ff0000 : "langpack" 0x00000000-0x01000000 : "flash" 0x00000000-0x00030000 : "u-boot" 0x00ff0000-0x01000000 : "nvram" 0x00f50000-0x00fd0000 : "mydlink" No NAND flash type found nflash: found no supported devices No NAND flash type found brcmnand: found no supported devices usbmon: debugfs is not available ehci_hcd 0000:00:04.1: EHCI Host Controller ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:04.1: EHCI Fastpath: New EHCI driver starting ehci_hcd 0000:00:04.1: irq 6, io mem 0x18004000 ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd 0000:00:04.0: OHCI Host Controller ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2 ohci_hcd 0000:00:04.0: irq 6, io mem 0x18009000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. u32 classifier nf_conntrack version 0.5.0 (2047 buckets, 16376 max) xt_time: kernel timezone is -0000 BCM fast NAT: INIT ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Ebtables v2.0 registered 802.1Q VLAN Support v1.8 Ben Greear  All bugs added by David S. Miller  VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 224k freed Failed to execute /init init started: BusyBox v1.14.1 (2012-07-19 17:46:19 CST) starting pid 670, tty '': '/etc/init.d/rcS' Algorithmics/MIPS FPU Emulator v1.5 [/etc/init.d/S10init.sh] [/etc/init.d/S11upboot.sh] [/etc/init.d/S15udevd.sh] [/etc/init.d/S16ipv6.sh] [/etc/init.d/S19init.sh] [/etc/init.d/S20init.sh] DEFNODE[/etc/defnodes/S11devdata.xml] DEFNODE[/etc/defnodes/S12flashspeed.php] DEFNODE[/etc/defnodes/S13dfs.php] DEFNODE[/etc/defnodes/S14setchlist.php] DEFNODE[/etc/defnodes/S20device.xml] DEFNODE[/etc/defnodes/S22timezone.php] [/etc/scripts/setdate.sh] 01/01/2000 ... Sat Jan 1 08:00:04 GMT 2000 DEFNODE[/etc/defnodes/S30device.php] DEFNODE[/etc/defnodes/S30device.xml] DEFNODE[/etc/defnodes/S31diagnostic.xml] DEFNODE[/etc/defnodes/S31locale.php] DEFNODE[/etc/defnodes/S33wifi.php] DEFNODE[/etc/defnodes/S40device.xml] DEFNODE[/etc/defnodes/S40links.php] DEFNODE[/etc/defnodes/S90opendns.php] DEFNODE[/etc/defnodes/S90sessions.php] DEFNODE[/etc/defnodes/S90upnpigd.php] DEFNODE[/etc/defnodes/S90upnpwfa.php] DEFNODE[/etc/defnodes/S91upnpigd2.php] SERVD: start service [LOGD] [/etc/init.d/S20interfaces.sh] /proc/sys/net/ipv6/conf/eth2/accept_dad: can't create /proc/sys/net/ipv6/conf/eth2/disable_ipv6: can't create SIOCGIFINDEX: No such device SIOCGIFFLAGS: No such device [/etc/init.d/S21usbmount.sh] [/etc/init.d/S22mydlink.sh] [/etc/init.d/S23udevd.sh] [/etc/init.d/S45gpiod.sh] Factory reset time : 5 secs 00: WPS Button using GPIO #14, input mode. 01: Factory Reset Button using GPIO #5, input mode. 02: Power_Status LED Green using GPIO #0, output mode. 03: Power_Status LED Orange using GPIO #1, output mode. 04: Internet LED Orange using GPIO #3, output mode. 05: Internet LED Green using GPIO #2, output mode. 06: USB using GPIO #7, output mode. et interface not found [/etc/init.d/rcS] done! SERVD: event [WANPORT.LINKDOWN] not found! [/etc/init0.d/S21layout.sh]: start ... SERVD: start service [LAYOUT] [/etc/init0.d/S40event.sh]: start ... ctf: module license 'Proprietary' taints kernel. et_module_init: passivemode set to 0x0 et_module_init: et_txq_thresh set to 0x0 bcm_robo_enable_switch: EEE is disabled SERVD: event [SEALPAC.LOAD/default] SEAMA: '/dev/mtdblock/4' is not eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.30.39.2001 (r334376) a seama file ! [/etc/init0.d/S40gpioevent.sh]: start ... eneth0.1: Setting MAC address to 90 94 e4 fc b6 05. VLAN (eth0.1): Underlying device (eth0) has same MAC, not checking promiscious mode. eth0.2: Setting MAC address to 90 94 e4 fc b6 07. device eth0 entered promiscuous mode VLAN (eth0.2): Setting underlying device (eth0) to promiscious mode. [/etc/init0.d/S41autowan.sh]: start ... eth0.1: dev_set_promiscuity(master, 1) device eth0.1 entered promiscuous mode br0: port 1(eth0.1) entering learning state br0: topology change detected, propagating br0: port 1(eth0.1) entering forwarding state [/etc/init0.d/S41autowanv6.sh]: start ... [/etc/init0.d/S41event.sh]: start ... SERVD: start service [LOGD] SERVD: service [LOGD] is already started. SERVD: start service [PHYINF.ETH-1] [/etc/init0.d/S41inf.sh]: start ... SERVD: start service [PHYINF.ETH-2] [/etc/init0.d/S41smart404.sh]: start ... PHYINF.ETH-2: cfg[00:de:fa:1a:02:00] curr[00:00:00:00:00:00], restart the device !!! SERVD: start service [PHYINF.ETH-3] [/etc/init0.d/S42event.sh]: start ... [/etc/init0.d/S42pthrough.sh]: start ... [/etc/init0.d/S43mydlinkevent.sh]: start ... [/etc/init0.d/S51wlan.sh]: start ... SERVD: start service [BRIDGE] BRIDGE: The device is not in the bridge mode. SERVD: start service [LAN] SERVD: start service [WAN] PCI: Enabling device 0000:01:01.0 (0000 -> 0002) srom rev:11 eth1: Broadcom BCM43a2 802.11 Wireless Controller 6.30.39.2001 (r334376 WLTEST) PCI: Enabling device 0000:02:01.0 (0000 -> 0002) sprom_read_pci: buf[0] = 0xffff, returning bad-crc sprom_read_pci: buf[0] = 0xffff, returning bad-crc sprom_read_pci: buf[0] = 0xffff, returning bad-crc srom rev:0 eth2: Broadcom BCM4331 802.11 Wireless Controller 6.30.39.2001 (r334376 WLTEST) SERVD: start service [DEVICE.PASSTHROUGH] /proc/pthrough/ipv6: can't create /proc/pthrough/pppoe: can't create SERVD: start service [MYDLINK.LOG] SERVD: start service [WIFI.PHYINF] SERVD: service [WIFI.PHYINF] return error 108. SERVD: start service [IPTABLES] wlc_phy_cal_init_acphy: NOT Implemented [/etc/init0.d/S60shareport.sh]: start ... CONNTRACK_MAX=36000 CONNTRACK_MIN=36000 [/etc/init0.d/S65ddnsd.sh]: start ... [/etc/init0.d/S65user.sh]: start ... [/etc/init0.d/S80telnetd.sh]: start ... Create /var/proc/alpha symbolic link... Enable Fast Route [/etc/init0.d/rcS] done!

Please press Enter to activate this console. SERVD: start service [IP6TABLES] SERVD: start service [IPTABLES] SERVD: service [IPTABLES] is already started. SERVD: start service [IP6TABLES] SERVD: service [IP6TABLES] is already started. SERVD: start service [INET.LAN-1] [/var/servd/INET.LAN-1_start.sh]: starting LAN-1... SERVD: event [LAN-1.UP/default] /proc/nf_accelerate_to_local: can't create [/var/servd/INET.LAN-1_start.sh]: starting LAN-1 done !!! SERVD: start service [INET.LAN-2] [/var/servd/INET.LAN-2_start.sh]: starting LAN-2... SERVD: event [LAN-2.UP/default] [/var/servd/INET.LAN-2_start.sh]: starting LAN-2 done !!! SERVD: start service [INET.LAN-4] exit 9
 * 1) !/bin/sh
 * 2) No inet profile!!

SERVD: start service [INET.LAN-5] exit 9
 * 1) !/bin/sh
 * 2) No inet profile!!

SERVD: start service [INET.LAN-6] ifsetup: (LAN-6) not active. SERVD: service [INET.LAN-6] return error 8. SERVD: start service [IPTMACCTRL] SERVD: start service [IPTURLCTRL] SERVD: start service [ACCESSCTRL] SERVD: start service [IPTPORTT] SERVD: start service [IP6T.LAN-1] SERVD: start service [IP6T.LAN-2] SERVD: start service [IP6T.LAN-3] SERVD: start service [IP6T.LAN-4] SERVD: start service [IP6T.LAN-5] SERVD: start service [IP6T.LAN-6] SERVD: start service [IPTABLES] SERVD: service [IPTABLES] is already started. SERVD: start service [IP6TABLES] SERVD: service [IP6TABLES] is already started. SERVD: start service [INET.WAN-1] [/var/servd/INET.WAN-1_start.sh]: starting WAN-1... [/var/servd/INET.WAN-1_start.sh]: starting WAN-1 done !!! SERVD: start service [INET.WAN-2] ifsetup: (WAN-2) not active. SERVD: service [INET.WAN-2] return error 8. SERVD: start service [INET.WAN-3] [/var/servd/INET.WAN-3_start.sh]: starting WAN-3... WAN-3 a is link local interface. SERVD: event [WAN-3.UP/default] [/var/servd/INET.WAN-3_start.sh]: starting WAN-3 done !!! SERVD: start service [INET.WAN-4] ifsetup: (WAN-4) not active. SERVD: service [INET.WAN-4] return error 8. SERVD: start service [INET.WAN-5] ifsetup: (WAN-5) not active. SERVD: service [INET.WAN-5] return error 8. SERVD: start service [IPTMASQ] /proc/sys/net/ipv4/ip_personality_sport: can't create /proc/sys/net/ipv4/ip_personality_enable: can't create SERVD: start service [IPTVSVR] SERVD: start service [IPTPFWD] SERVD: start service [IPTPORTT] SERVD: service [IPTPORTT] is already started. SERVD: start service [IPTDMZ] SERVD: start service [IPT.WAN-1] SERVD: start service [IP6T.WAN-1] SERVD: start service [IPT.WAN-2] SERVD: start service [IP6T.WAN-2] SERVD: start service [IPT.WAN-3] SERVD: start service [IP6T.WAN-3] SERVD: start service [IPT.WAN-4] SERVD: start service [IP6T.WAN-4] SERVD: start service [IPT.WAN-5] SERVD: service [IPT.WAN-5] return error 108. SERVD: start service [IP6T.WAN-5] SERVD: service [IP6T.WAN-5] return error 108. SERVD: stop service [IPT.LAN-1] SERVD: service [IPT.LAN-1] is already stopped. SERVD: start service [IPT.LAN-1] /proc/fastnat/forskipsupport: can't create SERVD: stop service [IPT.LAN-2] SERVD: service [IPT.LAN-2] is already stopped. SERVD: start service [IPT.LAN-2] /proc/fastnat/forskipsupport: can't create SERVD: stop service [IPT.LAN-3] SERVD: service [IPT.LAN-3] is already stopped. SERVD: start service [IPT.LAN-3] SERVD: service [IPT.LAN-3] return error 108. SERVD: stop service [IPT.LAN-4] SERVD: service [IPT.LAN-4] is already stopped. SERVD: start service [IPT.LAN-4] SERVD: service [IPT.LAN-4] return error 108. SERVD: stop service [IPT.LAN-5] SERVD: service [IPT.LAN-5] is already stopped. SERVD: start service [IPT.LAN-5] SERVD: service [IPT.LAN-5] return error 108. SERVD: stop service [IPT.LAN-6] SERVD: service [IPT.LAN-6] is already stopped. SERVD: start service [IPT.LAN-6] SERVD: service [IPT.LAN-6] return error 108. SERVD: start service [PHYINF.WIFI] SERVD: start service [DEVICE.ACCOUNT] Password for 'Admin' has been updated SERVD: start service [SHAREPORT]
 * }

The default telnet credentials are Alphanetworks (user) and wrgac01_dlob.hans_dir865 (password).