DD-WRT for D-Link Routers

UPDATE 6th July 2015: WAN and Power LEDs as well as the USB port now works!
Build: ftp://ftp.dd-wrt.com/betas/2015/07-06-2015-r27490/dlink-dir860l-a1/

UPDATE 24th June 2015: I have created a DD-WRT forum post here http://www.dd-wrt.com/phpBB2/viewtopic.php?p=971955 where you can read and post about defects, bugs and so on concerning our D-Link DIR-860L A1 routers.
The intention is that whenever any of us has tested a new beta build of DD-WRT we post to this forum thread.
Whether we have found out that bugs have been fixed or new bugs have appeared we post about it.
Use and Enjoy!

UPDATE 7th May 2015: Recently the beta builds have started to work again according to reports. However there are still some problems regarding USB and the LEDs. You might want to try the latest beta build :
ftp://ftp.dd-wrt.com/betas/2015/05-07-2015-r26854/dlink-dir860l-a1/
, and report your experiences here, but please follow the guidelines:
https://www.dd-wrt.com/phpBB2/viewtopic.php?t=282816

UPDATE 25th March 2015: We are very close now! Yesterday Sebastian made this commit
and on the Supported Devices page it now says DIR-860L A1 is supported!!! (dir860l-a1 build 26534 20150324)
So we will just have to wait for it to pop up in the beta section (anything after the 19th of March 2015 and search for ‘dlink-dir860l-a1’) or in the router database. 🙂

UPDATE 15th March 2015: Sebastian confirms he has received the router. Support is underway.

UPDATE 23rd February 2015: I have now received the DIR-860L A1 router – it works – and I have set up a donation page here where you are free to donate money to cover a part of the expenses for the router and for the router to get sent to DD-WRT in Germany! Well, only if you want to! Thanks in advance! 😉

– UPDATE 12th February 2015: In a couple of days I shall receive an A1 revision of the DIR-860L. After a functional test of the router I will set up a link to a donation page, so you are able to donate a smaller or larger amount – what you prefer. See also comments below. To be updated… –

We are some people that e.g. want the D-Link DIR-860L to get DD-WRT support!
But in general we would like that D-Link steps up and supports DD-WRT with e.g. development samples of their routers.
However until now we have not achieved that goal.
You can read more about the attempts to get D-Link to support DD-WRT here and below.
To achieve this goal we contact D-Link and we are gathering good arguments for D-Link to support DD-WRT.
Here is what we have until now:

D-Link DIR-860L

The Arguments

  1. The competitors of D-Link already support various open source routing software such as DD-WRT. Here is a list of examples:
  2. Today tech-savvy users as well as people with special needs buy routers if they e.g. have DD-WRT support.
    It is a competitive advantage if router companies have DD-WRT support.
  3. If and when DD-WRT receives samples of routers from D-Link then quicker DD-WRT support for the hardware will come out which will increase the amount of happy customers.
    People will know whether the device is going to be supported anytime soon!
    Today however there might go 2 – 3 years if at all DD-WRT support comes to D-Link routers. Currently the DD-WRT developers have very limited interest in making support because it is a lot of extra work and they only sometimes get a donated revision of some router by a user, but a lot of time after the router was released to the market. It would make the work a lot easier for the DD-WRT developers if they received samples directly from D-Link!
  4. D-Link on the other side will get a larger share of sold routers and therefore a larger profit if they choose to support DD-WRT!

What You Can Do

First and foremost if a company does not make the needed move on its own then the customers should help the company do so.

Here is what I did. I called the Danish office of D-Link and talked with a sales representative who actually was very friendly and listening. I gave him some of the arguments mentioned above. Afterwards I wrote him an email which he forwarded inside their organisation. After some time nothing had happened so I mailed him again and he was friendly and tried once again to get my message forwarded and heard inside the D-Link organisation. I have not heard anything yet. Maybe because things go slowly. Maybe because of the summertime.

