Skip to main content

4G internet setup troubleshooting

You are experiencing issues connecting to the internet, when connected to the WiFi hotspot on the AutoPi Dongle.


Before following this guide, you must have completed the initial setup guide found here:

Check SIM card#

  1. Your SIM card must be setup for data. To check this, insert the SIM into another device, like a smartphone or similar. When inserted in the other device you must be able to browse the web.

  2. If you ordered a branded version of the AutoPi (Verizon/AT&T), please verify that the network carrier of the SIM card is the same as the brand of the AutoPi.

  3. Verify that the SIM card is not pin locked and if it is that you have entered the pin code in the settings.

Check Modem on Hardware#

In the terminal on the WiFi, check that the modem has been found. This can be done by writing the following command: "lsusb"

The output of the command should be similar to this:


The important part to look for is the Modem. The ID will be different depending on which modem your device is equipped with:

Modem ManufacturerID

If you ordered a 4G edition and you don't find the modem in your list, then please contact

Check Modem Setup#

Check PDP Context:
If your devices is using a Telit Modem is using software version 1.22.7 or newer, There's a command you can run to verify that the modem has been set up correctly.

modem.connection pdp_context

This should return a message that looks like either.

- apn: ''
cid: 1
pdp_type: IPV4V6

- apn: ''
cid: 1
pdp_type: IPV4V6
- apn: 'ims'
cid: 2
pdp_type: IPV4V6

Incase your software version is older than 1.22.7, you can run the following command to get the same information.

modem.connection execute AT+CGDCONT?

This should return a message that looks like either.

data: '+CGDCONT: 1, "IPV4V6","",0,0,0,0'
- '+CGDCONT:1,"IPV4V6","",0,0,0,0'
- '+CGDCONT:2,"IPV4V6","ims","",0,0,0,0'

If you get the second message after running either command then you can reconfigure the modem by running these three commands. "systemctl stop qmi-manager"

modem.connection execute AT+CGDCONT=2 "systemctl restart qmi-manager"

After restarting your devices you can run the first command again to verify you get the first message.

Check Firmware Switch:
Check if the firmware switch is set correctly by running this command if you are using software version 1.22.7 or newer.

modem.connection active_firmware_image

this should return a message that looks like this.

_stamp: "the curent date"
_type: active_firmware_image
storage_conf: ram
Here we are looking to see if the net_conf is set to global.

Incase your software version is older than 1.22.7, you can run the following command to get the same informaiton.

modem.connection execute AT#FWSWITCH?

This should return with a message that looks like this.


Incase the FWSWITCH does not start with 40 or net_conf is not global this can be reconfigured manually by running the following command.

modem.connection execute AT#FWSWITCH=40,1

Checking qmi-manager status#

The device contains a software manager, which ensure stable connection to the internet. This is called qmi-manager. To check status, please write the following command in the terminal: "qmi-manager status"

The output should be similar what you can see in the image below:


Further checking of network#

If your device still isn't online, you can try running the following two commands. They will tell you a bit more about why the network manager fails: "qmi-manager down" "qmi-manager up"

If the last command reports issue with detecting the SIM card, then double check the orientation of the SIM card and try again.


If you experience connection issues where the connection drops sometimes and/or if it is online, but not shown as online on, then you can try to tweak the MTU from the default value: 1500, to a lower value, in increments (ex. 1500 -> 1450 -> etc). This can be done on the local configuration tool, by connecting to the device hotspot and opening in your browser.

From the terminal located in the top right corner on the webpage, you can run the following two commands to update the MTU and save the changes.

grains.set qmi:mtu xxxx
state.sls network.wwan.qmi.config

To verify that these changes have been saved, you can run the following two commands, here you want to check that first command retruns the same value you set, and that the seconed command where mtu= the same value as the one we set.

grains.get qmi:mtu "cat /etc/udhcpc/qmi.override"


  • For US Verizon customers, please try this MTU: 1428.
  • For other customer, please try this MTU: 1280.

If the connection is still not online, then please contact for additional help.

Check Connections#

You can to check if the device can connect to the internet though the 4g connection you can run the following command. "ping -c 5 -I wwan0"

You can also check the connection to the autopi cloud service by running the following command. "curl -v"


If you'd like to discuss this topic with us or other fellow community members, you can do so on our community page dedicated for this guide: 4G internet setup troubleshooting