Skip to content

Instantly share code, notes, and snippets.

@gamwe6
Created January 6, 2021 10:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gamwe6/ef726b550037957a4d6d5255dc7efa7a to your computer and use it in GitHub Desktop.
Save gamwe6/ef726b550037957a4d6d5255dc7efa7a to your computer and use it in GitHub Desktop.
Install OpenWrt on TP-Link TL-MR6400 V4
@mbiro6
Copy link

mbiro6 commented Feb 17, 2021

Hi, sorry, but the fw link contain sysupgrade and recovery. I think, for the change the original FW would be an factory.bin. If I try the sysupgrade, the process end with eroor. Fortunatelly not a brick, but no any changes. I make it any wrong? Thx.

@imamsulikin
Copy link

Bang buat yg V5 nya ada nggk

@gamwe6
Copy link
Author

gamwe6 commented Mar 20, 2021

@mbiro6 You will need the file that ends with *tftp-recovery.bin not the *sysupgrade.bin one, rename it to tp_recovery.bin and flash it via tftp:

You can flash via tftp recovery:
 - serve tftp-recovery image as /tp_recovery.bin on 192.168.0.225/24
 - connect to any ethernet port
 - power on the device while holding the reset button
 - wait at least 8 seconds before releasing reset button

source

@gamwe6
Copy link
Author

gamwe6 commented Mar 20, 2021

@imamsulikin If you are looking for the image of the TP-Link TL-MR6400 v5 you will find it here. Download this one.

@imamsulikin
Copy link

imamsulikin commented Mar 23, 2021 via email

@flauzff
Copy link

flauzff commented Jun 1, 2021

Is Luci already included on this release? I tried to Install the openwrt (by tftp) but it not works, also tried to opkg install luci but i receive no space error..any ideas?
tnx

@gamwe6
Copy link
Author

gamwe6 commented Jun 1, 2021

@flauzff This image does not include LuCi. If you have any error, then better build the image yourself specifying the LuCi package.

@flauzff
Copy link

flauzff commented Jun 1, 2021

Tnx for the answer. I will try to do it, until then I need to reimstall original stock fw. Hope all works fine

@capsia37
Copy link

Hello! I've recently installed your firmware on my router, because I wasn't able to set the stable image to use the QMI modem. It works great, thank you! I noticed also that there are no builds after v20210613 are any new versions planned or maybe an image that is based on the stable image? I'm asking because I wanted to install the openvpn package, but opkg says that the kernel is too old to satisfy the requirements. I haven't tried on the stable version, because I have no network connection to download the package. The error is the following:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for openvpn-openssl:
 * 	kernel (= 5.4.134-1-5e0d078e8605d0579be4caafdf2317c8)
 * opkg_install_cmd: Cannot install package openvpn-openssl.

@gamwe6
Copy link
Author

gamwe6 commented Aug 14, 2021

Hello @capsia37, sorry for the long delay. Have you found a solution? Did you try an older release?

@gamwe6
Copy link
Author

gamwe6 commented Aug 14, 2021

are any new versions planned
@capsia37

Yes, the pipeline was on hold because of no activity on the repository the last 60 days.

@capsia37
Copy link

Hello @capsia37, sorry for the long delay. Have you found a solution? Did you try an older release?

Yes, I've tried the previous versions, but I couldn't install the package because the kernel version is 5.4.124 instead of the required 5.4.134. I don't know why the package wants exactly that version, maybe it can be recompiled to work with 5.4.124.

@gamwe6
Copy link
Author

gamwe6 commented Aug 15, 2021

Yes, I've tried the previous versions, but I couldn't install the package because the kernel version is 5.4.124 instead of the required 5.4.134. I don't know why the package wants exactly that version, maybe it can be recompiled to work with 5.4.124.

A new version has been released, try it out. It should have a kernel version >= 5.4.134.

@capsia37
Copy link

A new version has been released, try it out. It should have a kernel version >= 5.4.134.

Thank you! Now it doesn't show errors, but there is not enough space to install the package
Schermata da 2021-08-16 21-43-56
It seems strange to me as it is marked as a 8/64 device, but only 5.6MB are shown in the partitions above using df -h. When I installed it with the official 21.02 image it showed 2.4MB free in Luci. How can I check if there is unused space?

@gamwe6
Copy link
Author

gamwe6 commented Aug 19, 2021

The best option is to build the image with all the packages you want instead of installing them to save some space. If I am not mistaken, the result of the df command you showed seems to be correct.

@capsia37
Copy link

The best option is to build the image with all the packages you want instead of installing them to save some space. If I am not mistaken, the result of the df command you showed seems to be correct.

Thanks for all the help! I'll try to build an image with the packages.

@pixelbuildlab
Copy link

What might be the password for ssh on factory firmware?

@fbett
Copy link

fbett commented Apr 27, 2023

I tried this on TP-Link TL-MR6400 V5 but had no success, because of insufficient drive space to install the package "modemmanager".

So here are my steps using QMI and the simple LuCI configuration interface.

@thanhtan9876
Copy link

Hi, can you help me to add 2 packages iptables-mod-ipopt & kmod-ipt-ipopt to openwrt firmware? Your firmware builds very well but I can't install the above 2 packages, it's not compatible
Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment