To activate your Wifi again, enter: nmcli device wifi connect "" password ""ĭevice 'wlan0' successfully activated Create a new connection interfaceĬreate a new connection with name monogoto and set the APN to data.mono: nmcli c add type gsm ifname '*' con-name monogoto apn data.mono toconnect yesĬonnection `monogoto` (.) successfully added. systemctl start NetworkManagerĪfter enabling the NetworkManager, the Wifi connection of your Raspberry Pi breaks. Start and enable the NetworkManager, when doing so you will be asked to fill out your root password. usb 1-1.2: Qualcomm USB modem converter now attached to ttyUSB2 Start and enable the NetworkManager usb 1-1.2: Qualcomm USB modem converter now attached to ttyUSB1 usb 1-1.2: Qualcomm USB modem converter now attached to ttyUSB0 |_ Port 2: Dev 4, If 8, Class=Vendor Specific Class, Driver=qmi_wwan, 480MĬheck what USB port the cellular modem is connected to: dmesg | grep tty To verify if the driver is compatible with the modem, enter lsusb -t: lsusb -t The cellular modem requires the driver qmi_wwan. Lsusb Bus 001 Device 004: ID 1199 :68a2 Sierra Wireless, Inc. In this tutorial, a Raspberry Pi 4 with Sierra Wireless MC7700 and Monogoto SIM is used. USB dongle with mini PCIe slot - example.Sierra Wireless MC7700 (2G, 3G & LTE cat 3) When purchasing a cellular modem, make sure to purchase a mini PCIe form factor along with a USB dongle with mini PCIe slot to easily connect the modem to the Raspberry Pi. When using LTE-M, validate if your operator supports this LTE version in your local area. Make sure to double check if the modem supports the radio frequencies in your region (this is usually listed in the modem’s data sheet). Not all modems support all frequencies used globally. ⚠️ Be careful when choosing your cellular modem. The higher the LTE category, the more data you can send and the more expensive the module becomes. When you only need to send occasional (sensor) data, consider LTE Cat 1 or the novel cellular standard LTE-M which comes at a relatively low price point. LTE comes in different categories, each support different data rates. Start with deciding what cellular technology is required for your use case. There are many modem manufacturers out there, supporting different wireless technologies for different regions. The first step is to get ourselves a cellular modem which allows the Raspberry Pi to connect to a mobile operator. Although this may sound complicated, it is rather easy and can be accomplished in a few simple steps. Are you planning to deploy single board computers, like the Raspberry Pi? Consider adding a cellular modem to be in control of the connectivity and not be dependent on Wifi or Ethernet.