I already installed OpenWrt 22.03.05 using the TFTP method.
Here are the status page information given by OpenWrt :
Hostname: MR6400
Model: TP-Link TL-MR6400 v5
Architecture: MediaTek MT7628AN ver:1 eco:2
Target Platform: ramips/mt76x8
Firmware Version: OpenWrt 22.03.5 r20134-5f15225c1e / LuCI openwrt-22.03 branch git-23.093.57104-ce20b4a
I access the device using the LAN interface.
Now I try to use the LTE modem, but I can't get it to work.
I installed the luci-proto-qmi package. Here are the *qmi packages installed :
luci-proto-qmi git-21.231.25157-5ff3ef7 ~2.31 KiB Support for QMI
kmod-usb-net-qmi-wwan 5.10.176-1 ~8.16 KiB QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
uqmi 2022-05-04-56cb2d40-1 ~35.16 KiB uqmi is a command line tool for controlling mobile broadband modems using…
I then get :
ls -l /dev/cdc-wdm0
crw------- 1 root root 180, 176 May 27 17:56 /dev/cdc-wdm0
I removed the SIM card PIN on my smartphone. I tried it on my smartphone and I get voice and 4G connectivity.
The apn value is the good one : it's written on the paper sent by the ISP with the SIM.
However, the 4G connection seems unestablished on the MR6400:
I can't "choose" the device when creating the interface. The name which appears under the interface name is, whatever I do, qmi- and the name I give to the new interface.
Thank you very much for your advice and your shared work!
Why doesn't your change go to the main repository of OpenWrt ?
I'm a bit worried because that LTE router will be installed 700km away from me, without any way to access it apart from the LTE connection. If a new version of OpenWrt goes out, I worry there won't be immediately a new version of your package. I also think I won't be able to install it after having upgraded to a new OpenWrt version. I would have to download the new package before upgrading and keep it somewhere where it wouldn't be deleted by the upgrade process. But even if I do manage to do that, I won't be able to install the new package, since I won't be able to connect to the newly upgraded OpenWrt.
Some of my changes are included in the official version of uqmi, but not all. It take some time to get all approved.
You have my source code available at https://github.com/mrhaav/openwrt-packages
When you are about to upgrade your router I think you will do that locally. Then you can download and install my uqmi as well.