Qualcomm Media Interface (Qmi); Examples; Distribution And Kernel Details; Using Ppp And Modem At Command Interface To Create Network Interface - Multitech MultiConnect MTC-L4G2D User Manual

Table of Contents

Advertisement

USING LINUX WITH THE L4G2D RADIO
Some Linux distributions may come with pre-installed kernel modules that automatically detect the modem's USB
serial interfaces and create TTY device files in the /dev directory.

Qualcomm Media Interface (QMI)

The Qualcomm Media Interface (QMI) provides a binary protocol alternative to issuing AT commands to the
modem.
Some Linux distributions may come with preinstalled kernel modules that automatically detect the modem's QMI
interface and create a device file in the /dev directory. Command line access to the modem's QMI interface is
provided by an application called qmicli.

Examples

Every Linux distribution is different. This section provides an example of creating a cellular network data
connection using either the modem's serial AT command interface or the QMI binary interface and bringing up a
Linux network interface on a Raspberry Pi running a Raspbian distribution of GNU/Linux. If using another Linux
distribution, there may be some differences in commands and responses.

Distribution And Kernel Details

Identifying information of the Raspbian GNU/Linux distribution used to create the examples:
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=Raspbian
ID_LIKE=Debian
HOME_URL=http://www.raspbian.org/
SUPPORT_URL=http://www.raspbian.org/RaspbianForums
BUG_REPORT_URL=http://www.raspbian.org/RaspbianBugs
$ uname -a
Linux raspberrypi 5.15.61-
v7+ #1579 SMP Fri Aug 26 11:10:59 BST 2022 armv7l GNU/Linux

Using PPP and Modem AT Command Interface to Create Network Interface

Use the modem's AT command interfaces and PPP to create a network connection. This section provides
information about installing dependencies, locating the modem device files, creating and configuring the PPP
options, peer, and chat script files, and bringing up the network interface.
Install Dependencies
sudo apt-get update
sudo apt install ppp minicom net-tools
sudo adduser pi dip
sudo reboot
36
®
MultiConnect
Cell MTC-L4G2D User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MultiConnect MTC-L4G2D and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents