Cellular Internet Connection

Cellular Internet Connection

The Sixfab Base HAT is a bridge between the mini PCIe module and Linux based Single Board Computer (SBC) such as Raspberry Pi. To provide internet to Raspberry Pi, the user guides provided by the mini PCI module manufacturer must be followed. For the ease, we have prepared tutorials based on these user guides so that you can create an internet connection quickly.

Commonly used/supported protocols for Internet connection are PPP, QMI and ECM. You only need to follow one of them. Please follow the appropriate tutorial that suits your case scenario.


PPP is easy to establish, widely used legacy protocol, and it is flexible with the devices. PPP may show a drop of the connection while using the AT command set for other functionality of modem. The PPP protocol is just used between the computer and the modem to make the connection look like a legacy dial-up modem-based network connection.

If you need to establish an internet connection for a short period of time and the date to be transferred is not high, you may stick to PPP.


To get rid of the legacy cruft, newer ways to present USB-connected LTE modems like QMI and MBIM have been developed. Both Quectel and Telit modules offer QMI(Qualcomm MSM Interface) which is established as a real network interface, such as ethernet(typically shows as wwan0).

The QMI offers a more accessible and faster connection compared to the PPP protocol. We recommend QMI, if you are looking for a faster connection, and for a longer duration.

  1. QMI Interface Internet Connection Setup Using Sixfab Shield/HAT — Only for Quectel modules
  2. Setting up a data connection over QMI interface using libqmi — For both Quectel and Telit modules


The ECM (Ethernet Control Model) protocol is used for exchanging Ethernet-framed data between the mini PCIe module and host. The USB bridge appears as a regular network interface on both sides, transporting Ethernet frames.

ECM is unlike PPP, and QMI. This tutorial doesn't need any installation, This tutorial is all about proper configuration of the module supporting ECM.

  1. Cellular Internet Connection in ECM Mode
The tutorials here contains installation scripts. We have tested these installation scripts for the mini PCIe modules that are available for purchase in our stores. We cannot guarantee the installation of other mini PCIe modules. Users can follow the user guides of the mini PCIe modules to make them work with Sixfab Base HAT.
Sixfab CORE IoT

Sixfab CORE

If you are looking for Hassle-Free Cellular IoT Connectivity Software for SBCs all you need is a Sixfab CORE software for a reliable connection on your edge devices. Each component to provide cellular internet to your device may experience different problems during long-term operation. To avoid these problems, we offered the Sixfab CORE solution by creating a product with all the components you need with the Sixfab Cellular Kit.


  • Single Step Installation
  • Incident Prevention
  • Remote Access
  • Network Diagnostics
  • Real Time Monitoring
  • Remote Network Configuration
  • and more...

For more information, please visit Sixfab CORE.

Need assistance? We're ready to help!

We have a plethora of FAQs and guide that will walk you through detailed troubleshooting steps if you need help connecting to the internet.

Please also check the FAQs page we prepared by listing frequently asked questions regarding the Base HAT and answers for those questions.

AT Commands

Sending AT Commands

Cellular modules can be controlled using AT commands. This can be done over the serial interfaces described as modem or AT commands interfaces by the manufacturer. Send AT commands using minicom step by step in this tutorial.


UART Configuration

The UART is useful in communicating with the cellular modules without a USB cable attached. This interface can be used for AT based communication, such as sending AT commands & receiving responses and establishing PPP.

LTE hotspot

Setting up a Raspberry Pi as an LTE Hotspot

If you need to create a second Wi-Fi network in addition to your primary LTE network, the easiest solution is to create a called hotspot, an access point where the other devices you can control can connect to access the internet.


Read GNSS/GPS Data with Sixfab Shield/HAT

In this tutorial, we will learn how to get GNSS/GPS data using Sixfab Shield/HAT.

UDP Connection with Cellular Shield/HAT

In this tutorial, we will learn how to create a UDP connection with Cellular IoT HAT and Cellular IoT App Shield.

UPS HAT Manual Firmware Update Instructions

The UPS HAT firmware update can be done manually. If the firmware update failed on power portal or to manually update the firmware, follow this tutorial.