Therefore I strongly suggest that if we stand together each and everyone of us and contact D-Link then there really is a better chance to get through to the decision makers and create the needed momentum!

So here is a brief list of possible moves you can make – meaning -places where you can try to get in touch with D-Link:

  1. Call your local D-Link office – find it here. Select your country and afterwards click “About D-Link” in the top menu. Thereafter click “Contact Us” in the left side menu. The names of the links may have been translated into your local language.
    Now you have the phone number of your local D-Link office for “general questions” so you are now able to call them! Consider the sales department if nothing else seems more appropriate.
  2. A second way to get in touch with D-Link could be through the formula that is also located at the same page mentioned above, but maybe the chance of getting feedback and success is less?
  3. Contact D-Link on their Facebook pages (just search for e.g. ‘dlink’) and come with your arguments. If you like link to this page.
  4. You could also consider writing on Twitter with some hashtags like #DLinkEurope and #Dlink.
  5. Google+ might also be the place to leave a comment – take a look.

Afterwards tell us below what you did!

If you succeed getting in contact with D-Link and they are willing to support DD-WRT you can either contact directly in a private message (PM) in the DD-WRT forum or you can message me if you prefer that.
will then get in touch with D-Link through the contact you have got and sort out the details regarding which address hardware samples should be sent to and so on.

Tell Us What You Did!

To be able to keep track off what people did to get D-Links attention please write a comment below and tell us your story!

