Quectel RM500Q failing to get ip address assignment with netifd and modemmanager
Alex Ballmer
alexb at meshplusplus.com
Mon May 11 23:56:53 UTC 2020
Hi there,
I am trying to get a quectel RM500Q modem working using modemmanager
1.12.10 on openwrt 18.06.2. Since the device I am on uses a 4.14
kernel, I manually backported the following changes from linux upstream
to allow the qmi_wwan driver to recognize the modem
I am connecting using verizon wireless with default APNs
https://github.com/torvalds/linux/commit/a9ff44f0e61d074f29770413fef6a5452be7b83e
https://github.com/torvalds/linux/commit/f3eaabbfd093c93d791eb930cc68d9b15246a65e
https://github.com/torvalds/linux/commit/accf227de4d211b52c830a58b2df00d5739f2389
After adding the changes, qmi_wwan and modemmanager both recognize the
modem, and I can bring the wwan0 interface up successfully using
netifd. mmcli shows the modem as successfully enabled and connected,
with a functioning bearer. The bearer has an address, but wwan0 does
not have an address.
Attempting to set the address reported by mmcli on wwan0 manually still
won't let me ping anything, which suggests that modemmanager is having
issues communicating with netfid.
I have attached a log from netifd, with the modemmanager proto script
in /lib/netifd/proto instrumented by adding set -x and set -v for
verbosity
output of mmcli:
root at localhost:~# mmcli -L
/org/freedesktop/ModemManager1/Modem/1 [QUALCOMM INCORPORATED] 0
root at localhost:~# mmcli -m 1
-----------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/1
| device id: 4f1a39ee75709d1aa913d3c0bea6430e19765931
-----------------------------
Hardware | manufacturer: QUALCOMM INCORPORATED
| model: 0
| firmware revision: RM500QGLAAR01A01M4G_BETA_20200316F 1
[Mar 13 2020 07:00:00]
| h/w revision: 20000
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 863305040028002
-----------------------------
System | device:
/sys/devices/platform/soc/soc:usb30 at 1/10000000.dwc3/xhci-hcd.1.auto/usb4/4-1
| drivers: qmi_wwan
| plugin: Quectel
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), wwan0 (net)
-----------------------------
Numbers | own: 13124890253
-----------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-pin2 (3), sim-puk
(10), sim-puk2 (10)
| state: connected
| power state: on
| access tech: lte
| signal quality: 100% (recent)
-----------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| current: allowed: 3g, 4g; preferred: 3g
-----------------------------
Bands | supported: utran-1, utran-3, utran-4, utran-6,
utran-5, utran-8,
| utran-9, utran-2, eutran-1, eutran-2,
eutran-3, eutran-4, eutran-5,
| eutran-7, eutran-8, eutran-12,
eutran-13, eutran-14, eutran-17,
| eutran-18, eutran-19, eutran-20,
eutran-25, eutran-26, eutran-28,
| eutran-29, eutran-30, eutran-32,
eutran-34, eutran-38, eutran-39,
| eutran-40, eutran-41, eutran-42,
eutran-46, eutran-48, eutran-66,
| eutran-71, utran-19
| current: utran-1, utran-3, utran-4, utran-6,
utran-5, utran-8,
| utran-9, utran-2, eutran-1, eutran-2,
eutran-3, eutran-4, eutran-5,
| eutran-7, eutran-8, eutran-12,
eutran-13, eutran-14, eutran-17,
| eutran-18, eutran-19, eutran-20,
eutran-25, eutran-26, eutran-28,
| eutran-29, eutran-30, eutran-32,
eutran-34, eutran-38, eutran-39,
| eutran-40, eutran-41, eutran-42,
eutran-46, eutran-48, eutran-66,
| eutran-71, utran-19
-----------------------------
IP | supported: ipv4, ipv6, ipv4v6
-----------------------------
3GPP | imei: 863305040028002
| operator id: 311480
| operator name: VZW
| registration: home
-----------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
-----------------------------
Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/2
root at localhost:~# mmcli -b 2
--------------------------------
General | dbus path:
/org/freedesktop/ModemManager1/Bearer/2
| type: default
--------------------------------
Status | connected: yes
| suspended: no
| interface: wwan0
| ip timeout: 20
--------------------------------
Properties | roaming: allowed
--------------------------------
IPv4 configuration | method: dhcp
| address: 100.65.124.95
| prefix: 26
| gateway: 100.65.124.96
| dns: 198.224.152.119, 198.224.154.135
| mtu: 1428
--------------------------------
Statistics | duration: 5430
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netifd-log
Type: application/octet-stream
Size: 1101659 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200511/2e916983/attachment-0001.obj>
More information about the ModemManager-devel
mailing list