---
updatedAt: 2025-11-12T22:28:08.000Z
agentTools:
  projectIndex: https://docs.sixfab.com/llms.txt
---

# Internet Connection with Twilio Super SIM, Telit LE910x and Sixfab Base HAT using ECM

<HTMLBlock>{`
<style>
.banner{
margin-bottom: 15px;
}
.note{
color: #383d41;
background-color: #e2e3e5;
border-color: #d6d8db;
width: auto;
margin: 10px 0px;
padding:12px;
}
.text{
font-family: 'Nunito', sans-serif;
font-weight: 500;
letter-spacing:-0.003em;
line-height:1.5;
color:#3b3b3b;
font-size:17px;
}


.code{
-webkit-tap-highlight-color: rgba(0,0,0,0);
line-height: 1.8em;
box-sizing: border-box;
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;

}
  
a{
color:#4A4A4A;
}
a:hover {
  color: #57A3E8;
}

.pre {
-webkit-tap-highlight-color: rgba(0,0,0,0);
font-weight: 400;
box-sizing: border-box;
overflow: auto;
font-family: Menlo,Monaco,Consolas,Courier New,monospace;
display: block;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
word-break: break-all;
border-radius: 4px;
background: #343434;
color: #fff;
border: none;
padding: 0 15px;
margin-bottom: 30px;
}
.pre-code {
-webkit-tap-highlight-color: rgba(0,0,0,0);
font-weight: 400;
line-height: 1.42857143;
word-break: break-all;
box-sizing: border-box;
font-family: Menlo,Monaco,Consolas,Courier New,monospace;
font-size: inherit;
white-space: pre-wrap;
border-radius: 0;
display: block;
overflow-x: auto;
color: inherit;
background: transparent;
}
.alert-note{
   background: #fcf8e3;
   background-repeat: repeat-x;
   background-position: 0 0;
   color: #8a6d3b;
   border: 1px solid transparent;
   border-color: #faebcc;
   border-radius: 3px;
   font-size: 15px;
   padding: 15px 20px;
   box-shadow: 0 2px 4px 0 rgba(0,0,0,.078);
   margin-bottom: 20px;
 }

.ty-green{
 color: #8AE234;
  } 
</style>
`}</HTMLBlock>

<HTMLBlock>{`
<div class="banner">
    <img src="https://sixfab.com/wp-content/uploads/2022/05/Internet-Connection-with-Twilio-Super-SIM-Sixfab.png" />
</div>
`}</HTMLBlock>

<div class="text">

For an active internet connection with the Telit LE910 series, you can use PPP, QMI, or ECM.\
ECM (Ethernet Control Model) is the easiest method in order to provide an internet connection to your single-board computer such as Raspberry Pi.

<HTMLBlock>{`
<div class="note">
<i class="fa fa-info-circle fa-lg">  </i>  <b>LE910 Variant:</b> The ECM mode successfully works on LE910C1 & LE910C4 variants.
</div>
`}</HTMLBlock>

This tutorial describes how to configure your module for the ECM mode on Raspberry Pi OS.

# Prepare Hardware

It is important to properly setup your hardware before you get started. To setup the hardware please follow:

<Embed url="https://docs.sixfab.com/docs/getting-started-with-base-hat-and-telit-le910c1-module" title="Getting Started with Base HAT + Telit Modules" favicon="https://files.readme.io/4f71571-small-sixfab_square_logo.jpg" image="https://files.readme.io/b1fcdc0-telit-910c1.jpg" provider="docs.sixfab.com" href="https://docs.sixfab.com/docs/getting-started-with-base-hat-and-telit-le910c1-module" />

<br />

<HTMLBlock>{`
<div class="alert-note">
<b>Note:</b> Make sure the USB is connected.
</div>
`}</HTMLBlock>

# Software

Control the modem driver.

```shell
lsusb
```

You should see:

```shell
--> Telit Wireless Solutions
```

Now we are ready to start.

First, install the required app to talk with the modem such as minicom or cutecom.  We are using **minicom** for this tutorial.

```shell
sudo apt install minicom -y
```

Then, open the serial communication for <span class="code">/dev/ttyUSB2</span> device and <span class="code">115200</span> baud rate using minicom with

```shell
minicom -D /dev/ttyUSB2 -b 115200
```

