xuv's notebook

Side notes, howtos and random bits of information related to Julien Deswaef's projects

User Tools

Site Tools


os:arch:tp-link_tl-wr842nd_v2.1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
os:arch:tp-link_tl-wr842nd_v2.1 [2026/08/22 11:50] – removed - external edit (Unknown date) 127.0.0.1os:arch:tp-link_tl-wr842nd_v2.1 [2026/08/22 11:50] (current) – ↷ Page moved from arch:tp-link_tl-wr842nd_v2.1 to os:arch:tp-link_tl-wr842nd_v2.1 Julien Deswaef
Line 1: Line 1:
 +====== TP-Link TL-WR842ND v2.1 ======
  
 +How to reset (recover) the factory firmware on a TP-Link TL-WR842ND v2.1.
 +  - Get the firmware and "shorten it"
 +  - Set a TFTP server on your machine
 +  - Put the device on failsafe mode and connect to computer static IP: ''192.168.0.66''
 +
 +All info is taken from [[https://openwrt.org/toh/tp-link/tl-wr842nd|this page on OpenWRT]] and corrected to work with my particular device and setup.
 +
 +==== 1. Firmware ==== 
 +  * Download latest firmware from here: https://www.tp-link.com/us/support/download/tl-wr842nd/#Firmware
 +  * Since it's a "boot" version, you need to "shorten" it (and rename it)
 +
 +<code=bash>
 +dd if=wr842ndv2_en_3_16_9_up_boot(150514).bin of=wr842nv2_tp_recovery.bin skip=257 bs=512
 +</code>
 +
 +==== 2. TFTP server ====
 +On Arch:
 +<code=bash>
 +pacman -Syu tftp-hpa
 +</code>
 +
 +Then move the ''wr842nv2_tp_recovery.bin'' you just created and put it in ''/srv/tftp''.
 +
 +Start the TFTP server:
 +<code=bash>
 +systemctl start tftpd.socket
 +systemctl start tftpd.service
 +</code>
 +
 +==== Failsafe ====
 +  * Correct a good RJ45 cable from LAN on the device to Ethernet plug on computer configured as static IP: ''192.168.0.66'' 
 +  * Put device in failsafe mode:
 +    - Unplug power chord
 +    - Press and hold reset button
 +    - Power up the device and keep reset button pressed
 +    - Wait till the //lock// LED is on
 +    - Release reset button 
 +
 +If all goes well, the device should pick up quickly the new firmware and reboot.
 +
 +--- //[[juego@requiem4tv.com|Julien Deswaef]] 2021/04/17 20:46//