TL-MR6400 v5 LTE modem not working

Hy there, very similar problem here with a TL-MR6400 v5 after

firstboot

and replacing the qmi with https://github.com/mrhaav/openwrt with

wget https://github.com/mrhaav/openwrt/raw/master/21.02.1/uqmi_2021-12-22-0.4_mipsel_24kc.ipk

and

opkg install uqmi_2021-12-22-0.4_mipsel_24kc.ipk

i was not able to initiate a connection. The simcard is working fine in a cell phone. i tried several different and even empty apn settings but it is not working.

# uqmi -d /dev/cdc-wdm0 --get-serving-system
{
	"registration": "registering_denied",
	"plmn_description": "",
	"plmn_mcc": 344,
	"plmn_mnc": 3,
	"mnc_length": 2,
	"roaming": true
}

i am on roaming, is it necessary to change the setting?

# uqmi -d /dev/cdc-wdm0 --set-network-roaming off
"Invalid arguments given"

thanks for your help!

1 Like

Hi
Can you provide your config,

uci show network.<your interface name>

modem setup from systmelog

logread -e netifd

and print the result of a network scan

uqmi -d /dev/cdc-wdm0 --network-scan

hy mr haav,

and thanks for your reply!
Of course:

# uci show network.LTE
network.LTE=interface
network.LTE.proto='qmi'
network.LTE.device='/dev/cdc-wdm0'
network.LTE.pdptype='ipv4'
network.LTE.apn='digicel'
network.LTE.auth='none'
logread | grep LTE
Thu May  5 20:04:02 2022 daemon.notice netifd: Interface 'LTE' is setting up now
Thu May  5 20:04:03 2022 daemon.notice netifd: LTE (4646): PINcode disabled
Thu May  5 20:04:03 2022 daemon.notice netifd: LTE (4646): Data format set to raw-ip
Thu May  5 20:04:03 2022 daemon.notice netifd: LTE (4646): Default profile number: 1
Thu May  5 20:04:03 2022 daemon.notice netifd: LTE (4646): Airplane mode off
Thu May  5 20:04:03 2022 daemon.notice netifd: LTE (4646): "Invalid transition"
Thu May  5 20:04:04 2022 daemon.notice netifd: LTE (4646): registering_denied on
# uqmi -d /dev/cdc-wdm0 --network-scan
"Invalid arguments given"

Thanks again, Martial

Can you run this?

uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
# uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
"offline"

don't know if this is useful:

# uqmi -d /dev/cdc-wdm0 --set-device-operating-mode online
"Invalid transition"

Will this work?

uqmi -d /dev/cdc-wdm0 --set-device-operating-mode low_power

Try to power reset our router as well.

Unfortunatly not. After reboot i got "invalid transition"

# uqmi -d /dev/cdc-wdm0 --set-device-operating-mode low_power
"Invalid transition"

After i power reset it seems to accept the command but no output on screen.

What is the result of after the power reset:

uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
BusyBox v1.33.2 (2022-02-16 20:29:10 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02.2, r16495-bf0c965af0
 -----------------------------------------------------
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
"online"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --set-device-operating-mode low_power
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
"low_power"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
"Invalid arguments given"
root@openwrt:~# uci show network.LTE
network.LTE=interface
network.LTE.proto='qmi'
network.LTE.device='/dev/cdc-wdm0'
network.LTE.auth='none'
network.LTE.pdptype='ipv4'

root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-plmn
{
	"mode": "automatic"
}
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-signal-info
"Information unavailable"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-lte-cphy-ca-info
"Invalid QMI command"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-tx-rx-info gsm
"No radio"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-tx-rx-info umts
"No radio"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-tx-rx-info lte
"No radio"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
"Invalid arguments given"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-register
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
"Invalid arguments given"

root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-serving-system
{
	"registration": "not_registered"
}
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --set-network-roaming any

root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-capabilities
{
	"max_tx_channel_rate": 50000000,
	"max_rx_channel_rate": 100000000,
	"data_service": "non_simultaneous_cs_ps",
	"sim": "supported",
	"networks": [
		"umts",
		"lte"
	]
}
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-current-settings

After this, no respond and console is hanging. After 'CTRL-C' "Failed to connect to service", i did a Power reset again.

root@openwrt:~# logread | grep LTE
Sat May  7 13:23:00 2022 daemon.notice netifd: Interface 'LTE' is setting up now
Sat May  7 13:23:00 2022 daemon.notice netifd: LTE (2418): PINcode disabled
Sat May  7 13:23:00 2022 daemon.notice netifd: LTE (2418): Data format set to raw-ip
Sat May  7 13:23:00 2022 daemon.notice netifd: LTE (2418): Default profile number: 1
Sat May  7 13:23:01 2022 daemon.notice netifd: LTE (2418): Airplane mode off
Sat May  7 13:23:02 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:05 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:08 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:11 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:14 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:18 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:21 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:24 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:27 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:30 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:33 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:36 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:39 2022 daemon.notice netifd: LTE (2418): searching on
Sat May  7 13:23:42 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May  7 13:23:46 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May  7 13:23:49 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May  7 13:23:52 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May  7 13:23:55 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May  7 13:23:58 2022 daemon.notice netifd: LTE (2418): not_registered on
Sat May  7 13:24:01 2022 daemon.notice netifd: LTE (2418): not_registered on

Hi
uqmi -d /dev/cdc-wdm0 --get-device-operating-mode should be in "online". Sorry if I was unclear.
After uqmi -d /dev/cdc-wdm0 --set-device-operating-mode online run
uqmi -d /dev/cdc-wdm0 --network-scan

Thanks for your patience!

# uqmi -d /dev/cdc-wdm0 --set-device-operating-mode online
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
"online"
root@openwrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
{
	"network_info": [
		
	]
}

Do you have a SIMcard in your router and is it correct inserted? Sorry, for asking.

no problem. i double checked that and i am able to get the sim state.

# uqmi -d /dev/cdc-wdm0 --uim-get-sim-state
{
	"pin1_status": "disabled",
	"pin1_verify_tries": 1,
	"pin1_unlock_tries": 10,
	"pin2_status": "not_verified",
	"pin2_verify_tries": 3,
	"pin2_unlock_tries": 10
}

In what country are you now? Do you know which operators that are available?
Does the MR6400 v5 support the available freqensies?

That's indeed perhaps special. It is a french digicel simcard operating right now in antigua.

Thats what i found in the tech specs vor MR6400 v5:

4G: FDD-LTE Cat4 (800/900/1800/2100/2600 MHz),
TDD-LTE (2300/2500/2600 MHz)
3G: DC-HSPA+/HSPA+/HSPA/UMTS (900/2100 MHz)

Thats what i found for the frequencies of digicel antigua according to :

GSM bands	

    900 (E-GSM)

UMTS bands	

    B1 (2100)

UMTS protocols	

    HSPA+
    UTMS

LTE bands	

    B17 (700 bc)

LTE protocols	

    LTE

Other Operators according to my cellphone are:

Digicel-StaySafe
APUA inet
FLOW

Hi
It looks like non of the supported LTE bands in MR6400 v5 are available in Antigua.
You can try to use UMTS.

uqmi -d /dev/cdc-wdm0 --set-network-modes umts

wait a few seconds

uqmi -d /dev/cdc-wdm0 --get-signal-info
uqmi -d /dev/cdc-wdm0 --get-serving-system
1 Like

Hi guys,

Sorry for the delay, I have been playing this weekend with the router and I have successfully working.

I'm not sure if it's a coincidence but what I did was:

    1. Reset the router with factory defaults (I flashed again)
    2. opkg update
    3. opkg install usb-modeswitch kmod-mii kmod-usb-net kmod-usb-wdm kmod-usb-net-qmi-wwan luci-proto-qmi
    4. This is the step that I did different, I've installed 2022-03-15-0.4 instead of the latest one:
        wget https://github.com/mrhaav/openwrt/raw/master/21.02.2/uqmi_2022-03-15-0.4_mipsel_24kc.ipk
        opkg install uqmi_2022-03-15-0.4_mipsel_24kc.ipk        
        rm uqmi_2022-03-15-0.4_mipsel_24kc.ipk 
        reboot
    5. Setup the interface through luci

And the wwan works now correctly.

network.wwan=interface
network.wwan.proto='qmi'
network.wwan.device='/dev/cdc-wdm0'
network.wwan.apn='orangeworld'
network.wwan.auth='both'
network.wwan.username='orange'
network.wwan.password='orange'
network.wwan.pdptype='ipv4v6'
network.wwan.peerdns='0'
network.wwan.dns='8.8.8.8' '1.1.1.1'

And ping now resolves correctly! :slight_smile:

Thanks all for your help!

1 Like

Hi
Great to hear :slight_smile:

Could you just print

uqmi -d /dev/cdc-wdm0 --get-serving-system

I´m trying to find out why the operator name is incorrect in: Sat Apr 30 01:22:09 2022 daemon.notice netifd: wwan (14177): Registered to ?t;? on LTE

What name is shown in your ordinary cell phone for the same operator? Orange?

Thanks again. That exactly was the problem! I tried to get a signal on umts but it didn*t worked.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.