<HTMLBlock>{`
<div class="pre">
	<div class="pre-code">
Welcome to minicom 2.7.1

OPTIONS: I18n 
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB2

Press CTRL-A Z for help on special keys

AT
OK







CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyUSB2        
  </div>
</div>
`}</HTMLBlock>

Approve the communication by sending <span class="code">AT</span> command. You should get a response of <span class="code">OK</span>.

## Configure Module

Now, we can start to configure the modem for ECM mode. The response should be <span class="code">OK</span>.

```shell Shell
AT#USBCFG=4
```

The modem may reboot after the execution of the command. Wait for the minicom screen to be activated again.

## Configure APN

For Twilio Super SIM APN is <span class="code">super</span>. In this case, the command should be:

```shell
AT+CGDCONT=1,"IP","super"
```

The response should be <span class="code">OK</span>.

## Reboot the modem

Then reboot the modem using the following command.

```shell
AT#REBOOT
```

Wait for the modem to boot again. It may take 30 seconds. Once the modem reboots, minicom will be activated again.

## Internet Connection

Then start the internet connection using the following command. The response should be <span class="code">OK</span>. If you get <span class="code">ERROR</span> please try the same command again.

```shell Shell
AT#ECM=1,0
```

<HTMLBlock>{`
<div class="alert-note">
<b>Note 1:</b> When the modem reboots or the internet connection is lost for any reason, you have to run <span class="code">AT#ECM=1,0</span> 
command again to establish the internet connection.
</div>

<div class="alert-note">
<b>Note 2:</b> It may take a few minutes to establish the connection depending on the network.
</div>
`}</HTMLBlock>

That's all.

# Test Internet Connection

Once the internet is active you should see <span class="code">wwan0</span> in your internet interface. You can use <span class="code">route -n</span> or <span class="code">ip addr</span> and look for wwan0 interface.

Now check the assigned IP address and test the connection.

<HTMLBlock>{`
<div class="pre">
	<div class="pre-code">
<b class="ty-green">pi@raspberrypi:~ $</b> ifconfig wwan0
wwan0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500
        inet 192.168.225.45  netmask 255.255.255.0  broadcast 192.168.225.255
        inet6 fe80::ee84:31a0:e65d:c5c3  prefixlen 64  scopeid 0x20<link>
        ether f2:0a:30:b7:9c:73  txqueuelen 1000  (Ethernet)
        RX packets 391  bytes 19933 (19.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 438  bytes 30915 (30.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  </div>
</div>
`}</HTMLBlock>

<HTMLBlock>{`
<div class="pre">
	<div class="pre-code">
<b class="ty-green">pi@raspberrypi:~ $</b> ping -I wwan0 -c 5 sixfab.com
PING sixfab.com (172.67.75.126) from 100.67.114.164 wwan0: 56(84) bytes of data.
64 bytes from 172.67.75.126 (172.67.75.126): icmp_seq=1 ttl=29 time=247 ms
64 bytes from 172.67.75.126 (172.67.75.126): icmp_seq=2 ttl=29 time=205 ms
64 bytes from 172.67.75.126 (172.67.75.126): icmp_seq=3 ttl=29 time=207 ms
64 bytes from 172.67.75.126 (172.67.75.126): icmp_seq=4 ttl=29 time=204 ms
64 bytes from 172.67.75.126 (172.67.75.126): icmp_seq=5 ttl=29 time=216 ms

--- sixfab.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 8ms
rtt min/avg/max/mdev = 204.050/215.839/247.004/16.201 ms
  </div>
</div>
`}</HTMLBlock>

# Troubleshooting

If the wwan0 interface is not visible reboot your whole system, check your SIM, antenna, module and USB.

Then check the configuration of the module.

<span class="code">AT#USBCFG?</span> **# Should return 4**

Check the TCP context is activated.

<span class="code">AT#ECM?</span> **# Should return 0,1. If return is 0,0 run the`AT#ECM=1,0,"","",0` command in minicom.**

Check the SIM is detected by the module.

<span class="code">AT+CPIN?</span> **# Should return READY**

Check if the module is registered to the network.

<span class="code">AT+CREG?</span> **# Should return 0,1 or 0,5**

Check the APN is right and have an IP.

<span class="code">AT+CGDCONT?</span> **# Should return the APN details and IP address**

</div>