OpenWRT on the TP-Link TL-WDR3500

I got myself a TP-Link TL-WDR3500 since it boasts great hardware (see below for detailed info), and at the same time is supported by OpenWRT which I easily found out by searching in the OpenWRT forums.

Here’s the direct link to the firmware image (current “unstable” or “bleeding edge” OpenWRT release “Barrier Breaker” — i. e. not current stable one, which is Attitude Adjustment — build r36486) which you can use to upgrade a device with the factory firmware still installed. (Update: The link refers to the “trunk”, i. e. the development branch, where daily builds are available.)

Installing OpenWRT using the stock firmware’s “Firmware Upgrade” function worked smoothly. Less than 5 mins. after I started the upgrade I had OpenWRT running (thanks, folks!).

I collected a couple of facts which might be helpful for reference:

  • CPU: MIPS 74Kc, CPU revision: 0001974c, clock: 560 MHz, 278.93 BogoMIPS
  • SoC: Atheros AR9344 rev 2
  • RAM: 128 MByte DDR @450.000MHz
  • Flash: m25p80 spi0.0: en25q64 (8192 Kbytes)
  • 5 MTD partitions on “spi0.0”:

  • 0x000000000000-0x000000020000 : "u-boot"
    0x000000020000-0x00000011ffec : "kernel"
    0x00000011ffec-0x0000007f0000 : "rootfs"
    0x0000002d0000-0x0000007f0000 : "rootfs_data"
    0x0000007f0000-0x000000800000 : "art"
    0x000000020000-0x0000007f0000 : "firmware"

The firmware image referred to above doesn’t come with LuCI, the web-based configuration tool. For those of you who are not that command-line savvy, you might want to install it. Here‘s a quick HOWTO that explains how to do it. Takes only a minute, and afterwards you have LuCI Trunk (svn-r9812) installed (as of today).

I’m now running OpenWRT on my new router since almost 2 hours. I haven’t noticed the slightest issue so far — everything runs very smoothly and is rock-solid. I might publish another article later if anything pops up, or in case of an OpenWRT update.

Finally here’s a link to OpenWRT’s page specific for this router.

