DD-WRT for my TP-Link TL-WR842ND


My TP-Link TL-WR842ND freeze once or twice a day. It’s not the WAN because I may go online with other ports on FDDI modem. I cannot even login to my TL-WR842ND. Upgrade to the latest firmware doesn’t help, either. After 7 months, I give up and get a new AP.

Until last week, when I try to do more research to see if there is any solution, a YouTube names “TP-link TL-WR740N freezing, no connection until restart” catch my eye. It’s exactly what happen to me. And there are comments TL-WR842ND has the same problem, too. Aidin shadnezhad solve his problem by flash it with DD-WRT firmware.

Here comes the solution!

Download and Install DD-WRT

Please use an Ethernet to connect to your TL-WR842ND. If you use Wireless connection, you might not be able to login your router after flashing firmware.

  1. Search for your model in DD-WRT: Router Database. I use WR842ND as keyword to find my router.
  2. Download factory-to-ddwrt.bin and tl-wr842ndv1-webflash.bin.
  3. In TL-WR842ND’s configuration utility, use [System Tools]→[Firmware Upgrade] to upload factory-to-ddwrt.bin and click [Upgrade] to flash firmware.
  4. Browse http://192.168.1.1 to the new DD-WRT control panel. It will help you to setup password for administrator.
  5. Choose [Administration]→[Firmware Upgrade] to upgrade with tl-wr842ndv1-webflash.bin again

Configure your WAN and LAN

First, let’s get connect to internet.

  1. [Setup]→[Basic Setup] to  your WAN.
  2. Choose the connection type of your WAN. It shall be available from your ISP.[
  3. [Save] and [Apply Settings]
  4. Enable [SPI Firewall] in [Security]→[Firewall] as soon as possible.

If you need to change DHCP setting like DNS, start IP address, and etc, you may find them in this page.

Now, make the WiFi available again.

  1. [Wireless]→[Basic Settings]
  2. Provide your SSID and tick [Disable] Wireless SSID Broadcast for better security.
  3. Add your WPA Shared Key in [Wireless]→[Wireless Security]. I preferred to use [WPA2 Personal] with [AES] for better security.
  4. Enable MAC Filter will stop wireless access from unknown computer. In [Wireless]→[MAC Filter],  click on [Edit MAC Filter List] to provide known device. Choose [Permit only listed to access the wireless network] to prevent others to access.

You may increase security level by disable unwanted service in [Services]→[Services], turn off [VPN] and [NAS], fine tune more setting in [Firewall], and etc.

Status of my TP-Link WR842ND with DD-WRT
Status of my TP-Link WR842ND with DD-WRT

More thoughts

Although there are people complaining Tomato is more stable than DD-WRT, it is actually more stable than the factory firmware to me – I haven’t drop for weeks. Besides, only DD-WRT support Atheros. I don’t have other choice, either.

DD-WRT provides more information about my router and the statistics is more useful. I was very surprised it comes with Atheros AR7241 at 400 MHz and 32MB RAM only.

For those using Broadcom, Atheros, and Ralink chips, you may try DD-WRT if you have drop-line issue. If you are using Broadcom, you may also try Tomato, too. It’s good to have more options for your hardware.

If you preferred OpenWrt, it is available here. OpenWrt doesn’t comes with a web interface, you might need to install something like LuCI yourself.

If you encounter any issue and your TL-WR842ND becomes a brick, you may read [HOWTO] Unbrick TP-Link WR842ND WITHOUT serial to save it.

Reference

  1. TL-WR842ND
  2. DD-WRT
  3. YouTube: TP-link TL-WR740N freezing, no connection until restart
  4. Aidin shadnezhad
  5. DD-WRT: Router Database
  6. TP-Link TL-WR842ND User Guide
  7. DD-WRT: TP-Link TL-WR842N(D) v1.x factory-to-ddwrt.bin
  8. DD-WRT: TP-Link TL-WR842N(D) v1.x tl-wr842ndv1-webflash.bin
  9. Mobile01: 請教DD-WRT 與 Tomato的差異
  10. TomatoUSB: Difference between DD-wrt and tomatousb
  11. 電腦殺毒掃毒與軟體硬體與網路防毒研究中心:[網路] 無線IP分享器(無線基地台) 刷第三方韌體 DD-WRT
  12. OpenWrt
  13. OpenWrt: TP-Link TL-WR842ND
  14. OpenWrt: LuCI Essentials
  15. OpenWrt: [HOWTO] Unbrick TP-Link WR842ND WITHOUT serial

30 thoughts on “DD-WRT for my TP-Link TL-WR842ND

  1. Hi

    Grats Great manual overall.

    By installing both of tomato or openwrt doe the router support the usb port on the router for printers and usb key or usb hdd.

    Marcell

    Liked by 1 person

    1. I have test the USB shared printer with my Canon MP258 and it works to print from my ThinkCentre Edge 72z running OpenSuSE 13.1.

      Like

  2. Thank you for this manual. I just installed DD-WRT in the same TL-WR842ND router and it works great. Now I would like to configure a “media server” with it.

    Liked by 1 person

      1. Thank you, I’ve been reading your posts, and trying to follow DD-WRT instructions, but I couldn’t set the Samba media server… I am totally unexperienced in linux, so it is a bit complicated for me. Now I will try with the original TP-Link firmware again.

        Liked by 1 person

      2. From the DD-WRT menu, I think it support to use the USB connected external hard drive as a file server via Samba. It may be accessed by FTP via ProFTPD, too. But Samba file server is different from media server, the later supports more convenient way to be connected from media player without keyboards. When you see something with DLNA or iTune Server, it is a media server.

        Therefore, if you need a media server, look for a NAS is easier. If you need file sharing, TL-WR842ND with DD-WRT shall work. If you have Linux command line, programming, and compiler knowledge, you may use SSH / Telnet to install extra package to convert it as a media server. Ric writes “Komg Mod – DLNA Media Server Setup” to easier this for DD-WRT which I haven’t test before.

        I read Tomato USB provides DLNA server capability which includes DLNA support.

        Like

  3. I installed it on my router but I do have a problem: FTP does not work. I cannot work on FTP on any server, it fails to retrieve directory listing. Did any of you find a solution for this? Thanks!

    Liked by 1 person

    1. Dear Florin,

      I push my FAT32-formatted USB flash drive to TL-WR842ND and enable Core USB Support, USB Storage Support, Automatic Drive Mount, and Disk Mount Point at /mnt in tab [Services]→[USB]. Click on [Save] and [Apply Settings].

      Then switch to another tab [Services]→[NAS] to enable ProFTPD, Allow Write, and Anonymous Login (Read-only). Click on [Save] and [Apply Settings].

      Then I launch FileZilla using plain FTP to connect to TL-WR842ND as anonymous. I may browse all disk contents in /discsda but it is ready only.

      Now, I have to create a ftp user account which is different from the account used to login to this web admin interface. Switch to tab [Services]→[NAS]. Fill in user name and password in FTP User Password List and separated by a blank. You may use plain password or MD5. See more about this in ProFTPD – adding a username and password using the web gui?. Click on [Save] and [Apply Settings].

      Then I launch FileZilla using plain FTP to connect to TL-WR842ND as my new account name and password. I may browse all disk contents in /discsda, upload, and delete files.

      Wish it helps!

      Best regards,

      Amigo

      Like

      1. Thanks for your reply, Amigo!

        I was talking about public FTP, not the router. I cannot connect and work on FTP on my web domain (actually no other domain). Does it work for you?

        Thanks!

        Liked by 1 person

  4. Dear Florin,

    I need to make sure I understand your question.

    1. FTP in Router.

    There is a ftp server when you install DD-WRT on TL-WR842ND. It provideds ftp access to the USB storage connected to the router.

    2. FTP behind the router and access within LAN

    I have an OpenSuSE desktop and ftp server behind the router. I may access ftp server without any issue. I never need to change any configuration on my router.

    3. FTP through the router (WAN)

    I have an download files using ftp from other web sites. I may access ftp server without any issue. I never need to change any configuration on my router.

    4. FTP behind the router but access outside (WAN)

    I didn’t test this before. You will need to check the configuration in tab [NAT/QoS]→[Port Forwarding] to map all port 21 request to the IP of your ftp server.

    May I know which of above is your case?

    Have a nice day!

    Best regards,

    Amigo

    Like

    1. I am trying to access FTP on my internet public domain (WAN, external server). It connects, but cannot retrieve file list.

      I found there are many others having this problem, for instance: http://unix.stackexchange.com/questions/82327/ftp-issues-after-installing-dd-wrt

      No solution until now. Maybe my build in buggy, do you still have your DD-WRT firmware? If yes, please provide a direct download link. I took mine from ddwrt website, the latest on this date, I would need an older one. Thanks.

      Liked by 1 person

  5. I found a solution for the FTP problem: I use an updated firmware. I could find that there are many updated versions on the dd-wrt website and Bjoern from DD-WRT confirmed that the first firmware offered to download is just the first one confirmed to be working. Updates are then released and any other user can update his/her router. So I did (found the latest here: http://dd-wrt.com/site/support/other-downloads?path=others%2Feko%2FBrainSlayer-V24-preSP2%2F) and the FTP works 🙂

    Liked by 1 person

  6. Dear Florin,

    Thank you for sharing this solution to us! 🙂

    For those who want to follow his instruction, please make sure you have choose the right model and select the compatible firmware.

    Have a nice day!

    Best regards,

    Amigo

    Like

    1. I am glad I could help. I am also grateful to Bjoern from DD-WRT, his feedback helped me test with an updated firmware that fixed the problems I found.

      Liked by 1 person

  7. Hi~
    I have TP-Link WR842ND also and so far the connection was poor.
    I plan to flash DD-WRT F/W.
    Do you ever try WDS and set 842ND as main AP?
    I afraid WDS can’t work once I flash FW and another AP was 841D.
    thanks~

    Liked by 1 person

    1. Dear iamaliens,

      I never try to use WDS thought it does have an WDS options under Wireless tab. You may keep your original firmware before flashing DD-WRT.

      Have a nice day!

      Best regards,

      Amigo

      Like

  8. Does DD-WRT support wireless printing without the use of an ethernet cable? I have a usb wired printer and I thought that by connecting the printer to this router, it can print wirelessly. However, it turns out that you need to connect an ethernet cable with the use of their crappy USB Print Controller.

    Your help is greatly appreciated.

    Liked by 1 person

    1. Dear Jason,

      After enable “Core USB Support”, you may choose to enable USB printer and storage support.

      I have test the USB storage feature by uploading files through wireless network to a USB flash stick on TL-WR842ND with DD-WRT. TL-WR842ND has both Ethernet and wireless for networking.

      I have never test the USB printer feature.

      Have a nice day!

      Best regards,

      Amigo

      Like

  9. I cant access 192.168.1.1 after upgrading to factory-to-ddwrt.bin
    the internet is functioning normally but i just cant access 192.168.1.1
    im sorry that i dont know what to do, im just newbie in this kind of thing

    Liked by 1 person

    1. Dear Timothy,

      You may first check which IP is assigned by DD-WRT. If you have IP 192.168.2.x, then you should try to access 192.168.2.1 rather than 192.168.1.1

      Google “What is my IP” shall help you to find your assigned IP.

      Wish it helps!

      Best regards,

      Amigo

      Like

  10. I’m running the stock firmware with my WR842ND v2. Can’t get the router media server scan my entire music colection in a USB HDD attached to router. Is there any file number limitation? I have more than 10K files in 100GB folders. If there is a limitation I can’t find any documentation of how the USB port of this router works.

    Liked by 1 person

    1. Dear Derek,

      With DD-WRT, there are some DLNA media server packages already available. But I am not sure if they support TP-Link TL-WR842ND, you might need to compile from source code.

      About assigning media server program to scan your USB drive, it depends on weather the default configuration. Even on NAS, sometimes they take attached USB device for backup storage only and cannot use for other purpose.

      Have a nice day!

      Best regards,

      Amigo

      Like

  11. Few hours ago I upgraded my WR842ND.
    2 cons:
    A) couldn’t install “tl-wr842ndv1-webflash.bin”, 3 times I tryed, all 3 time had to reset device. Is it very important to install both files?

    B) Wifi speed decreased. Before firmware upgrade I downloaded torrents at 10.1MB/s!! now I only got max 6MB/s 😦 on same device… What should I do to increase download speed?

    Liked by 1 person

    1. Dear Marewx,

      1. Yes, you have to install both of them.

      2. It should be different torrent application and configuration results in different speed. I didn’t use torrent and cannot help on this.

      Or you may try OpenWrt to see if there is any improvement.

      I have bought a new Asus RT-AC51U for its Android USB tethering support and 802.11ac capability to replace my WR842ND on 2015.

      Have a nice day!

      Best regards,

      Amigo

      Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.