106 thoughts on “DD-WRT for D-Link Routers”

  1. Guys, thanks for the information here, I’ve got the device flashed and running.
    Just realising the dd-wrt does not seem to support any USB external storage with NTFS.
    I have an 2TB external storage which is in NTFS and have large amount of media files inside… any idea how can I share these media files thru a SMB or Fileshare inside DDWRT?

      1. Thanks Anders,
        I will give those commands a try… since the ddwrt does not seem to auto mount the NTFS drive… for a normal 2GB USB storage it seem to work fine to auto mount it… I will try to figure it out later.
        Thanks for the information in here.

  2. I have D-link DIR 860l A1 version. I flashed my Dlink router today, and installed the r27506 beta build. And samba is not working.

    1. Hi waiet

      What specifically are you trying to achieve?

      I’m no expert in samba, but what steps have you taken to get samba to work?

      Eko wrote a small guide here http://www.dd-wrt.com/phpBB2/viewtopic.php?t=79150
      It is old and maybe not relevant today.

      What have you tried on the Services – USB and Services – NAT pages?

      Maybe in your use case it is relevant for you to activate CIFS Automount as well as JFFS2 Support in Administration – Automount?

      That is what comes to my mind.

      Please write back if you are still stock (there might be some experts out there)
      as well write back with your experiences and breakthroughs in getting it to work! 🙂

  3. I followed the information and google around… I enabled the USB supports for USB storage, Auto mount…..and so on….see the disk info of the mounted 2TB disk.
    go to NAS to enable Samba, gave a server string and workgroup..
    Add an share to my /mnt/sda …and make it public.
    added an user to have Samba access…
    after all… I am not able to discover this share in MacOS nor Windows….

    1. It could be a firewall problem internally in DD-WRT.
      It is one of the points where DD-WRT could become better: Easier way to configure the firewall.

      I am considering in the fall to try making use of FirewallBuilder:
      http://www.fwbuilder.org/
      It is an open source GUI firewall tool that e.g. supports DD-WRT in two different ways.
      The first one is that it is able to store the configuration in NVRAM (like other configuration parameters are in DD-WRT). The second way is to let it get access to the file system (I think you have to enable JFFS2 Support in Administration – Automount) and let it write the configuration to an iptables configuration file automagically.

      The second option would be to ask about Samba etc. in the General Questions forum here https://www.dd-wrt.com/phpBB2/viewforum.php?f=4

      1. You might be right about the firewall (though I am not sure if there is firewall at LAN level).

        In my Mac I do see a SHARED tab and see the DD-WRT, but when I double click to open it, it failed to connect… I guess it is hint for firewall issue?

        And I am not very good at DD-WRT nor Linux bash…not sure how can I check if I can open the firewall on the dd-wrt for LAN … since I the iptables FORWARD applies on WAN-LAN traffic…

      2. I did a iptables -L and these are the INPUT and FORWARD chains, nothing for the rest of the tables.
        Chain INPUT (policy ACCEPT)
        target prot opt source destination
        logaccept tcp — anywhere anywhere tcp dpt:25000
        ACCEPT 0 — anywhere anywhere state RELATED,ESTABLISHED
        DROP udp — anywhere anywhere udp dpt:route
        DROP udp — anywhere anywhere udp dpt:route
        ACCEPT udp — anywhere anywhere udp dpt:route
        DROP icmp — anywhere anywhere
        DROP igmp — anywhere anywhere
        ACCEPT 0 — anywhere anywhere state NEW
        ACCEPT 0 — anywhere anywhere state NEW
        DROP 0 — anywhere anywhere

        Chain FORWARD (policy ACCEPT)
        target prot opt source destination
        ACCEPT 0 — anywhere anywhere state RELATED,ESTABLISHED
        ACCEPT gre — 192.168.1.0/24 anywhere
        ACCEPT tcp — 192.168.1.0/24 anywhere tcp dpt:1723
        lan2wan 0 — anywhere anywhere
        ACCEPT 0 — anywhere anywhere
        TRIGGER 0 — anywhere anywhere TRIGGER type:in match:0 relate:0
        trigger_out 0 — anywhere anywhere
        ACCEPT 0 — anywhere anywhere state NEW
        DROP 0 — anywhere anywhere

        1. Hi Jeff
          When I get some time I’ll try out:
          https://www.youtube.com/watch?v=rQOfdBAaFPg
          If that does not work then I’ll try to diagnose a little on the problem and see if samba is running and look for its configuration as well as understanding what happens at the network level in case that is necessary.

          I’m not aware what samba version that is running on dd-wrt. E.g. some version 2 or 3.x.
          It seems there are more possibilities, but I’ll try for simplicity to begin with as described above.

          Else there are these howtos that might help:
          http://www.dd-wrt.com/wiki/index.php/Samba3
          http://www.dd-wrt.com/wiki/index.php/Slim_samba2
          http://www.dd-wrt.com/wiki/index.php/USB_storage#Updated_Instructions (the whole page but especially that section)
          http://www.dd-wrt.com/wiki/index.php/Samba
          http://www.dd-wrt.com/wiki/index.php/Configure_Samba_in_Linux

          1. I followed that youtube video but no luck, the Mac cannot connect to smb://ddwrt … and added iptables rules to allow on ports SMB needs…. not sure if I should try when next beta comes out…

  4. Update to my SMB issue.
    turns out it was not SMB setting nor IPtables rules, it was indeed /usr/sbin/smbd isn’t running from startup for unknown reason.
    if anyone is experiencing SMB not found in Mac or Windows, telnet/ssh to the router, run top or ps command to check if both
    /usr/sbin/smbd -D –configfile=/tmp/smb.conf
    /usr/sbin/nmbd -D –configfile=/tmp/smb.conf
    are running, if either one of that is not running, manually run that command to start it up and check if your SMB sharing is working…
    after that … go to DD-WRT web admin … Administration -> Commands -> paste the command for which daemon isn’t running and save that to Start up.

    Note: do not try to update the smb.conf in /tmp since files in /tmp seems to get generated again from reboot… at least for smb.conf it is generated again from reboot.

  5. Hi Jeff
    That cool I can use dd-wrt on D-Link DIR-860L A1 router.
    But I can’t find any information how return stock firmware.
    Tried 30/30/30, but unsuccessful.
    Have you manual how return original firmware?

    1. 1) Store a copy of the router firmware (.BIN) on the HDD of a local PC
      2) Connect an Ethernet cable between one of the LAN ports on the rear of the router and the network port on the local PC
      3) Configure the PC with a static IP address other than 192.168.0.1 (e.g. 192.168.0.5)
      4) Power down the router and unplug the power cord
      5) Press and hold the reset button on the rear of the router for 3 to 5 seconds and re-plug the power cord without releasing the reset button
      6) Continue to hold the reset button until the amber power light keeps blinking on and off
      7) Open a web browser and enter the following address: http://192.168.0.1/
      8) Wait for the D-Link Router Recovery Mode page to load
      9) Using the Choose File button, select the router firmware stored on the local PC and then press Upload
      10) After the firmware successfully loads, a Success page will display
      11) If the Success page fails to display, then repeat steps 3 through 9

  6. Hi there. Thanks so much for working on this! I’m wondering about specific advantages–what will I get from flashing dd-wrt on this particular router which I don’t already get? And will there be any compromises in speed?

  7. Hi!

    I just installed the last beta of dd-wrt on my DIR-860L router. Everything described in this forum worked well except one thing: at the moment i activate USB core, i lost my 2.4 GHZ band (5 GHZ still works btw and 2.4 seems to work except it is not listed by my wireless devices). As I have a portable hard drive formatted with ext4, dd-wrt was the reason why i flashed my router. I need somehow 2.4 Ghz band for an old laptop and my wireless printer.
    Does anyone of you has this problem?
    If i deactivate USB core, 2.4 Ghz is seen again by my devices!

    Thank you!

    PS: I posted the same thing on the forum!

  8. I tried to install the webflash DD-WRT firmware on my D-Link DIR-860L A1 Router, and it said that the firmware file was too large. Then when I tried the factory version, it did not load. Any tips?

    1. Hi Evans,

      Here is an answer I gave recently to someone else, but I think the help applies to your question as well:


      These days there are only beta releases 🙂

      Currently I use build 27490 ftp://ftp.dd-wrt.com/betas/2015/07-06-2015-r27490/dlink-dir860l-a1/
      It has been running very stable. 🙂
      But there are every now and then new releases:
      ftp://ftp.dd-wrt.com/betas/2015/ select the build and search for dlink-dir860l-a1

      Every now and then somebody announces that a new beta build has been released at https://www.dd-wrt.com/phpBB2/viewforum.php?f=1
      Typically it reads something like https://www.dd-wrt.com/phpBB2/viewtopic.php?t=286418 in the subject ‘New build is out 2#### (BS) V3.0 …’. This build actually bricks some routers also dir-860l a1. So do not try to use that build.

      You can install directly from your stock D-Link firmware simply by choosing to upload new firmware. It is though advised first to reset to factory settings. (But probably works anyway.)

      When you upload firmware for the very first time you MUST upload the factory-to-ddwrt.bin file.
      After this you have some special (but limited DD-WRT firmware running on your router.)
      Now from the DD-WRT web interface you will be able to upload the dir860-webflash.bin and after that and a reboot you can start configuring your router.

      I have never tried to revert firmware, but I guess you can upload it from DD-WRTs web interface without a problem.
      The second option that works and which also can help you in a ‘brick’ situation (D-Link only) is to follow this guide http://forums.dlink.com/index.php?topic=44909.0 or what hk writes here: http://anderslind.dk/dd-wrt-for-d-link-routers/comment-page-6#comment-16011

      In any case never upload new firmware over WiFi! Use cable! 🙂

      Cheers

      Anders

  9. Hi all,

    I m unable to make my external hard disk to with the router DIR-860L.

    Currently using build 27506 as recommended.

    I have already enabled Core USB support, USB Storage Support and Automatic drive mount under Services-> USB tab. The disk info shows my external hard disk info.

    Then, I should also enable the Samba server unader Services, NAS. I have Stream as the server String and WORKGROUP as workgroup.

    I have added the file sharing path with name and public checked. Created a new user with access shares and samba checked.

    My external hdd is formatted with fat32. I tried with ext4 too.

    Can anyone help ? Thanks.

    MJ

Comments are closed.

Vejen ud er vejen hjem