Hi.
I’m trying to improve OpenWRT support. If others have modems working successfully (I have two RM520N-GL’s that don’t yet work), I’m trying to collect:
- the .
configsection necessary to support QMI mode - the .
configsection necessary to support MBIM mode - tweaks to use USB or mPCI-e modes in that
.config - the
/etc/config/networksection to use a 5G or 4G/LTE carrier for the ISP in QMI mode - same but for MBIM mode
- any useful tips/tricks that could be thrown into
expectscripts to gather debugging/troubleshooting information
Please reply here or send them to me via email. I’m pprindeville on GitHub.
I have a card with the 302 firmware and a T-Mobile Business 5G SIM and see:
Jul 11 23:15:57 OpenWrt-r4 netifd: qmi0 (29600): Waiting for network registration
Jul 11 23:16:02 OpenWrt-r4 netifd: qmi0 (29600): Device stopped network registration. Restart network registration
Jul 11 23:16:13 OpenWrt-r4 netifd: qmi0 (29600): Network registration failed, registration timeout reached
Jul 11 23:16:13 OpenWrt-r4 netifd: qmi0 (31380): Stopping network qmi0
Jul 11 23:16:13 OpenWrt-r4 netifd: qmi0 (31380): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "qmi0" } (Permission denied)
Jul 11 23:16:13 OpenWrt-r4 netifd: Interface 'qmi0' is now down
Jul 11 23:16:13 OpenWrt-r4 netifd: Interface 'qmi0' is setting up now
Jul 11 23:16:13 OpenWrt-r4 netifd: qmi0 (31388): Waiting for SIM initialization
Jul 11 23:16:14 OpenWrt-r4 netifd: qmi0 (31388): Failed to parse message data
Jul 11 23:16:14 OpenWrt-r4 netifd: qmi0 (31388): PIN verification is disabled
Jul 11 23:16:14 OpenWrt-r4 netifd: qmi0 (31388): Setting PLMN to 310260
Jul 11 23:16:14 OpenWrt-r4 netifd: qmi0 (31388): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Jul 11 23:16:48 OpenWrt-r4 netifd: qmi0 (31388): Waiting for network registration
Jul 11 23:16:53 OpenWrt-r4 netifd: qmi0 (31388): Device stopped network registration. Restart network registration
Jul 11 23:17:04 OpenWrt-r4 netifd: qmi0 (31388): Network registration failed, registration timeout reached
Jul 11 23:17:04 OpenWrt-r4 netifd: qmi0 (31688): Stopping network qmi0
Jul 11 23:17:04 OpenWrt-r4 netifd: qmi0 (31688): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "qmi0" } (Permission denied)
Jul 11 23:17:04 OpenWrt-r4 netifd: Interface 'qmi0' is now down
Jul 11 23:17:04 OpenWrt-r4 netifd: Interface 'qmi0' is setting up now
Jul 11 23:17:04 OpenWrt-r4 netifd: qmi0 (31696): Waiting for SIM initialization
Jul 11 23:17:04 OpenWrt-r4 netifd: qmi0 (31696): Failed to parse message data
Jul 11 23:17:04 OpenWrt-r4 netifd: qmi0 (31696): PIN verification is disabled
Jul 11 23:17:04 OpenWrt-r4 netifd: qmi0 (31696): Setting PLMN to 310260
Jul 11 23:17:05 OpenWrt-r4 netifd: qmi0 (31696): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
and it just loops with the following network config:
config interface 'qmi0'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option apn 'fast.t-mobile.com'
option auth 'none'
option pdptype 'ipv4v6'
option plmn '310260'
option modes '5gnr,lte,umts'
option dhcp '1'
option autoconnect '1'
option debug '1'
Thanks