Hello,
after reading a lot of things in this forum and trying very many variations I still cant get my Quectel EC 35E LTE modem zu make a connection while beeing abroad (Roaming).
So I decided to collect as much information as possible and make a topic about it here in hopes of getting some help and maybe the one hint that I am probably still missing...
My OpenWRT is running as a VM inside of Proxmox in my campervan. I have a roof mounted LTE Antenna and it has been running without problems for a few month now inside of Germany.
It also has a Wireless card attached via USB to create a WIFI Network for my devices and its running a Wireguard Site to Site tunnel to my Home.
The Sim Card used is a multi Sim Card from my main mobile phone and I am using "Telekom" (a german provider).
The problem:
While beeing abroad on vacation I dont get any connection via LTE.
Sometimes (depending on the settings I am playing around with) I get "Error: Unkown Error (NETWORK_REGISTRATION_FAILED)" showing on the LTE interface.
Some Facts:
- Firmware Version: OpenWrt 22.03.3 r20028-43d71ad93e / LuCI openwrt-22.03 branch git-22.361.69894-438c598
- Kernel Version 5.10.161
- LTE modem: Quectel EC 25E (EC25EFA-512-STD) with two external LTE antennas
- The mobile connection is working just fine when inside of Germany
- The Sim Card has no PIN set
- The Sim Card works fine, I took it out and put it in my mobile and it made a connection without problems
What I tried so far:
uqmi -d /dev/cdc-wdm0 --set-network-roaming any
- Deleted any Interfaces that had to do with the LTE and remade them following this guide: https://teklager.se/en/knowledge-base/openwrt-4g-wwan-configuration/
- Tried to set the interface up following this guide, but that did not result in anything working: https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle
- Tried to use no APN in the Settings Field
- Tried: internet.telekom as APN
- Tried: internet.v6.telekom as APN
- Switched the PDP Type from "IPv4/IPv6" to "IPv4"
-> When I made that switch I got an additional interface showing up "LTE_4" (Protocol: Virtual dynamic interface (DHCP client)) which gets an IP adress in the 10.x.x.x range. See attached pictures.
I am really lost at this point and any help is greatly appreciated!
If any more info or command output is needed pls let me know.
Please also see attached pictures and these logs and command outputs:
I dont know how to get a list of all installed software packages to also show that here, because I cant install new ones right now without a working connection...
The IP Adress starting with 10.x.x.x from the LTE interface can change within these logs and screenshots because watchcat is restarting the interface every few minutes...
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-data-status --get-current-settings --get-capabilities --get-signal-info --get-serving-system
"connected"
{
"pdp-type": "ipv4",
"ip-family": "ipv4",
"mtu": 1500,
"ipv4": {
"ip": "10.32.250.195",
"gateway": "10.32.250.196",
"subnet": "255.255.255.248"
},
"ipv6": {
},
"domain-names": {
}
}
{
"max_tx_channel_rate": 50000000,
"max_rx_channel_rate": 100000000,
"data_service": "non_simultaneous_cs_ps",
"sim": "supported",
"networks": [
"gsm",
"umts",
"lte"
]
}
{
"type": "lte",
"rssi": -60,
"rsrq": -18,
"rsrp": -94,
"snr": -3.000000
}
{
"registration": "registered",
"plmn_mcc": 293,
"plmn_mnc": 70,
"plmn_description": "",
"roaming": true
}
root@OpenWrt:/# ls -al /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Jul 24 13:58 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Jul 24 13:58 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Jul 24 13:58 /dev/ttyUSB2
crw-rw---- 1 root dialout 188, 3 Jul 24 13:58 /dev/ttyUSB3
root@OpenWrt:/# uqmi -d /dev/cdc-wdm0 --get-pin-status
"Not supported"
root@OpenWrt:/# uqmi -d /dev/cdc-wdm0 --get-iccid
"Not supported"
root@OpenWrt:/# uqmi -d /dev/cdc-wdm0 --get-imsi
"Not supported"
root@OpenWrt:/# uqmi -d /dev/cdc-wdm0 --get-imei
"****************" !Correct IMEI was given here, redacted for privacy reasons!
root@OpenWrt:/# uqmi -d /dev/cdc-wdm0 --get-device-operating-mode
"online"
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-system-info
{
"gsm": {
"service_status": "none",
"true_service_status": "none",
"preferred_data_path": false
},
"wcdma": {
"service_status": "none",
"true_service_status": "none",
"preferred_data_path": false
},
"lte": {
"service_status": "available",
"true_service_status": "available",
"preferred_data_path": false,
"domain": "cs-ps",
"service": "cs-ps",
"roaming_status": "on",
"forbidden": false,
"mcc": "293",
"mnc": "70",
"tracking_area_code": 80,
"enodeb_id": 40432,
"cell_id": 12,
"voice_support": true,
"ims_voice_support": false,
"cell_access_status": "all calls",
"registration_restriction": 0,
"registration_domain": 0
}
}
root@OpenWrt:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr 42:75:C4:AB:CB:B0
inet addr:192.168.111.1 Bcast:192.168.111.255 Mask:255.255.255.0
inet6 addr: fda4:4ebb:b811::1/60 Scope:Global
inet6 addr: fe80::4075:c4ff:feab:cbb0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1279479 errors:0 dropped:4 overruns:0 frame:0
TX packets:88712 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:86128620 (82.1 MiB) TX bytes:22342984 (21.3 MiB)
eth0 Link encap:Ethernet HWaddr 42:75:C4:AB:CB:B0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1702163 errors:0 dropped:0 overruns:0 frame:0
TX packets:579665 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:152798412 (145.7 MiB) TX bytes:46017220 (43.8 MiB)
eth1 Link encap:Ethernet HWaddr AA:02:B6:C3:17:76
inet6 addr: fe80::a802:b6ff:fec3:1776/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:846 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1680 (1.6 KiB) TX bytes:162866 (159.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:162129 errors:0 dropped:0 overruns:0 frame:0
TX packets:162129 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12751629 (12.1 MiB) TX bytes:12751629 (12.1 MiB)
wg_ffb Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
POINTOPOINT NOARP MTU:1420 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 34:98:B5:A3:96:14
inet6 addr: fe80::3698:b5ff:fea3:9614/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:606422 errors:0 dropped:0 overruns:0 frame:0
TX packets:590461 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49775558 (47.4 MiB) TX bytes:95138010 (90.7 MiB)
wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.50.251.25 P-t-P:10.50.251.25 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:176 errors:0 dropped:0 overruns:0 frame:0
TX packets:100014 errors:2 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53680 (52.4 KiB) TX bytes:13404922 (12.7 MiB)
A full System log from when watchcat restarted the LTE interface because of no connection:
Wed Jul 26 18:29:53 2023 daemon.info watchcat[3464]: Could not reach 8.8.8.8 via "wwan0" for "120" seconds. Restarting "wwan0" after reaching "120" seconds
Wed Jul 26 18:29:53 2023 daemon.info watchcat[3464]: Reconnecting modem: "LTE" now.
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE (1572): Stopping network LTE
Wed Jul 26 18:29:53 2023 daemon.info watchcat[3464]: Restarting network interface: "wwan0".
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Network device 'wwan0' link is down
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Network alias 'wwan0' link is down
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'LTE_4' has link connectivity loss
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'wan' has link connectivity loss
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE_4 (1081): udhcpc: received SIGTERM
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE_4 (1081): udhcpc: unicasting a release of 10.32.191.71 to 10.32.191.72
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE_4 (1081): udhcpc: sending release
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE_4 (1081): udhcpc: connect: Network unreachable
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE_4 (1081): udhcpc: entering released state
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Network device 'wwan0' link is up
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Network alias 'wwan0' link is up
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'LTE_4' has link connectivity
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'wan' has link connectivity
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wan (570): udhcpc: received SIGTERM
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wan (570): udhcpc: unicasting a release of 10.32.191.71 to 10.32.191.72
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wan (570): udhcpc: sending release
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wan (570): udhcpc: entering released state
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE_4 (1081): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "LTE_4" } (Permission denied)
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'LTE_4' is now down
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Network alias '' link is down
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'LTE_4' has link connectivity loss
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'LTE_4' is disabled
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wan (570): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'wan' is now down
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'wan' is setting up now
Wed Jul 26 18:29:53 2023 user.warn watchcat: cfg02e014: pingperiod cannot be greater than 120. Defaulted to 24 seconds (1/5 of period)
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wan (1658): udhcpc: started, v1.35.0
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wan (1658): udhcpc: broadcasting discover
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE (1572): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "LTE" } (Permission denied)
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'LTE' is now down
Wed Jul 26 18:29:53 2023 daemon.notice netifd: Interface 'LTE' is setting up now
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE (1696): Waiting for SIM initialization
Wed Jul 26 18:29:53 2023 daemon.notice netifd: wg_ffb (912): Try again: `sebastian-********:*****'. Trying again in 5.16 seconds...
Wed Jul 26 18:29:53 2023 daemon.notice netifd: LTE (1696): Failed to parse message data
Wed Jul 26 18:29:54 2023 daemon.notice netifd: LTE (1696): PIN verification is disabled
Wed Jul 26 18:29:54 2023 daemon.notice netifd: LTE (1696): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Wed Jul 26 18:29:54 2023 daemon.notice netifd: LTE (1696): Waiting for network registration
Wed Jul 26 18:29:55 2023 daemon.notice netifd: LTE (1696): Starting network LTE
Wed Jul 26 18:29:55 2023 daemon.notice netifd: LTE (1696): Setting up wwan0
Wed Jul 26 18:29:55 2023 daemon.notice netifd: Network alias 'wwan0' link is up
Wed Jul 26 18:29:55 2023 daemon.notice netifd: Interface 'LTE' is now up
Wed Jul 26 18:29:55 2023 daemon.notice netifd: Interface 'LTE_4' is enabled
Wed Jul 26 18:29:55 2023 daemon.notice netifd: Interface 'LTE_4' has link connectivity
Wed Jul 26 18:29:55 2023 daemon.notice netifd: Interface 'LTE_4' is setting up now
Wed Jul 26 18:29:55 2023 daemon.notice netifd: LTE_4 (1854): udhcpc: started, v1.35.0
Wed Jul 26 18:29:55 2023 user.notice firewall: Reloading firewall due to ifup of LTE (wwan0)
Wed Jul 26 18:29:55 2023 daemon.notice netifd: LTE_4 (1854): udhcpc: broadcasting discover
Wed Jul 26 18:29:55 2023 daemon.notice netifd: wan (1658): udhcpc: broadcasting discover
Wed Jul 26 18:29:55 2023 daemon.notice netifd: LTE_4 (1854): udhcpc: broadcasting select for 10.32.191.71, server 10.32.191.72
Wed Jul 26 18:29:56 2023 daemon.notice netifd: wan (1658): udhcpc: broadcasting select for 10.32.191.71, server 10.32.191.72
Wed Jul 26 18:29:56 2023 daemon.notice netifd: LTE_4 (1854): udhcpc: lease of 10.32.191.71 obtained from 10.32.191.72, lease time 7200
Wed Jul 26 18:29:56 2023 daemon.notice netifd: Interface 'LTE_4' is now up
Wed Jul 26 18:29:56 2023 user.notice firewall: Reloading firewall due to ifup of LTE_4 (wwan0)
Wed Jul 26 18:29:56 2023 daemon.notice netifd: wan (1658): udhcpc: lease of 10.32.191.71 obtained from 10.32.191.72, lease time 7200
Wed Jul 26 18:29:56 2023 daemon.notice netifd: Interface 'wan' is now up
Wed Jul 26 18:29:56 2023 user.notice firewall: Reloading firewall due to ifup of wan (wwan0)