ModemManager vs qmi-network — When to Use Which
Posted: Tue Feb 17, 2026 7:19 pm
ModemManager vs qmi-network — When to Use Which
There are two main approaches to manage the LTE modem on your OpenStick device.
ModemManager (mmcli) — Recommended for Most Users
ModemManager is a system service that automatically detects and manages the modem.
qmi-network + qmicli — For Advanced Users
Direct QMI protocol interface for low-level modem control.
Auto-Reconnect with systemd
To make your LTE connection persistent across reboots, create a systemd service or use NetworkManager:
This will automatically reconnect to LTE on every boot.
There are two main approaches to manage the LTE modem on your OpenStick device.
ModemManager (mmcli) — Recommended for Most Users
ModemManager is a system service that automatically detects and manages the modem.
- Easy to use with command-line tool
Code: Select all
mmcli - Handles connection, disconnection, and SIM management
- Integrates with NetworkManager for automatic reconnection
- Best for: everyday use, set-and-forget LTE connections
Code: Select all
mmcli -m 0 --simple-connect="apn=internet"
mmcli -m 0 # check status
mmcli -m 0 --simple-disconnectDirect QMI protocol interface for low-level modem control.
- More control over connection parameters
- Useful for debugging modem issues
- Does not conflict with ModemManager (stop MM first)
- Best for: troubleshooting, custom setups, scripting
Code: Select all
sudo systemctl stop ModemManager
qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode
qmi-network /dev/cdc-wdm0 startTo make your LTE connection persistent across reboots, create a systemd service or use NetworkManager:
Code: Select all
# Using NetworkManager
nmcli connection add type gsm con-name "LTE" apn "internet"
nmcli connection up "LTE"