in this toturial we want to install OpenWrt on tp-link tl-mr6400(eu) v5.2 and after install OpenWrt we show how can back to orginal framware.
- Download OpenWrt firmware from here.
- install tftp server on user pc. for ubuntu
sudo apt install tftpd-hpa
. - edit tftp server config file.make working directory in home and set permission.
- create directory in home
mkdir -p tftp
- change directory permission
sudo chown tftp:tftp tftp
- edit tftp server config file like this. but change directory with your path.
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/saeid/tftp"
TFTP_ADDRESS=":69"
TFTP_OPTIONS="--secure"
- restart tftp server
sudo systemctl restart tftpd-hpa.service
- rename openwrt firmware to
tp_recovery.bin
and copy it to tftp folder. - change bin file permission
sudo chown tftp:tftp tftp/tp_recovery.bin
- change interface ip to
192.168.0.225/24
and connect with cable to modem. - restart tftp server
sudo systemctl restart tftpd-hpa.service
- now power off modem with remove power supply.
- power on the modem while holding the reset button and connect to power supply
- wait at least 8 seconds before releasing reset button
- After downloading the new firmware image, the power light should flash for about 3mins, then the device should reboot.