No LTE/4G interface on a TL-MR6400 v4?

Hi :slight_smile:

I'm lost...

I have a TP-Link LT-MR6400 v4

I successfully installed OpenWRT ( 22.03.3 r20028-43d71ad93e ) on this router.
I configured the WIFI and local DHCP, my devices can connect on the router, but I have no any internet connection.

I don't find how to configure 4G / LTE interface.

I found some informations on internet, but it doesn't match with my v4 (I saw on a video on youtube that the LTE is seen as USB, but I don't have any USB interface). Please, do you have any idea how to configure LTE ?

Thanks :slight_smile:

Jey

you need to install the packages required for USB (and modem) support.

1 Like

Thank you.

So I have to follow this page ?

But I don't have internet connection, I can't download/install modules.

yeah, it's a catch 22 kind of situation.

try the 3rd option in Activating USB-Tethering on Linksys MR8300 without WAN connection - #2 by frollic the other two should work too, but require more work.

Thanks, I successfully connect to a different WIFI, I look for the next.

It seems to be almost ok.

WWAN seems to be connected, data are sent, but nothing seems to come inside. Look :

In the firewall, I added the WWAN interface.

Do you have any idea?

Check if APN and PDP Type settings are correct.
Then check if gateway and DNS settings are ticked on the Advanced Settings page.
You don't need to add anything "in the firewall", you only need to select the firewall zone in the interface configuration.

1 Like

Thank you.

APN and PDP are good (I checked on screenshot I made on the TPLINK before to install OpenWRT) and I checked on my phone.

USE DEFAULT GATEWAY and "Use DNS servers advertised by peer" are ticked.

About the firewall, I followed this :

So, nothing better.

Run logread -f then restart the QMI interface then post the log that will be generated. No pictures please.

root@OpenWrt:~# logread -f
Wed Apr  5 20:05:16 2023 daemon.notice netifd: wwan (3730): Stopping network wwan
Wed Apr  5 20:05:16 2023 daemon.notice netifd: wwan_4 (3511): udhcpc: received SIGTERM
Wed Apr  5 20:05:16 2023 daemon.notice netifd: wwan_4 (3511): udhcpc: entering released state
Wed Apr  5 20:05:16 2023 daemon.notice netifd: wwan_4 (3511): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan_4" } (Permission denied)
Wed Apr  5 20:05:16 2023 daemon.notice netifd: Interface 'wwan_4' is now down
Wed Apr  5 20:05:16 2023 daemon.notice netifd: Network alias '' link is down
Wed Apr  5 20:05:16 2023 daemon.notice netifd: Interface 'wwan_4' has link connectivity loss
Wed Apr  5 20:05:16 2023 daemon.notice netifd: Interface 'wwan_4' is disabled
Wed Apr  5 20:05:16 2023 daemon.notice netifd: wwan (3730): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Wed Apr  5 20:05:16 2023 daemon.notice netifd: Interface 'wwan' is now down
Wed Apr  5 20:05:16 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Wed Apr  5 20:05:16 2023 daemon.notice netifd: Network device 'wwan0' link is down
Wed Apr  5 20:05:17 2023 daemon.notice netifd: wwan (3762): Waiting for SIM initialization

Since the last restart there is no data sent.

root@OpenWrt:~# logread -f
Wed Apr  5 20:15:44 2023 daemon.notice netifd: wwan (3849): Stopping network wwan
Wed Apr  5 20:15:44 2023 daemon.notice netifd: wwan (3849): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Wed Apr  5 20:15:44 2023 daemon.notice netifd: Interface 'wwan' is now down
Wed Apr  5 20:15:44 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Wed Apr  5 20:15:44 2023 daemon.notice netifd: wwan (3863): Waiting for SIM initialization
Wed Apr  5 20:15:45 2023 daemon.notice netifd: wwan (3863): Failed to parse message data
Wed Apr  5 20:15:45 2023 daemon.notice netifd: wwan (3863): PIN verification is disabled

I have little more this time.

I would start from running some basic checks like network registration, signal level, connection state, etc.
You can either use various uqmi --get-... commands as shown in OpenWrt docs or standard AT commands from a terminal, for that you can install picocom package in a standard way. Make sure you have /dev/ttyUSB* interfaces available, overwise you will need to install the appropriate drivers.
You may need to disable DHCP in QMI interface configuration, but I'm not 100% certain that is critical for your modem. Simply add option dhcp 0 in QMI interface section in /etc/config/network

It's going over my knowledge.

I will probably give up, and reverse to the original firmware.
Pity

But, thanks a lot for your help.

From https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

If I try :

uqmi -d /dev/cdc-wdm0 --start-network internet --autoconnect
I get : "no effect"

Then : "uqmi -d /dev/cdc-wdm0 --get-data-status"
I get : "disconnected". If I retry, I get "connected"

A ping :

root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network unreachable

I reseted the OpenWRT and tried to redo from scratch.

I still haver the same problem.

Now when I perform a "uqmi -d /dev/cdc-wdm0 --get-data-status" I don't receive any answer from the console, the cursor is blinking.

Hi

You can try my customized uqmi.

Download and install with:

wget https://github.com/mrhaav/openwrt/raw/master/22.03.3/uqmi_2022-11-29-0.10_mipsel_24kc.ipk
opkg install uqmi_2022-11-29-0.10_mipsel_24kc.ipk

New reset, I just

  • pluged the WAN port (rj45) to my home network, to give internet access to OpenWRT
  • I downloaded your addon, and installed it, reboot.
  • unplugged from my home network, installed your
  • I added and configured the new interface, clicked on APPLY then the system was frozen, reboot.
  • then... it works immediately !

Link to your addon :

Thanks ! :slight_smile:

Hey Jey and mrhaav,

I am struggling - almost the same path as Jey went trough - with the MR6400 LTE modem install.

I have an error message **Error:** Unknown error (PIN_STATUS_FAILED)' as the OWRT restarts after save&apply. I have set no PIN requirement on this SIM card, nevertheless I was tried with the PIN as well, no difference...

Can you help me please, what could be wrong? Thank you

Hi
Which version of uqmi have you intalled?

/mrhaav/openwrt/master/22.03.3/uqmi_2022-11-29-0.10_mipsel_24kc.ipk

and the OpenWRT is:
OpenWrt 22.03.3 r20028-43d71ad93e