16 thoughts on “OpenWRT on the TP-Link TL-WDR3500”

  1. I see you have this firmware for a month now. Is everything in order? I want to change the default firmware especially for the DLNA shitty support on it, did you test all this USB functions like DLNA server, USB network sharing, USB FTP sharing etc?

    1. To be honest I’m not sure whether current “trunk” builds for that WiFi router are ready for prime time already…

      I observed some intermittent instability issues WRT to WiFi and also Ethernet(!) connectivity (frequency approximately once or twice per hour), where LAN clients would briefly lose connectivity. I’ve not yet done any “real”, “burn-in” testing of the new OpenWRT box yet, since I mainly did some experimenting (such as getting dynamic DNS working, or IPv6-over-IPv4 tunnel via HENET, etc.).

      I would like to have everything set up properly, and then do some production-near testing before I replace my current Linksys WRT54GL with the new router…

      Re. your questions: I did not try any of the features you mentioned. WRT USB I tried USB tethering with my LTE mobile phone, and that worked absolutely flawlessly.

      So if you want my opinion: If you’re frequently using VPN connections (where it’s a PITA when your network goes down, because you have to reestablish the VPN every time), then I would wait until the firmware becomes more stable. Otherwise it could be fine to migrate to OpenWRT now… The OpenWRT operating system itself is absolutely rock-solid. Not a single crash, and router is running 24×7…

      1. Great Ralph,
        Thank you for your quick answer. I’ll wait some more before switching to the wrt firmware then, around 2 drops per hour mean something to me even if I don’t use VPN.
        I am pretty happy with the official firmware, besides the hell I’ve been through with DLNA. Connection quality is above USB functionalities though. I will gladly check your blog for news!

        1. You’re welcome. I will post an update here as soon as I see more stability.

  2. Hi Ralf,

    I want to change the default firmware in my tl-wdr3500 but there is something I really need to have stable. It is VPN and good connection at first. It has one month already passed from your last post and there is some other and newer trunk of OpenWRT. Are you testing it, do you have some more updates for us?

    Thank you and have a great week.

    Raduz

    1. I was on vacation for a while, so I couldn’t spend any time on testing for a couple of weeks. But after my return I flashed the then-latest trunk build. And indeed I observed a much more stable behavior both on Ethernet ports and WiFi — I had a “ping” running for hours and didn’t see a single lost packet. I guess that’s a very good sign, it seems the problems I had are gone…

      So I would encourage you to try it yourself and tell us about your findings. Remember that you always can go back to the stock firmware if required (I haven’t tried this myself, but I read that it should be straight forward)…

      Good luck! And a great week to you and all the other readers as well!

    2. Hi again,
      I have installed this for a while: “TL-WDR3500 1.0 trunk r36486” and it is good. Everything that I wanted stable works like a charm: internet connection through PPPoE, WiFi on both 2.4Ghz and 5Ghz, DLNA server with my Samsung 3D LED, transmission torrent client, samba, ftp server. Unfortunately this router has a small memory and I had to uninstal samba but kept everything else. If some of you manages to extend the memory for new packages to USB put here a tutorial. I tried for some time and I rerouted the new packages to the USB but most of them are not working although the services start properly (i.e. SAMBA)

  3. Hallo Ralf,

    Ich habe genau den selben Router wie du.
    Habe mir gerade openwrt downgeloadet und das dann installiert.
    Leider bekomme ich keinen Zugriff mehr zum Router.
    Hast du eine Idee wieso?

    1. @Asmiai: Wie genau hast Du denn das OpenWRT-Image geflashed? Was ist denn das Symptom? Blinken noch LEDs (so dass man davon ausgehen kann dass der Router nicht “eingefroren” ist)? Ist Aktivität auf dem Ethernet-Port zu beobachten, an den Du Deinen PC angeschlossen hast? Welche IP hast Du ggf. vom Router erhalten? (“ipconfig” unter Windows, “ifconfig -a” unter Mac OS X/Linux)…

  4. Jetzt muss ich mal ein paar Anfängerfragen stellen, wenn es dir nichts ausmacht? 🙂 (Frage 0 😀 )

    1. Ist unter dem angegebenen Downloadlink der aktuellste Build oder wird im Router selber dann ge-“updatet”?
    2. Wie update ich generell die Open-WRT Firmware?
    3. Wo finde ich (vorzugsweise Deutsch) gute Anleitungen für Open-WRT. Google ist nur halb so aussagekräftig wie gehofft, da die relevanten Suchbegriffe komplett fehlen. 🙂

    Danke schonmal im Voraus für die hoffentlichen Antworten und Danke für den informativen Artikel!

    1. @Robert:

      Zu 1: Unter dem angegebenen Link findest Du “daily builds”, Entwicklerbuilds, die durchaus instabil sein können (im Extremfall könnte ein Build so “kaputt” sein dass Du damit Deinen Router “brickst”, also kaputt flashst). Das ist mir aber noch nie passiert, alle Builds haben bisher funktioniert (wenn sie auch durchaus schon mal bestimmte “Defekte” haben können, es ist schließlich “work-in-progress”).

      Zu 2: Du meinst nachdem Du erstmalig OpenWRT installiert hast, nehme ich an? Du flashst ein non-factory-Image, dabei werden dann der Kernel sowie die Binaries upgedatet. Die Config-Files bleiben erhalten (ggf. musst Du selbst erzeugte Config-Files in die Liste der beim Upgrade beizubehaltenen Config-Files aufnehmen). Das Ganze geht mit LuCI, dem Web-Interface, sehr einfach.

      Zu 3: Puuuuh, gute Frage. Einige wenige Seiten auf OpenWRT.org sind auch auf Deutsch verfügbar. Ich kann Dir da leider keine Empfehlungen gebe, da ich sehr gut Englisch spreche.

      Wenn Du konkrete Fragen hast kannst Du gerne hier fragen, aber ich kann Dich leider aus Zeitgründen nicht “an der Hand nehmen” — selbst Antworten auf konkrete Fragen können schon mal was dauern oder gar komplett “unter gehen”… 🙁

  5. open wrt installiert, komme über ssh auf den Router, nur kann ich die Benutzerfläche LuCI nicht installieren, da keine Internetverbindung besteht…
    …habe schon einiges in den Netzwerkeinstellungen im Route verändert, aber ich komme nicht ins Internet.
    Der Router (IP 192.168.1.1) hängt über dem LAN Port über einen Switch an einer Fritzbox (IP:192.168.1.1 – ich denke da liegt das Problem?)
    Kann man den Router auf Werkseinstellungen zurück setzten?
    Wie komme ich dann am besten an die Benutzeroberfläche??

    Danke

    1. Du kannst natürlich auch über die Kommandozeile die IP-Adresse ändern. Schau Dir mal folgende Seite an:

      http://wiki.openwrt.org/doc/uci

      Wenn Du nicht PPPoE auf dem WAN-Interface machen willst dann solltest Du den Router so konfigurieren, dass er sich per DHCP eine IP-Adresse auf dem WAN-Interface holt. Oder statisch die WAN-IP-Adresse konfigurieren auf eine IP aus dem selben(!) Netz wie Deine Fritz-Box-LAN-Clients!

    2. Versuch’ mal aus einer telnet- oder ssh-Sitzung folgendes:

      uci set network.lan.proto=static
      uci set network.lan.ipaddr=192.168.222.1
      uci set network.lan.netmask=255.255.255.0
      uci set network.lan.ifname=eth0
      uci set network.wan.proto=dhcp
      uci set network.wan.ifname=eth1
      uci commit network

      Danach rebootest Du den Router durch Power-Cycle-Reset (aus/ein). Falls Du danach den Router nicht auf 192.168.222.1 pingen kannst ziehst Du kurz Dein Ethernet-Kabel oder rebootest Deinen PC (um ein “DHCP renew” zu erreichen).

      Das sollte eigentlich reichen um dem Router zu ermöglichen, sich selbst per DHCP aus dem LAN eine IP-Adresse für das WAN-Interface zu holen. Das LAN-Netz Deines OpenWRT-Routers hat dann die Adresse 192.168.222.0./24, d. h. alle Clients die am OpenWRT hängen kriegen eine IP aus dem Bereich 192.168.222.[2..254].

  6. hey, ich habe auf meinem Tl-wdr3500 die selbe openwrt firmware drauf gespielt.
    Die weboberfläche habe ich schon zum laufen bekommen nur das einzeigste was bei mir nicht klappt ist das einbinden einer usb festplatte als dlna mediaserver. Könnten sie mir dabei helfen?
    ich kriege meine Festplatte irgendwie nicht gemounted geschweige denn wird sie auch nicht bei /sda angezeigt oder sonst was.
    welches dateisystem braucht die Platte?
    Gruß Mario

    1. @Mario Sorry, aber das habe ich bisher noch nie versucht/benötigt, weil ich ein NAS habe…

      Hast Du mal auf den Seiten MiniDLNA und USB Basic Support geschaut?

      Viel Erfolg! Frag’ zur Not mal im OpenWRT-Forum, die sind dort sehr hilfsbereit…

Leave a Reply to Ralf Bergs Cancel reply

Your email address will not be published. Required fields are marked *