D-Link DIR-868L

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 21:19, 23 January 2015 (edit)
Beta990 (Talk | contribs)
(OpenVPN)
← Previous diff
Revision as of 17:39, 26 June 2019 (edit) (undo)
Jeremywh7 (Talk | contribs)
(Clean up install instructions, add links)
Next diff →
(35 intermediate revisions not shown.)
Line 1: Line 1:
 +[[Image:Dlink dir-868l.jpg | right | 220px]]
=Hardware= =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. 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== ==Specifications==
- +From [http://www.smallnetbuilder.com/wireless/wireless-reviews/32110-d-link-dir-868l-wireless-ac1750-dual-band-gigabit-cloud-router-reviewed SmallNetBuilder.net] (https://wikidevi.com/wiki/D-Link_DIR-868L_rev_A1 Rev A1):
{| border="1" cellspacing="0" style="width: 100%" {| border="1" cellspacing="0" style="width: 100%"
! width="200pt" | CPU ! width="200pt" | CPU
-|Broadcom BCM4708X+|Broadcom BCM4708
|- |-
!RAM !RAM
Line 15: Line 16:
|- |-
!Switch !Switch
-|In BCM4708X+|BCM4708
|- |-
!Radio (2.4 GHz) !Radio (2.4 GHz)
Line 24: Line 25:
|- |-
!Antenna Type !Antenna Type
-|External (Dual Band)+|Internal (Dual Band)
|} |}
- 
-*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] 
=Installation Instructions= =Installation Instructions=
-==Step-by-step instructions from out-of-the-box factory firmware==+==Flash from OEM factory firmware==
 +DD-WRT can be flashed directly on the D-Link DIR-868L by using the D-Link web interface.
 +*'''For ''Upgrading DD-WRT'', skip the ''factory-to-ddwrt'' steps and use the ''webflash'' file'''
 +#[ftp://ftp.dd-wrt.com/betas/ Download] '''factory-to-ddwrt.bin''' and '''dir868[rev a|b|c]-webflash.bin''' (see [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]]): read forum build threads before flashing. Verify the correct revision file: ''dlink-dir868l-reva'' for HW/ver ''A1'', ''revb'' for ''B1'', etc.
 +#Open the D-Link web-interface (http://192.168.0.1) in a web browser, Log In, and go to Tools -> Firmware.
 +#*Warning: flash over an Ethernet cable or use [[https://wiki.dd-wrt.com/wiki/index.php/Installation#Method_3:_Flashing_with_Command_Line|CLI]]
 +#Select '''factory-to-ddwrt.bin''' and click the '"Upload'"-button. When the firmware has been successfully flashed, the router will reboot, this may take up to 3 mins. If the (top) Power-LED on the front of the router keeps blinking, see Recovery mode.
 +#The router address should now be changed into http://192.168.1.1. You may need to set your TCP/IPv4 settings manually using 192.168.1.1 as IP address and 255.255.255.0 as Subnet mask to access the router.
 +#[[Installation#Upgrading_to_a_Newer_Version_of_DD-WRT|Upgrade the router]] to the full version using the appropriate '''dir-868[rev]-webflash.bin''' firmware.
 +#* Note: The router doesn't support hard reset (30/30/30), select '''Reset to default''' or [[Hard_reset_or_30/30/30#Erasing_NVRAM|Erase NVRAM]] instead.
