How to reset (recover) the factory firmware on a TP-Link TL-WR842ND v2.1.
All info is taken from this page on OpenWRT and corrected to work with my particular device and setup.
dd if=wr842ndv2_en_3_16_9_up_boot(150514).bin of=wr842nv2_tp_recovery.bin skip=257 bs=512
pacman -Syu tftp-hpa
Then move the
wr842nv2_tp_recovery.bin you just created and put it in
Start the TFTP server:
systemctl start tftpd.socket systemctl start tftpd.service
If all goes well, the device should pick up quickly the new firmware and reboot.
— Julien Deswaef 2021/04/17 20:46