LTE modem problem after upgrading to 24.10.1

Hi, I've been running Openwrt on a BPI-R3 for about 6mths, with a fibre wan plus an LTE Pcie modem for backup (failover provided automatically via mwan3).

I just upgraded to 24.10.1 (clean install and manual reconfigure) from 23.05.5 and the LTE modem is now unable to reach the internet. The modem is a Quectel EC25-MINIPCIE, and I'm using the qmi packages to control it (as I was in 23.05.5).

I can ping 8.8.8.8 but I can't ping the mobile network gateway or connect to the internet. Using uqmi I can see it's connected, registered, using the right APN and passwords, and is getting the right IP address, subnet etc.

Strangely, on the cellular network section of the openwrt status menu shows the modem as being disconnected yet the sim being active. This entire page was blank in 23.05.5 so it's hard to know if that is normal behaviour or not. The modem seems to be working when I query it from the CLI.

I did see the Overview page shows this interface this as an ethernet connection, and I've read that something changed recently (between marking modems as ethernet vs USB) which broke some installations and was changed again in 24.10.1. Since my modem is a pcie I don't know what to make of this. But I did notice a lot of references to USB in the logs (see below).

Finally, here's the logs. I'm finding debugging this is beyond me. But I can say for sure that the configuration is unchanged since I deployed it in 23.05.5 (at least, not deliberately changed) so it seems that something is different in Openwrt 24.10.1 which is breaking the LTE Pcie modem.

Tue Apr 22 18:10:56 2025 daemon.notice [3997]: <msg> [device /sys/devices/platform/soc/11200000.usb/usb1/1-1/1-1.1] creating modem with plugin 'quectel' and '6' ports
Tue Apr 22 18:10:56 2025 daemon.info [3997]: <inf> [modem33] tty/ttyUSB2: at (primary)
Tue Apr 22 18:10:56 2025 daemon.info [3997]: <inf> [modem33] tty/ttyUSB3: at (secondary)
Tue Apr 22 18:10:56 2025 daemon.info [3997]: <inf> [modem33] tty/ttyUSB2: at (data primary)
Tue Apr 22 18:10:56 2025 daemon.info [3997]: <inf> [modem33] net/wwan0: net (data)
Tue Apr 22 18:10:56 2025 daemon.info [3997]: <inf> [modem33] tty/ttyUSB1: gps (nmea)
Tue Apr 22 18:10:56 2025 daemon.info [3997]: <inf> [modem33] usbmisc/cdc-wdm0: qmi
Tue Apr 22 18:10:57 2025 daemon.info [3997]: <inf> [modem33] SIM hot swap setup succeeded
Tue Apr 22 18:10:58 2025 daemon.info [3997]: <inf> [modem33] SIM is ready, and no need for the after SIM unlock step...
Tue Apr 22 18:10:58 2025 daemon.info [3997]: <inf> [modem33/sim32] loaded IMSI: ###
Tue Apr 22 18:10:58 2025 daemon.info [3997]: <inf> [modem33/sim32] loaded operator identifier: 23415
Tue Apr 22 18:10:58 2025 daemon.info [3997]: <inf> [modem33/sim32] loaded operator name: Lebara
Tue Apr 22 18:10:58 2025 daemon.info [3997]: <inf> [modem33/sim32] loaded list of emergency numbers: 999, 55, 54, 277656
Tue Apr 22 18:10:58 2025 daemon.info [3997]: <inf> [modem33/sim32] loaded list of preferred networks: 24008 (gsm, umts, lte), 20810 (gsm, umts, lte), 26801 (gsm, umts, lte), 20404 (gsm, umts, lte), 27801 (gsm, umts, lte), 22210 (gsm, umts, lte), 27201 (gsm, umts, lte), 20205 (gsm, umts, lte), 26202 (gsm, umts, lte), 21401 (gsm, umts, lte), 23801 (gsm, umts, lte), 22801 (gsm, umts, lte)
Tue Apr 22 18:10:58 2025 daemon.info [3997]: <inf> [modem33/sim32] loaded GID1: 90
Tue Apr 22 18:10:58 2025 daemon.warn [3997]: <wrn> [modem33] couldn't load supported assistance data types: LOC service: general failure
Tue Apr 22 18:10:58 2025 daemon.warn [3997]: <wrn> [modem33] loading SAR state failed: QMI protocol error (2): 'NoMemory'
Tue Apr 22 18:10:58 2025 daemon.notice [3997]: <msg> [modem33] state changed (unknown -> disabled)
Tue Apr 22 18:11:16 2025 daemon.warn [3997]: <wrn> Cannot read from istream: connection broken
Tue Apr 22 18:11:16 2025 daemon.notice [3997]: <msg> [modem33] port 'cdc-wdm0' no longer controllable, reprobing

Any advice would be greatly appreciated!

Get rid of ModemManager, switch the modem to MBIM and configure router as shown in https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

Thanks for this. Just so I'm absolutely sure, switching a Quectel modem from QMI to MBIM is ok? The way I read the wiki, I thought that QMI was preferred for Qualcomm models because of their proprietary standards.

OK, I tried this. Used AT commands to switch to MBIM mode, installed the appropriate packages and set it up. But it was even worse - the interface would fail, seemingly because of an issue with the pin (although there is no pin required with my mobile carrier). After some fiddling about I switch the mode back to QMI and I'm back to where I was before - seemingly connected and getting an IP address, able to ping DNS servers but not the gateway.

I'm using a Lebara sim, and I see someone else had problems with it (albeit they were using modem manager and I'm using QMI protocols). They seemed to have better luck switching to the vodafone APN (Vodafone provide the Lebara network) but that didn't work for me. They also have weak signal issues, whereas I'm in London so lots of local masts.

The strange thing is this was all working fine in 23.05.5, but not in 24.10.1.

The key error message in the logs seems to be this. Prior to that, the modem seems to be coming up nicely:
Wed Apr 23 14:03:33 2025 daemon.warn [3910]: <wrn> [modem1] couldn't load supported assistance data types: LOC service: general failure

Here's the interface settings. I've set the username and password to wap via the CLI, as you can't set it here if authentication is set to "none".

I'll repeat one more time.
Get rid of ModemManager completely, switch the modem to MBIM and configure modem & router as shown in the wiki.
Run logread -fon the console then restart modem interface in Luci, wait ~1 minute, stop log collection and post the results here as formatted text (use </> button). Do not post pictures.

Thanks, I'll try that in the morning. Sorry to be so demanding - I'm new to this and feeling my way here.

Yes get rid of Modemmanager. It is probably contesting for the modem with the MBIM or QMI scripts.

With modern equipment, a provider's preferred APN is typically stored in the SIM card and will be used if the APN box is left blank. Also you might try setting Authentication to PAP or CHAP then set an arbitrary username / password. In other words the connection has to go through the motions of authentication but no one is rejected.

1 Like

Thanks, MK24. I'll give that a go, and also collect the logs as Andrew suggests.

OK, I removed ModemManager, switched the modem from QMI into MBIM modem as per the wiki. It fails to connect to the cellular network at all (in QMI mode it did connect but I couldn't ping the gateway so that wasn't actually function either). I've checked in etc/config/network that it's using the correct APN, password etc.

I collected the logs as I restarted the interface, as requested. I hope there's something here which makes sense to you. Thanks for your help.

^Croot@OpenWrt:~# logread -f
Sat Apr 26 19:29:03 2025 daemon.notice netifd: 4G_mobile (25962): mbim[25962] Stopping network
Sat Apr 26 19:29:03 2025 daemon.notice netifd: 4G_mobile (25962): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "4G_mobile" } (Permission denied)
Sat Apr 26 19:29:03 2025 daemon.notice netifd: Interface '4G_mobile' is now down
Sat Apr 26 19:29:03 2025 daemon.notice netifd: Interface '4G_mobile' is setting up now
Sat Apr 26 19:29:03 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Reading capabilities
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   devicetype: 0003 - remote
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   cellularclass: 0001
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   voiceclass: 0001 - no-voice
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   simclass: 0002
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   dataclass: 003F
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   smscaps: 0003
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   controlcaps: 0001
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   maxsessions: 0008
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   deviceid: 862430064038777
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   firmwareinfo: EC25EUXGAR08A09M1G
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   hardwareinfo: QUECTEL Mobile Broadband Modul
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Checking pin
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): required pin: 3 - pin2
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): remaining attempts: 3
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Checking subscriber
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   readystate: 0001 - initialized
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   simiccid: 89441000304675879486
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   subscriberid: 234159365547968
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Register with network
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   nwerror: 0000 - unknown
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   registerstate: 0003 - home
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   registermode: 0001 - automatic
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   availabledataclasses: 0020 - lte
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   currentcellularclass: 0001 - gsm
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   provider_id: 23415
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   provider_name: Lebara
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   roamingtext: (null)
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Registered in home mode
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Attach to network
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   nwerror: 0000 - unknown
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   packetservicestate: 0002 - attached
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   uplinkspeed: 50000000
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970):   downlinkspeed: 100000000
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Connect to network
Sat Apr 26 19:29:04 2025 daemon.notice netifd: 4G_mobile (25970): mbim[25970] Failed to connect bearer
Sat Apr 26 19:29:04 2025 user.notice root: mbim bringup failed, retry in 15s
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26079): mbim[26079] Stopping network
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26079): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "4G_mobile" } (Permission denied)
Sat Apr 26 19:29:19 2025 daemon.notice netifd: Interface '4G_mobile' is now down
Sat Apr 26 19:29:19 2025 daemon.notice netifd: Interface '4G_mobile' is setting up now
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Reading capabilities
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   devicetype: 0003 - remote
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   cellularclass: 0001
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   voiceclass: 0001 - no-voice
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   simclass: 0002
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   dataclass: 003F
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   smscaps: 0003
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   controlcaps: 0001
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   maxsessions: 0008
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   deviceid: 862430064038777
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   firmwareinfo: EC25EUXGAR08A09M1G
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   hardwareinfo: QUECTEL Mobile Broadband Modul
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Checking pin
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): required pin: 3 - pin2
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): remaining attempts: 3
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Checking subscriber
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   readystate: 0001 - initialized
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   simiccid: 89441000304675879486
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   subscriberid: 234159365547968
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Register with network
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   nwerror: 0000 - unknown
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   registerstate: 0003 - home
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   registermode: 0001 - automatic
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   availabledataclasses: 0020 - lte
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   currentcellularclass: 0001 - gsm
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   provider_id: 23415
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   provider_name: Lebara
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   roamingtext: (null)
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Registered in home mode
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Attach to network
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   nwerror: 0000 - unknown
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   packetservicestate: 0002 - attached
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   uplinkspeed: 50000000
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087):   downlinkspeed: 100000000
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Connect to network
Sat Apr 26 19:29:19 2025 daemon.notice netifd: 4G_mobile (26087): mbim[26087] Failed to connect bearer
Sat Apr 26 19:29:19 2025 user.notice root: mbim bringup failed, retry in 15s
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26196): mbim[26196] Stopping network
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26196): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "4G_mobile" } (Permission denied)
Sat Apr 26 19:29:34 2025 daemon.notice netifd: Interface '4G_mobile' is now down
Sat Apr 26 19:29:34 2025 daemon.notice netifd: Interface '4G_mobile' is setting up now
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Reading capabilities
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   devicetype: 0003 - remote
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   cellularclass: 0001
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   voiceclass: 0001 - no-voice
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   simclass: 0002
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   dataclass: 003F
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   smscaps: 0003
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   controlcaps: 0001
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   maxsessions: 0008
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   deviceid: 862430064038777
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   firmwareinfo: EC25EUXGAR08A09M1G
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   hardwareinfo: QUECTEL Mobile Broadband Modul
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Checking pin
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): required pin: 3 - pin2
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): remaining attempts: 3
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Checking subscriber
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   readystate: 0001 - initialized
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   simiccid: 89441000304675879486
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   subscriberid: 234159365547968
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Register with network
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   nwerror: 0000 - unknown
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   registerstate: 0003 - home
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   registermode: 0001 - automatic
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   availabledataclasses: 0020 - lte
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   currentcellularclass: 0001 - gsm
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   provider_id: 23415
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   provider_name: Lebara
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204):   roamingtext: (null)
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Registered in home mode
Sat Apr 26 19:29:34 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Attach to network
Sat Apr 26 19:29:35 2025 daemon.notice netifd: 4G_mobile (26204):   nwerror: 0000 - unknown
Sat Apr 26 19:29:35 2025 daemon.notice netifd: 4G_mobile (26204):   packetservicestate: 0002 - attached
Sat Apr 26 19:29:35 2025 daemon.notice netifd: 4G_mobile (26204):   uplinkspeed: 50000000
Sat Apr 26 19:29:35 2025 daemon.notice netifd: 4G_mobile (26204):   downlinkspeed: 100000000
Sat Apr 26 19:29:35 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Connect to network
Sat Apr 26 19:29:35 2025 daemon.notice netifd: 4G_mobile (26204): mbim[26204] Failed to connect bearer
Sat Apr 26 19:29:35 2025 user.notice root: mbim bringup failed, retry in 15s
Sat Apr 26 19:29:37 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.131 70:03:9f:4b:88:04
Sat Apr 26 19:29:37 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.131 70:03:9f:4b:88:04 ESP_4B8804
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26321): mbim[26321] Stopping network
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26321): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "4G_mobile" } (Permission denied)
Sat Apr 26 19:29:50 2025 daemon.notice netifd: Interface '4G_mobile' is now down
Sat Apr 26 19:29:50 2025 daemon.notice netifd: Interface '4G_mobile' is setting up now
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Reading capabilities
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   devicetype: 0003 - remote
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   cellularclass: 0001
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   voiceclass: 0001 - no-voice
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   simclass: 0002
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   dataclass: 003F
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   smscaps: 0003
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   controlcaps: 0001
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   maxsessions: 0008
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   deviceid: 862430064038777
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   firmwareinfo: EC25EUXGAR08A09M1G
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   hardwareinfo: QUECTEL Mobile Broadband Modul
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Checking pin
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): required pin: 3 - pin2
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): remaining attempts: 3
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Checking subscriber
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   readystate: 0001 - initialized
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   simiccid: 89441000304675879486
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   subscriberid: 234159365547968
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Register with network
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   nwerror: 0000 - unknown
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   registerstate: 0003 - home
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   registermode: 0001 - automatic
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   availabledataclasses: 0020 - lte
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   currentcellularclass: 0001 - gsm
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   provider_id: 23415
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   provider_name: Lebara
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   roamingtext: (null)
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Registered in home mode
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Attach to network
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   nwerror: 0000 - unknown
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   packetservicestate: 0002 - attached
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   uplinkspeed: 50000000
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329):   downlinkspeed: 100000000
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Connect to network
Sat Apr 26 19:29:50 2025 daemon.notice netifd: 4G_mobile (26329): mbim[26329] Failed to connect bearer
Sat Apr 26 19:29:50 2025 user.notice root: mbim bringup failed, retry in 15s
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26438): mbim[26438] Stopping network
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26438): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "4G_mobile" } (Permission denied)
Sat Apr 26 19:30:05 2025 daemon.notice netifd: Interface '4G_mobile' is now down
Sat Apr 26 19:30:05 2025 daemon.notice netifd: Interface '4G_mobile' is setting up now
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Reading capabilities
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   devicetype: 0003 - remote
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   cellularclass: 0001
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   voiceclass: 0001 - no-voice
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   simclass: 0002
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   dataclass: 003F
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   smscaps: 0003
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   controlcaps: 0001
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   maxsessions: 0008
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   deviceid: 862430064038777
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   firmwareinfo: EC25EUXGAR08A09M1G
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   hardwareinfo: QUECTEL Mobile Broadband Modul
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Checking pin
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): required pin: 3 - pin2
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): remaining attempts: 3
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Checking subscriber
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   readystate: 0001 - initialized
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   simiccid: 89441000304675879486
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   subscriberid: 234159365547968
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Register with network
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   nwerror: 0000 - unknown
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   registerstate: 0003 - home
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   registermode: 0001 - automatic
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   availabledataclasses: 0020 - lte
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   currentcellularclass: 0001 - gsm
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   provider_id: 23415
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   provider_name: Lebara
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   roamingtext: (null)
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Registered in home mode
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Attach to network
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   nwerror: 0000 - unknown
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   packetservicestate: 0002 - attached
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   uplinkspeed: 50000000
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446):   downlinkspeed: 100000000
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Connect to network
Sat Apr 26 19:30:05 2025 daemon.notice netifd: 4G_mobile (26446): mbim[26446] Failed to connect bearer
Sat Apr 26 19:30:05 2025 user.notice root: mbim bringup failed, retry in 15s

Please show the relevant part of /etc/config/network with your modem interface and also the result of at+cgdcont?

Sure. Here you are:

config interface '4G_mobile'
        option proto 'mbim'
        option device '/dev/cdc-wdm0'
        option apn 'uk.lebara.mobi'
        option auth 'pap'
        option pdptype 'ipv4'
        option peerdns '0'
        list dns '8.8.8.8'
        list dns '1.1.1.1'
        option metric '20'
        option username 'wap'
        option password 'wap'

And

+CGDCONT: 1,"IP","uk.lebara.mobi","0.0.0.0",0,0,0,0

Hope that helps.

May I ask what's wrong with ModemManager? My ISP disconnects all the devices after every X hours, and MM has been very helpful to handle the reconnection.

That looks generally good, so what is in at+cgpaddr response then?
Please also share the output of AT+QMBNCFG="List"
R08A09 firmware is ~3yr old, I would upgrade it if possible.

The most annoying with MM that it takes control of all the tty's making difficult to use other programs to interact with the modem. I also see it more complex to troubleshoot.
Reconnect is a minor issue, we can easily handle it with watchcat, etc.

1 Like

Thanks. The at+cgpaddr response is:

+CGPADDR: 1,"10.164.192.210"

The output of AT+QMBNCFG="List" is:

AT+QMBNCFG="List"
+QMBNCFG: "List",0,0,0,"ROW_Generic_3GPP",0x0501081F,202112292
+QMBNCFG: "List",1,0,0,"TW_Mobile_China_VoLTE",0x0580FB81,202201111
+QMBNCFG: "List",2,0,0,"Bouygues_France_VoLTE",0x05800101,201905211
+QMBNCFG: "List",3,0,0,"Telstra-Commercial_VoLTE",0x0580079E,202112221
+QMBNCFG: "List",4,0,0,"Reliance_OpnMkt",0x05011B38,202003251
+QMBNCFG: "List",5,0,0,"Commercial-Smartfren",0x0501250A,202012291
+QMBNCFG: "List",6,0,0,"VF_Germany_VoLTE",0x0502041C,202201041
+QMBNCFG: "List",7,0,0,"Commercial-DT",0x05011F1C,202201041
+QMBNCFG: "List",8,0,0,"STC_Saudi_VoLTE",0x0501FE01,201912231
+QMBNCFG: "List",9,0,0,"TF_Spain_VoLTE",0x05010CFA,202106171
+QMBNCFG: "List",10,0,0,"Commercial-EE",0x0501221A,202209211

For context, I'm in the UK and the Lebara mobile provider runs on Vodafone UK's infrastructure.

I will try to upgrade the firmware but that will take a few days as I need to get a pcie to USB adaptor and get Quectel to send me the latest package.

That looks good also - you do not have automatic MBN selection enabled and you do have an IP address from the network. There is a possibility that the connection script is not able to obtain the IP address from the modem due to a problem with MBIM implementation in this particular [slightly outdated] firmware version. Just guessing.
Using this modem in QMI or ECM mode may give different results.
You do not need an adapter to upgrade the firmware.

Have you seen a post which explains how to do the upgrade within OpenWrt? I couldn't find anything sufficiently detailed to give me confidence I could do it, which is why I thought it would be safer to remove the card and flash it from my windows desktop.

Certainly, because I wrote it.

Great, thanks. I'll try that as soon as I get the new firmware from Quectel.

In the mean time you could switch the modem to ECM mode (and re-configure OpenWrt accordingly) and see if it makes any difference.