Hi, was really hoping to get this problem solved this weekend, but I’ve found myself stuck in the same place.
Here’s the background:
Balena Fin CM3, Quectel EC25-AF (mcpie), RAK2278 HAT, IoTDataworks SIM.
Here’s the problem:
BalenaOS no longer seems to be able to automatically connect ModemManager and NetworkManager. Here is the out of the box output after adding the cellular config file to system-connections, adding the udev rule to the config.json, and flashing a brand new image to the Fin.
In particular, mmcli shows plenty of signal on the cellular, recognizes the SIM, and even handshakes with the network (T-mobile in this case) to retrieve the phone number associated with that SIM.
Where the breakdown seems to happen is at the bottom of the mmcli -m 0
output, no dbus path is assigned to the modem - only the SIM gets its path, which appears to result in NetworkManager reporting cdc-wdm0: disconnected
and no data session is established.
This means the cellular IP is never provisioned and never reported to the Balena web interface.
The oddest part is that this behavior is consistent across various sims, modems, devices (pi4 as well) and os versions.
Any help would be tremendously appreciated.
=============================================================
Welcome to balenaOS
=============================================================
root@localhost:~# sudo mmcli -m 0
bash: sudo: command not found
root@localhost:~# mmcli -m 0
-----------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: a4c[REDACTED]c78
-----------------------------------
Hardware | manufacturer: QUALCOMM INCORPORATED
| model: QUECTEL Mobile Broadband Module
| firmware revision: EC25AFFAR07A08M4G
| carrier config: Commercial-TMO_VoLTE
| carrier config revision: 05010505
| h/w revision: 10000
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 86[REDACTED]35
-----------------------------------
System | device: /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2
| drivers: option1, qmi_wwan
| plugin: quectel
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), ttyUSB0 (qcdm), ttyUSB2 (at), wwan0 (net),
| ttyUSB1 (gps), ttyUSB3 (at)
-----------------------------------
Numbers | own: 15[REDACTED]18
-----------------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (10), sim-puk2 (10)
| state: registered
| power state: on
| access tech: lte
| signal quality: 100% (recent)
-----------------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: 4g
| allowed: 3g, 4g; preferred: 3g
| current: allowed: 3g, 4g; preferred: 4g
-----------------------------------
Bands | supported: utran-4, utran-5, utran-2, eutran-2, eutran-4, eutran-5,
| eutran-12, eutran-13, eutran-14, eutran-66, eutran-71
| current: utran-4, utran-5, utran-2, eutran-2, eutran-4, eutran-5,
| eutran-12, eutran-13, eutran-14, eutran-66, eutran-71
-----------------------------------
IP | supported: ipv4, ipv6, ipv4v6
-----------------------------------
3GPP | imei: 86[REDACTED]35
| operator id: 3[REDACTED]0
| operator name: T-Mobile
| registration: home
-----------------------------------
3GPP EPS | ue mode of operation: csps-1
-----------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
root@localhost:~# nmcli
wlan0: connected to resin-wifi-01
"wlan0"
wifi (wlan_sdio), 48:A4:93:04:3F:18, hw, mtu 1500
ip4 default
inet4 192.168.1.39/24
route4 0.0.0.0/0
route4 192.168.1.0/24
inet6 fd3a:414f:9b6b:1:cbf5:ba63:3133:9df8/64
inet6 fe80::c900:232c:3f2d:3287/64
route6 fd3a:414f:9b6b::/64
route6 fd3a:414f:9b6b:1::/64
route6 fe80::/64
route6 ff00::/8
supervisor0: connected (externally) to supervisor0
"supervisor0"
bridge, 02:42:4E:0E:77:D5, sw, mtu 1500
inet4 10.114.104.1/25
route4 10.114.104.0/25
cdc-wdm0: disconnected
"cdc-wdm0"
gsm (option1, qmi_wwan), hw
eth0: unavailable
"0424 ec00"
ethernet (smsc95xx), B8:27:EB:36:56:BA, hw, mtu 1500
balena0: unmanaged
"balena0"
bridge, 02:42:36:F3:7D:8F, sw, mtu 1500
br-586560b88903: unmanaged
"br-586560b88903"
bridge, 02:42:2E:CA:57:3F, sw, mtu 1500
resin-dns: unmanaged
"resin-dns"
bridge, 7E:5A:02:B1:B7:B6, sw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
resin-vpn: unmanaged
"resin-vpn"
tun, sw, mtu 1500
uap0: unmanaged
"uap0"
wifi (wlan_sdio), 48:A4:93:04:40:18, hw, mtu 1500
DNS configuration:
servers: 192.168.1.1
interface: wlan0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.