D-Link DIR-868L
From DD-WRT Wiki
**NOTE**: The A2 version can be flashed to DD-WRT after flashing v1.09 A1 stock firmware via Recovery Mode
English • Deutsch • Español • Français • Italiano • 日本語 • Polski • Português • Русский • Svenska • 中文(中国大陆) • 中文(台灣) • |
Contents |
[edit] Hardware Specifications
(D-Link DIR-868L rev A1 - Wireless Cat):
CPU | Broadcom BCM4708 |
---|---|
RAM | 256 MB |
Flash | 128 MB |
Switch | BCM4708 |
Radio (2.4 GHz) | BCM4331 |
Radio (5 GHz) | BCM4360 |
Antenna Type | Internal (Dual Band) |
[edit] Installation Instructions
**CAUTION**: Do not upgrade through wireless connection unless the router is limited to only a wireless connection.
**WARNING**: Turning off power during the upgrade process may cause permanent damage to the device.
**WARNING**: TO AVOID BRICKING, DO NOT PERFORM A 30/30/30 VIA RESET BUTTON ON BROADCOM ARM ROUTERS
**NOTE**: SEE Where do I download firmware? for information on where to download firmware files.
**NOTE**: It is recommended to use a factory-to-ddwrt.bin firmware between 01-20-2015-r25974 and 05-28-2015-r27096
for initial flash. SEE: Known Issues
**NOTE**: builds since 06-05-2015-r27240 contain different folders for REV A1, B1, and C1 models.
Download the prescribed factory-to-ddwrt.bin and current release dir868[a|b|c]-webflash.bin
[edit] Flash from OEM factory firmware
- Connect your PC via Ethernet cable to one of the LAN ports (Black) on the back of your router.
- Launch/open a web browser and enter http://dlinkrouter.local or http://192.168.0.1 in the address bar.
- A login page will display. Default login is admin/no password. It is recommended to reset your router to defaults.
- After you login to your router's user interface, click on the Tools tab at the top of the page.
- Click on Firmware from the menu on the left-hand side.
- Scroll down the page. Under Firmware Upgrade, click on the Browse button and select the previously downloaded factory-to-ddwrt.bin file and click Open.
- Click on Upload.
- When the router has finished restarting, go to http://192.168.1.1 in your browser.
- You should be greeted by the password change page of the DD-WRT webUI.
- Set username (optional, default username is root) and password (enter password twice, these *must* match and are case-sensitive).
- You should be greeted by the System Info page of the DD-WRT webUI
- Click on Setup, then Wireless, then Basic Wireless Settings.
- You will be required to enter username and password previously set.
- You will want to set the regulatory domain under wireless settings and click Save at the bottom of the page.
- Click on Administration, then Firmware Upgrade
- Leave Do Not Reset selected for After Flashing
- Click on Browse and select the appropriate previously downloaded dir868[rev a|b|c]-webflash.bin file specific to your router model version.
- Click Open
- Click Upgrade
- The firmware update starts and the router restarts. The firmware update process takes about five minutes.
- If the webUI does not automatically go back to the Setup -> Basic Setup page, or does not stop at the progress bar page to allow you to click Continue after waiting at least five minutes (i.e. if you get a "Connection Reset" or other error page in your browser), enter http://192.168.1.1 (or whatever your router IP address is) manually or click and hold the "Back" button and select the appropriate history entry.
- Click on Setup to begin configuration to your needs.
- You will be required to enter username and password previously set.
- Click Save on each page (unless otherwise noted in a specific tutorial).
- When finished, Click on Services or Administration tab and click Reboot.
**CAUTION**: After you start the firmware update, do not try to go online, turn off the router, or do anything else to the router until it finishes restarting.
**CAUTION**: After you start the firmware update, do not try to go online, turn off the router, or do anything else to the router until it finishes restarting.
- Note: The router doesn't support hard reset (30/30/30), select Reset to default in webUI or Erase NVRAM via command line instead.
- Note: The router's reset button works for resetting the DD-WRT settings, to do this, while DD-WRT is running, press and hold the reset button on the router's bottom for 15 seconds till the router reset and reboots. You will see the LEDs goes all off then the power LED starts flashing (indicates the router has went into recovery mode). Power off the router and power on again to access DD-WRT if recovery is not needed at the moment.
[edit] Upgrading (or Downgrading) DD-WRT
**NOTE**: Use the file named dir868[a|b|c]-webflash.bin.
**WARNING**: Do not use this file to go from Stock to DD-WRT.
**NOTE**: Reset to defaults is recommended if you are upgrading from a very old build (> 6 months).
**NOTE**: Do not restore a backup from one version to another version of DD-WRT, as nvram variable names may have changed.
- Connect your computer to your router with an Ethernet cable.
- Enter http://192.168.1.1 (or whatever you set your router IP to) into a web browser.
- Enter username and password as required.
- Go to Administration -> Firmware Upgrade
- Leave Do Not Reset selected for After Flashing
- Click on Browse and select the appropriate previously downloaded dir868[a|b|c]-webflash.bin file specific to your router model version.
- Click Open
- Click Upgrade
- The firmware update starts and the router restarts. The firmware update process takes about five minutes.
- If the webUI does not automatically go back to the Setup -> Basic Setup page, or does not stop at the progress bar page to allow you to click Continue after waiting at least five minutes (i.e. if you get a "Connection Reset" or other error page in your browser), enter http://192.168.1.1 (or whatever your router IP address is) manually or click and hold the "Back" button and select the appropriate history entry.
**CAUTION**: After you start the firmware update, do not try to go online, turn off the router, or do anything else to the router until it finishes restarting.
[edit] How to restore to factory firmware
- Follow steps of Recovery Mode.
- When returned to factory firmware, navigate to Tools - System and select Restore Factory Settings.
[edit] Recovery Mode
When the Power LED keeps blinking on boot, the router has entered the recovery mode. This usually happens when flashing a firmware went wrong, or the configuration has been corrupted.
It is also possible to (force) boot into recovery mode to restore a (soft-)bricked router or flashing back to the factory firmware:
- Download the latest available firmware on the official D-Link website of the router revision.
- Unplug all cables (incl. power cable) from the router.
- Connect the router to the PC using one of the 4 switch ports.
- Set the PC TCP/IPv4 address to 192.168.0.2 and use 255.255.255.0 as the Subnet mask.
- Disable any running firewall(s), anti-virus, TCP/IPv6, etc.
- Power-on the router with a paperclip pushing the hidden reset button located on the bottom of the device for a few seconds, when the Power LED starts blinking, release the reset button.
- Open Mozilla FireFox (*other browsers doesn't seem to work correctly when trying to flash the firmware) and navigate to http://192.168.0.1.
- Upload the stock firmware, when completed the router should report to reboot.
- The router should now be running stock and accessible on the default address. (http://192.168.1.1).
[edit] Known Issues
- DO NOT USE builds 30432 till 34311 (also applies to DIR-880L): see tickets 5518 and 5963
- Except quarkysg mod builds, which also fixes Policy Based Routing with SFE accelerated NAT: issue 5900
- If flashing from the stock firmware to dd-wrt doesn't work, download a factory-to-ddwrt.bin firmware between 01-20-2015-r25974 and 05-28-2015-r27096. Afterwards try to upgrade to the latest dd-wrt build. REF: D-Link DIR-868L 5GHz missing, Dlink DIR-868L RevA1 can't load firmware
[edit] Bad WiFi drivers
- 5GHz band issue: this should be fixed in latest builds, however when the 5GHz band doesn't not pop up when you search for WiFi networks on your device or it will take a few seconds to show up (and disappear again), try to manually add the wireless network or change the Channel Width of the 5GHz interface to Wide HT40 instead of VHT80 (although this may affect performance).
[edit] OpenVPN
If using the inbuilt OpenVPN-server in tunnel-mode, you may need to use the following firewall rules:
iptables -A INPUT -i vlan2 -m state --state NEW -p udp --dport 1194 -j ACCEPT iptables -A INPUT -i tun2 -j ACCEPT iptables -A FORWARD -i tun2 -j ACCEPT iptables -A FORWARD -i tun2 -o vlan2 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i vlan2 -o tun2 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o vlan2 -j MASQUERADE
- Note 1: Verify that the interfaces are correct by running the ifconfig command
- Note 2: You may need to adjust the above IP-address (& netmask)
The following Additional DNSMasq Options may also be needed, to stop DHCP(-service) on the tunnel-port:
interface=tun2 no-dhcp-interface=tun2
[edit] D-Link DDNS
D-Link offers router owners a free dynamic DNS host name service (https://www.dlinkddns.com/). This service can also be enabled on the dd-wrt firmware:
DDNS Service | DynDNS.org |
---|---|
Username | Your username (no email-address) |
Password | Your Password |
Hostname | <hostname>.dlinkddns.com |
Type | Dynamic |
IP Check | Yes *only when needed |
A working state should give verification messages, like this one:
Thu Jan 22 23:11:21 2015: INADYN: Started 'INADYN Advanced version 1.96-ADV' - dynamic DNS updater. Thu Jan 22 23:11:21 2015: INADYN: IP read from cache file is 'x.x.x.x'. No update required.
[edit] Notes, Links, Further Reading
**NOTE**: There may be broken links within any of the threads below due to data loss or otherwise deleted content that we have no control over.
- Restoring stock firmware D-Link DIR-868L
- 5GHz Wireless Disconnects Clients Every 11.5 Hours
- D'link DIR-868L Optimum, Need help with flashing.
- DLink DIR-868L with optimum firmware
- (DIR-868L | B1) - DNS problems
- DIR-868 DD-WRT installation problem ?!? SOLVED
- New build is out 27944 (BS) V3.0 - Several Routers Bricked!
- (DIR-868L | B1) - How to fix port speed @ 100 Mbps
- (DIR-868L | B1) - How to (re?)start Samba
- D-Link DIR-868L Bootloop
- DIR-868L Revison C1? (German Sub-Forum)
- (DIR-868L) - Router freezes
- (Solved) D-Link DIR-868L A1 stuck in Recovery Mode
- (Fixed) Possibly bricked DIR-868L
- DIR 868L bricked
- How to Install DDWRT on DIR-868l B1
- Dlink DIR-868L RevA1 can't load firmware
- New Build 33345 for D-Link DIR-868L Rev A & DIR-880L Rev
- Can't flash to D-LINK DIR-868L B1
- Unbricking via Serial DIR-868L
- New Build 33986 for DIR-868L & DIR-880L
- New Build 34080: DIR-868L, DIR-880L, RT-AC68U (SFE w PBR)
- D-Link DIR-868L - 16MB Flash Size? (DIR-868L A2?)
- Starhub Dir-868L (DIR-868L A2?)
- (SOLVED) Can't flash DD-WRT on D-Link 868L
- D-Link DIR-868L 5GHz missing
- D'link DIR-868L Optimum, Please Need help with flashing
- Dlink DIR-868L Lost Credentials - Unable to log in
- OPNSense VLAN Guest wifi with DIR-868L
- DIR-868L Rev A with build r47182: Reboot will reset nvram
- DIR-868L no 5GHz
- D-Link DIR-868L : Could not find flash device 'nflash1.trx'
- DIR-868L cannot get any sharing working
- I can’t get my DIR 868L router to work
- (DIR-868L) Huge "boot" MTD disables rootfs?
- D-Link DIR-868L version A2
- D-Link Forums > DIR-868L > Updating Firmware for version A2