User Tools

Site Tools


docs:guide-user:network:wan:wwan:modemmanager

ModemManager

ModemManager is a service that automatically sets up and connects 2G/3G/4G/5G modems and provides a high level of abstraction when interacting with modems.

A few examples of functionality offered by ModemManager are:

  • initialisation of the modem
  • connecting to the Internet
  • sending/receiving SMS
  • firmware upgrades for select QMI-based modems.

Installing

In menuconfig, ModemManager is located under the Network section.

Kernel modules

You probably need to include the kernel module for your modem in your firmware image.

MBIM Support

ModemManager supports MBIM modems. You can included MBIM support by selecting it under the Configuration section in ModemManager's menuconfig entry.

QMI Support

ModemManager supports QMI modems. You can include QMI support by selecting it under the Configuration section in ModemManager's menuconfig entry.

Use

ModemManager abstracts the configuration of your modems into standard Linux network interfaces. The example below illustrates a typical configuration:

/etc/config/network:

config interface 'broadband' option device '/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2.1' option proto 'modemmanager' option apn 'ac.vodafone.es' option username 'vodafone' option password 'vodafone' option pincode '7423' option lowpower '1'

Note the device option uses the full sysfs path of the device, not /dev/cdc-wdm0. While using /dev/cdc-wdm0 would work, it is not guaranteed to always use the same modem, so using the full sysfs path (as reported by a mmcli -m index command would show) is best practice.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
docs/guide-user/network/wan/wwan/modemmanager.txt · Last modified: 2019/10/10 14:37 by bobafetthotmail