- Yopitek Ltd/
- Blog/
- Building a 4G/5G Router with Raspberry Pi and OpenWrt: Sierra Module Support Matrix and Setup Guide/
Building a 4G/5G Router with Raspberry Pi and OpenWrt: Sierra Module Support Matrix and Setup Guide
Table of Contents
Can a Raspberry Pi turn a Sierra Wireless 4G/5G module into a fully working OpenWrt router? Yes, it can. M.2 modules such as the EM7455, EM7565, EM7511, and EM919x are natively supported in Linux. Install kmod-usb-net-qmi-wwan or kmod-usb-net-cdc-mbim, configure wwan0, and you are online. This article covers the full module support matrix, step by step configuration, and the power and antenna pitfalls to avoid.
wwan0 is the recommended path: install kmod-usb-net-qmi-wwan, uqmi, and luci-proto-qmi, set the APN in /etc/config/network, then restart networking. On speed: EM7455 / MC7455 are LTE Cat 6 (300/50 Mbps), EM7565 / EM7511 are Cat 12 (600/150 Mbps), and the EM919x family delivers 5G Sub-6 (EM9190 adds mmWave).Complete Sierra Module Support Matrix on OpenWrt#
Before you start, check your module against this table:
| Model | Speed Class | Baseband Chip | Form Factor | Linux Data Path | GNSS Positioning |
|---|---|---|---|---|---|
| EM7455 | LTE Cat 6 (300/50 Mbps) | MDM9230 | M.2 (42x30 mm) | QMI (Linux) / MBIM | GPS/GLONASS/BeiDou/Galileo |
| EM7565 | LTE Cat 12 (600/150 Mbps) | MDM9250 | M.2 (42x30 mm) | QMI / MBIM (both on Linux) | adds QZSS |
| EM7511 | LTE Cat 12 (600/150 Mbps) | MDM9250 | M.2 (42x30 mm) | QMI / MBIM | adds QZSS |
| EM919x (9190/9191/7690) | 5G Sub-6 (9190 adds mmWave) | SDX55 | M.2 (52mm length) | Windows/Linux | L1 + L5 (optional) |
| MC7455 | LTE Cat 6 (300/50 Mbps) | MDM9230 | mPCIe (50.95x30 mm) | QMI / MBIM | GPS/GLONASS/BeiDou/Galileo |
How to Choose a Module#
- Makers getting started: pick the EM7455. Guides are plentiful and problems are easy to research.
- High upload demand (live streaming, surveillance): pick the EM7565 or EM7511 for up to 150 Mbps upload.
- 5G required: pick the EM9190 for 5G speeds.
- Legacy mPCIe slot only: go with the MC7455.
Three Ways to Connect the Hardware#
A. Raspberry Pi 5 + M.2 HAT (PCIe)#
The Pi 5 has PCIe, so an M.2 HAT+ carrier board lets you plug in an M.2 WWAN module directly (confirm it is a B-Key).
B. Raspberry Pi 4B or Older + USB WWAN Adapter Enclosure#
EM-series modules also support USB 2.0/3.0, so an M.2 to USB enclosure (usually with a built in SIM slot) plugged into the Pi’s USB port is the simplest, most approachable route.
C. MC7455 (mPCIe) Adapter#
The MC7455 uses the older mPCIe interface, so you need an mPCIe to USB or mPCIe to M.2 adapter board.
⚠️ Power is the biggest trap: the module draws 3.135 to 4.4 V (typically 3.3V). A “module not detected” error usually means the Raspberry Pi’s USB supply cannot deliver enough power. Inrush current can spike to 2.5A, so leave generous headroom on your power source.
Understanding QMI and MBIM#
Both protocols control how the 4G/5G module connects to the network:
- QMI: Qualcomm’s own protocol, used by most Linux/OpenWrt guides (the interface appears as
wwan0). - MBIM: the later standardized protocol, usable on both Windows and Linux (the interface also appears as
wwan0).
Which one? Most users can use QMI directly. Switch to MBIM only if your firmware specifically requires it.
Hands On Part 1: Configure QMI on OpenWrt#
Four steps, no compilation required.
1. Install the Packages#
opkg update
opkg install kmod-usb-net-qmi-wwan uqmi luci-proto-qmi2. Confirm the Raspberry Pi Detects the Module#
lsusb # look for a Sierra device
ls /dev/cdc-wdm* # QMI control channel
dmesg | grep qmi_wwan # check that the driver loaded
ip link show wwan0 # check that the interface appeared3. Configure the Network File (/etc/config/network)#
Add a QMI section and replace the APN with your carrier’s:
config interface 'wwan'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option apn 'your-APN'
option auth 'none'4. Restart Networking#
/etc/init.d/network restart
ifup wwanDone. Once wwan0 obtains an IP address, you are online.
Antennas and SIM: Do Not Skip These#
The module has no built in antenna, and antenna quality directly drives your throughput.
- Main antenna: mandatory.
- Auxiliary antenna (Aux): required for MIMO speeds; skipping it cuts throughput.
- GNSS antenna: only for positioning use cases. Do not confuse it with the main antenna.
Common Pitfalls (A Must Read for Beginners)#
lsusbshows nothing: 99% of the time this is insufficient power, a loose adapter board, or a faulty cable.- Too impatient: the module needs time to boot. Wait 10 seconds after plugging it in before issuing commands.
- 5G modules (EM919x) run hot: temperatures around 100°C are common (115°C max), so plan for cooling.
- ModemManager conflicts: when working manually on a stock Linux system, stop
ModemManager(systemctl stop ModemManager) first so it does not take over the module.
Summary#
Driving a Sierra module from a Raspberry Pi with OpenWrt is a checklist process. Verify the hardware (form factor, voltage, antennas), install the QMI/MBIM drivers, then set the APN. We hope this guide saves your project a few detours and gets your Raspberry Pi up to full 4G/5G speed.
Purchasing Information (Call To Action)#
If you need EM7455, EM7565, EM7511 modules, or matching M.2 adapter boards and antennas, Yopitek offers complete hardware solutions and technical consultation.
Email us: [email protected]
Browse products: Yopitek Sierra Wireless Series