Skip to content

Instantly share code, notes, and snippets.

@mharsch
Last active May 9, 2026 21:41
Show Gist options
  • Select an option

  • Save mharsch/520d2de466db71cf57273ebaa72c7a7f to your computer and use it in GitHub Desktop.

Select an option

Save mharsch/520d2de466db71cf57273ebaa72c7a7f to your computer and use it in GitHub Desktop.
add ConnectedIO CM4NA modem to Raspberry Pi OS (Trixie)
  1. install ModemManager sudo apt install modemmanager
  2. create a new netplan file sudo pico /etc/netplan/modem.yaml Add the following contents:
network:
  version: 2
  modems:
    ttyACM0:
      renderer: NetworkManager
      dhcp4: true
      apn: "vzwinternet"  # change to match your provider APN
  1. verify the netplan is valid with sudo netplan try
  2. if no errors are reported, apply the change with sudo netplan apply
  3. check modem is detected with mmcli -L
  4. see modem connection details (assuming modem id 0 from previous step): mmcli -m 0
pi@mypihost:~ $ mmcli -m 0
  ----------------------------------
  General  |                   path: /org/freedesktop/ModemManager1/Modem/0
           |              device id: ec923033531d78c859d31c1960c860f34f310205
  ----------------------------------
  Hardware |           manufacturer: Telit
           |                  model: LE910-NA V2
           |      firmware revision: 20.00.505
           |              supported: gsm-umts, lte
           |                current: gsm-umts, lte
           |           equipment id: 358148064849321
  ----------------------------------
  System   |                 device: /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2
           |                physdev: /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2
           |                drivers: cdc_acm, cdc_ncm
           |                 plugin: telit
           |           primary port: ttyACM0
           |                  ports: ttyACM0 (at), ttyACM1 (ignored), ttyACM2 (ignored),
           |                         ttyACM3 (at), ttyACM4 (ignored), ttyACM5 (ignored), wwan0 (net)
  ----------------------------------
  Status   |         unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                  state: connected
           |            power state: on
           |            access tech: lte
           |         signal quality: 42% (recent)
  ----------------------------------
  Modes    |              supported: allowed: 3g; preferred: none
           |                         allowed: 4g; preferred: none
           |                         allowed: 3g, 4g; preferred: none
           |                current: allowed: 3g, 4g; preferred: none
  ----------------------------------
  Bands    |              supported: utran-5, utran-2, eutran-2, eutran-4, eutran-5, eutran-12,
           |                         eutran-13, eutran-17
           |                current: utran-2, eutran-2
  ----------------------------------
  IP       |              supported: ipv4, ipv6, ipv4v6
  ----------------------------------
  3GPP     |                   imei: <your imei>
           |            operator id: <your provider>
           |          operator name: <your provider name>
           |           registration: roaming
           |   packet service state: attached
  ----------------------------------
  3GPP EPS |   ue mode of operation: csps-1
           |    initial bearer path: /org/freedesktop/ModemManager1/Bearer/0
           | initial bearer ip type: ipv4v6
  ----------------------------------
  SIM      |       primary sim path: /org/freedesktop/ModemManager1/SIM/0
  ----------------------------------
  Bearer   |                  paths: /org/freedesktop/ModemManager1/Bearer/1
  1. check new ppp0 interface shows up in output of ip address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment