Installing OpenWrt via tftpd-HPA (Debian) on TP-Link WR841N V13

I installed tpftp-HPA and it's running correctly

sudo service tftpd-hpa status
● tftpd-hpa.service - LSB: HPA's tftp server
   Loaded: loaded (/etc/init.d/tftpd-hpa; generated; vendor preset: enabled)
   Active: active (running) since Mon 2018-12-31 09:01:20 EST; 2min 17s ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/tftpd-hpa.service
           └─31815 /usr/sbin/in.tftpd --listen --user tftp --address
sudo grep in.tftpd /var/log/syslog
Dec 31 09:01:20 debian tftpd-hpa[31808]: Starting HPA's tftpd: in.tftpd.

The config /etc/default/tftpd-hpa


I put tp_recovery.bin (openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery) in /srv/tftp
Use as ip but nothing happens when I power up the router while pressing the reset button... Any clue?

-make sure you chmod the files in the tftp directory..... ( chmod 755 /file/here )
-helps to watch traffic in another terminal ( tcpdump -i interface )
-helps to try with a laptop or other host as client to grab the file
-some tp routers i believe you have to hold wps button too or similar

1 Like