-DD-WRT can be flashed directly on the D-Link DIR-868L by using the D-Link webinterface:+==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'''.
-# Download the needed latest beta firmware files (dir868-webflash.bin & factory-to-ddwrt.bin): http://www.dd-wrt.com/site/support/other-downloads?path=betas (e.g. betas › 2015 › 01-20-2015-r25974 › dlink-dir868l)+==Recovery Mode==
-# 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+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.
-# Select factory-to-ddwrt.bin and click the "Upload"-button+ 
-# After flashing successfully, the router address should be changed into http://192.168.1.1+It is also possible to (force) boot into recovery mode to restore a (soft-)bricked router or flashing back to the factory firmware:
-# [http://www.dd-wrt.com/wiki/index.php/Installation#Upgrading_to_a_Newer_Version_of_DD-WRT Upgrade the router] (again) by using the dir-868-webflash.bin firmware+# Download the latest available firmware on the official [http://www.dlink.com/ D-Link website] of the router revision.
-* Note: The router doesn't support Hard Reset (aka 30/30/30 reset), use the Erasing NVRAM method instead.+# 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).
 + 
 +=Known Issues=
 +*'''DO NOT USE''' builds 30432 till 34311 (also applies to DIR-880L): see tickets [http://svn.dd-wrt.com/ticket/5518#comment:18 5518] and [http://svn.dd-wrt.com/ticket/5963#comment:13 5963]
 +*Except quarkysg [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=312874 mod builds], which also [http://svn.dd-wrt.com/ticket/5986#comment:8 fixes] [[Policy_Based_Routing|Policy Based Routing]] with SFE accelerated NAT: issue [http://svn.dd-wrt.com/ticket/5900 5900]
 +*If flashing from the stock firmware to dd-wrt doesn't work, download a '''factory-to-ddwrt.bin''' firmware between [ftp://ftp.dd-wrt.com/../betas/2015/01-20-2015-r25974/dlink-dir868l/ 01-20-2015-r25974] .. [ftp://ftp.dd-wrt.com/../betas/2015/05-28-2015-r27096/dlink-dir868l/ 05-28-2015-r27096]. Afterwards try to upgrade to the latest dd-wrt build.
 + 
 +==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).
-=Common Problems= 
==OpenVPN== ==OpenVPN==
If using the inbuilt OpenVPN-server in tunnel-mode, you may need to use the following firewall rules: If using the inbuilt OpenVPN-server in tunnel-mode, you may need to use the following firewall rules:
Line 53: Line 77:
</pre> </pre>
*Note 1: Verify that the interfaces are correct by running the ifconfig command *Note 1: Verify that the interfaces are correct by running the ifconfig command
-*Note 2: You may need to adjust the above list IP-address (& netmask)+*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:
 +<pre>
 +interface=tun2
 +no-dhcp-interface=tun2
 +</pre>
 + 
 +==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:
 +{| border="1" cellspacing="0" style="width: 100%"
 +! width="200pt" | 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:
 +<pre>
 +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.
 +</pre>
 + 
 +[[Category:D-Link guides]]

Revision as of 17:39, 26 June 2019

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

From SmallNetBuilder.net (https://wikidevi.com/wiki/D-Link_DIR-868L_rev_A1 Rev A1):

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)

Installation Instructions

Flash from OEM factory firmware

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

  • For Upgrading DD-WRT, skip the factory-to-ddwrt steps and use the webflash file
  1. Download factory-to-ddwrt.bin and dir868[rev a|b|c]-webflash.bin (see Where do I download firmware?): read forum build threads before flashing. Verify the correct revision file: dlink-dir868l-reva for HW/ver A1, revb for B1, etc.
  2. Open the D-Link web-interface (http://192.168.0.1) in a web browser, Log In, and go to Tools -> Firmware.
    • Warning: flash over an Ethernet cable or use [[1]]
  3. Select factory-to-ddwrt.bin and click the '"Upload'"-button. When the firmware has been successfully flashed, the router will reboot, this may take up to 3 mins. If the (top) Power-LED on the front of the router keeps blinking, see Recovery mode.
  4. The router address should now be changed into http://192.168.1.1. You may need to set your TCP/IPv4 settings manually using 192.168.1.1 as IP address and 255.255.255.0 as Subnet mask to access the router.
  5. Upgrade the router to the full version using the appropriate dir-868[rev]-webflash.bin firmware.
    • Note: The router doesn't support hard reset (30/30/30), select Reset to default or Erase NVRAM instead.

How to restore to factory firmware

  1. Follow steps of Recovery Mode.
  2. When returned to factory firmware, navigate to Tools - System and select Restore Factory Settings.

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:

  1. Download the latest available firmware on the official D-Link website of the router revision.
  2. Unplug all cables (incl. power cable) from the router.
  3. Connect the router to the PC using one of the 4 switch ports.
  4. Set the PC TCP/IPv4 address to 192.168.0.2 and use 255.255.255.0 as the Subnet mask.
  5. Disable any running firewall(s), anti-virus, TCP/IPv6, etc.
  6. 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.
  7. 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.
  8. Upload the stock firmware, when completed the router should report to reboot.
  9. The router should now be running stock and accessible on the default address. (http://192.168.1.1).

Known Issues

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

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