I am running the X3000 and wanted to try mbim, instead if qmi.
qmi works fine with the config below.
But for mbim, I am getting the error
PINCODE rejected
even if there is no sim in the sim slot.
Is this ISSUE still up to date?
@swvalenti194 hmm, RM520N is not cap with mbim mode, it could be used as QMI mode.
You might want to answer: “Use Modemmanager, that works”,
then I say: “okay, but is the modem manager using proprietary qmi or does it use mbim only?”
Best regards,
Frood
root@OpenWrt:~# cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=2c7c ProdID=0801 Rev= 5.04
S: Manufacturer=Quectel
S: Product=RM520N-GL
S: SerialNumber=b8x44x2
logread
Fri Oct 31 15:20:57 2025 daemon.notice netifd: Interface '5G_MODEM' is now down
Fri Oct 31 15:20:57 2025 daemon.notice netifd: Interface '5G_MODEM' is setting up now
Fri Oct 31 15:20:57 2025 daemon.notice netifd: 5G_MODEM (5075): mbim[5075] Reading capabilities
Fri Oct 31 15:20:58 2025 daemon.warn odhcpd[1995]: No default route present, overriding ra_lifetime to 0!
Fri Oct 31 15:21:12 2025 daemon.notice netifd: 5G_MODEM (5075): ERROR: mbim message timeout
Fri Oct 31 15:21:12 2025 daemon.notice netifd: 5G_MODEM (5075): mbim[5075] Failed to read modem caps
Fri Oct 31 15:21:27 2025 daemon.notice netifd: 5G_MODEM (5075): ERROR: mbim message timeout
Fri Oct 31 15:21:27 2025 user.notice root: mbim bringup failed, retry in 15s
Fri Oct 31 15:21:42 2025 daemon.notice netifd: 5G_MODEM (5177): mbim[5177] Stopping network
Fri Oct 31 15:21:42 2025 daemon.notice netifd: 5G_MODEM (5177): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "5G_MODEM" } (Permission denied)
Fri Oct 31 15:21:42 2025 daemon.notice netifd: Interface '5G_MODEM' is now down
Fri Oct 31 15:21:42 2025 daemon.notice netifd: Interface '5G_MODEM' is setting up now
Fri Oct 31 15:21:42 2025 daemon.notice netifd: 5G_MODEM (5185): mbim[5185] Reading capabilities
Fri Oct 31 15:21:43 2025 daemon.warn odhcpd[1995]: No default route present, overriding ra_lifetime to 0!
root@OpenWrt:~# lsmod | grep -E 'wwan|mhi'
cdc_wdm 20480 3 cdc_mbim,qmi_wwan
qmi_wwan 28672 0
usb_wwan 16384 1 option
usbcore 180224 15 option,cdc_mbim,usb_wwan,qmi_wwan,cdc_ncm,cdc_ether,usbserial,usbnet,cdc_wdm,usb_storage,xhci_plat_hcd,xhci_pci,xhci_mtk_hcd,xhci_hcd
usbnet 24576 4 cdc_mbim,qmi_wwan,cdc_ncm,cdc_ether
usbserial 24576 2 option,usb_wwan
cat /etc/config/network
config interface '5G_MODEM'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option apn 'internet.telekom'
option pincode '0717'
option auth 'pap'
option username 'telekom'
option password 'pm'
option pdptype 'ipv4'
option peerdns '0'
option sourcefilter '0'
option delegate '0'
config interface '5G_MODEM'
option proto 'mbim'
option device '/dev/cdc-wdm0'
option apn 'internet.telekom'
option pincode '0007'
option auth 'pap'
option username 'telekom'
option password 'pm'
option pdptype 'ipv4'