D-Link DIR-868L

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:54, 5 July 2016 (edit)
Hawaii Beach (Talk | contribs)
(Bad WiFi drivers)
← Previous diff
Revision as of 10:38, 5 July 2016 (edit) (undo)
Hawaii Beach (Talk | contribs)
(added revert to stock)
Next diff →
Line 27: Line 27:
|} |}
-*Specifications found on Smallnetbuilder.net [http://www.smallnetbuilder.com/wireless/wireless-reviews/32110-d-link-dir-868l-wireless-ac1750-dual-band-gigabit-cloud-router-reviewed]+* Specifications found on Smallnetbuilder.net [http://www.smallnetbuilder.com/wireless/wireless-reviews/32110-d-link-dir-868l-wireless-ac1750-dual-band-gigabit-cloud-router-reviewed]
 + 
 +* This Wiki page is for the '''Rev A''' model only! (for now)
 + 
=Installation Instructions= =Installation Instructions=
Line 99: Line 102:
Thu Jan 22 23:11:21 2015: INADYN: IP read from cache file is 'x.x.x.x'. No update required. Thu Jan 22 23:11:21 2015: INADYN: IP read from cache file is 'x.x.x.x'. No update required.
</pre> </pre>
 +
 +=Revert to stock=
 +==Recovery method==
 +# Download the right firmware for the router [http://forums.dlink.com/index.php?topic=62532.0 here], download the '''WW''' versions if you're outside of the NA. If you're inside the NA, download the '''NA''' version. Don't forget to extract the firmware.
 +# Set your computers IP manually to '''192.168.0.2''' with a standard subnet of '''255.255.255.0'''. (like [http://i.imgur.com/pKWt5hL.gif this] on Windows).
 +# Unplug all cables (incl. power cable)
 +# Insert a paper clip onto the hidden reset button located on the bottom of the device; you'll find it.
 +# Keep holding down the reset button as you plug in the power cable. Wait atleast '''10 seconds''' until you release the paper clip.
 +# Connect your computer to the '''first''' LAN port.
 +# Navigate to '''192.168.0.1''' and upload the firmware you downloaded earlier. The router will flash it and reboot automaticly.
 +# Now set your computer IP to automaticly detect, navigate to your gateway and login.
 +# Navigate to '''Tools''' - '''System''' and '''Restore Factory Settings'''.
[[Category:D-Link guides]] [[Category:D-Link guides]]

Revision as of 10:38, 5 July 2016

Contents

Hardware

Delivering Wi-Fi AC1750 dual band speeds with AC SmartBeam technology to your home network, the DIR-868L is the perfect solution for those looking to enjoy online gaming, multiple HD video streams, and fast file transfers – all with less wireless interference for maximum throughput.

Specifications

CPU Broadcom BCM4708X
RAM 256 MB
Flash 128 MB
Switch In BCM4708X
Radio (2.4 GHz) BCM4331
Radio (5 GHz) BCM4360
Antenna Type External (Dual Band)
  • Specifications found on Smallnetbuilder.net [1]
  • This Wiki page is for the Rev A model only! (for now)


Installation Instructions

Step-by-step instructions from out-of-the-box factory firmware

DD-WRT can be flashed directly on the D-Link DIR-868L by using the D-Link web interface:

  1. Navigate to this page, select year, scroll down to the last link and select it, select dlink-dir868l-revc. Now download the firmware file (dir868c-webflash.bin).
  2. Open the D-Link web-interface in your web browser (address: http://192.168.0.1), Log In, and go to Tools -> Firmware *Warning: only flash over an Ethernet-cable
  3. Select factory-to-ddwrt.bin and click the "Upload"-button
  4. After flashing successfully, the router address should be changed into http://192.168.1.1
  5. Upgrade the router (again) by using the dir-868-webflash.bin firmware
  • Note: The router doesn't support Hard Reset (aka 30/30/30 reset), use the Erasing NVRAM method instead.

Known Issues

Bad WiFi drivers

DD-WRT has multiple issues with WiFi firmware.

  • WiFi connect slow: you might experience slowness connecting your device to the AP. On Android it always hangs at "Obtaining IP address" for ~10 seconds.
  • Link speed: the link speed on DD-WRT is not high as stock is. For example: DD-WRT has a link speed for 5GHz of 200Mbit/s, on stock it is 433Mbit/s. Same goes for the 2.4GHz band.
  • 5GHz band issue: the 5GHz band might not pop up when you search for WiFi networks on your device, it will take ~10 seconds to show up to even be able to connect to it.

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

D-Link DDNS

D-Link offers router owners a free dynamic DNS host name service. This service works (surprisingly) without any problems 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. 

Revert to stock

Recovery method

  1. Download the right firmware for the router here, download the WW versions if you're outside of the NA. If you're inside the NA, download the NA version. Don't forget to extract the firmware.
  2. Set your computers IP manually to 192.168.0.2 with a standard subnet of 255.255.255.0. (like this on Windows).
  3. Unplug all cables (incl. power cable)
  4. Insert a paper clip onto the hidden reset button located on the bottom of the device; you'll find it.
  5. Keep holding down the reset button as you plug in the power cable. Wait atleast 10 seconds until you release the paper clip.
  6. Connect your computer to the first LAN port.
  7. Navigate to 192.168.0.1 and upload the firmware you downloaded earlier. The router will flash it and reboot automaticly.
  8. Now set your computer IP to automaticly detect, navigate to your gateway and login.
  9. Navigate to Tools - System and Restore Factory Settings.