Skip to content

Instantly share code, notes, and snippets.

@gamwe6
Created January 6, 2021 10:03
Show Gist options
  • 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
@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!

@cnmbwtf
Copy link

cnmbwtf commented Sep 29, 2024

Hi I am using this MR6400 openwrt firmware on my MR400 router. But the wifi chip can only work under 300Mbps rate, the only difference between MR6400 and MR400 is that MR400 has a AC1200 Mbps wifi chip. So how can I patch a driver module or build a firmware that supports AC1200 wifi chip? Or someone know how to do that then help me?

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