EG25-G module does not work in mtim mode

Hello,
I’m trying to utilise my EG25-G modem with Mikrotik router. I’ve updated the firmware to the latest available:

AT+QGMR
EG25GGBR07A08M2G_A0.301.A0.301

ATI;+CSUB;+CVERSION
Quectel
EG25
Revision: EG25GGBR07A08M2G

SubEdition: V01

VERSION: EG25GGBR07A08M2G
Apr 10 2025 09:07:20
Authors: QCT

But the modem does not work with mikrotik. It detects the device, creates lte interface but after initialisation it suddenly disconnects. I tried to run modem under OpenWRT but I also cannot connect to internet with error “NO_REGISTRATION” in MTIM mode. When I switch the modem to QMI mode it works fine in OpenWRT. Unfortunately mikrotik supports only MTIM mode…
Any suggestions what might be wrong with MTIM mode and why I cannot use it? I’ve tried several SIM cards and the issue is always the same - sudden disconnects.
I’ve contacted mikrotik support and they said that this is probably firmware bug of the modem.

Hi,
Module just support 4 types USB network adaptor. rmnet(qmi),ECM, mbim,rndis.

Sorry, a type - I meant mbim mode.

In OpenWRT I’m getting the same behavior as on Mikrotik:

Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816): mbim[3816] Reading capabilities
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   devicetype: 0003 - remote
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   cellularclass: 0001
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   voiceclass: 0001 - no-voice
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   simclass: 0002
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   dataclass: 003F
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   smscaps: 0003
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   controlcaps: 0001
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   maxsessions: 0008
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   deviceid: XXX
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   firmwareinfo: EG25GGBR07A08M2G
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   hardwareinfo: QUECTEL Mobile Broadband Modul
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816): mbim[3816] Checking pin
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816): Pin Unlocked
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816): mbim[3816] Checking subscriber
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   readystate: 0001 - initialized
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   simiccid: XXX
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   subscriberid: XXX
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   number: +48XXX
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816): mbim[3816] Register with network
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   nwerror: 0000 - unknown
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   registerstate: 0001 - deregistered
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   registermode: 0001 - automatic
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   availabledataclasses: 0000 - (null)
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   currentcellularclass: 0001 - gsm
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   provider_id: (null)
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   provider_name: (null)
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816):   roamingtext: (null)
Mon Jul 28 11:08:26 2025 daemon.notice netifd: wwan (3816): mbim[3816] Subscriber registration failed (code 1)

Then I checked AT+CFUN? and it was set to 4 instead of 1. After executing AT+CFUN=1 logs are different:

Mon Jul 28 12:08:59 2025 daemon.notice netifd: wwan (14515): mbim[14515] Reading capabilities
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   devicetype: 0003 - remote
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   cellularclass: 0001
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   voiceclass: 0001 - no-voice
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   simclass: 0002
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   dataclass: 003F
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   smscaps: 0003
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   controlcaps: 0001
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   maxsessions: 0008
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   deviceid: XXX
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   firmwareinfo: EG25GGBR07A08M2G
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   hardwareinfo: QUECTEL Mobile Broadband Modul
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): mbim[14515] Checking pin
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): Pin Unlocked
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): mbim[14515] Checking subscriber
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   readystate: 0001 - initialized
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   simiccid: XXX
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   subscriberid: XXX
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   number: +48XXX
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): mbim[14515] Register with network
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   nwerror: 0000 - unknown
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   registerstate: 0003 - home
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   registermode: 0001 - automatic
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   availabledataclasses: 0020 - lte
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   currentcellularclass: 0001 - gsm
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   provider_id: 26006
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   provider_name: Virgin mobile
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   roamingtext: (null)
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): mbim[14515] Registered in home mode
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): mbim[14515] Attach to network
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   nwerror: 0000 - unknown
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   packetservicestate: 0002 - attached
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   uplinkspeed: 50000000
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515):   downlinkspeed: 100000000
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): mbim[14515] Connect to network
Mon Jul 28 12:09:00 2025 daemon.notice netifd: wwan (14515): mbim[14515] Failed to connect bearer

It works fine with QMI mode and it gets registered with the same SIM card, but I want to use it with mikrotik…

Make sure you have correct PDP type and APN configured on the modem and on the router.
Show the output of at+cgdcont?

I use the same APN settings as in QMI mode so they should be set correctly, I guess:

+CGDCONT: 1,"IP","internet","0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","SOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1

According to operator page the APN should be virgin-internet.
Try changing the APN on the modem, reset the modem and then check with

at+cgdcont?
at+cgpaddr

On this page they say it’s internet and also I got SMS with the same name when I used the card on my phone. So virgin-internet seems outdated. Also on QMI it works fine with internet APN.

After some experiments with APNs I finally made the connection working. Not really sure what happened - but at least I can use the modem with Mikrotik :+1:
Thanks for your support!