---
updatedAt: 2025-11-12T23:36:13.000Z
agentTools:
  projectIndex: https://docs.sixfab.com/llms.txt
---

# Getting Started

This section will lead you step by step to create a cellular connection with the Sixfab 5G Modem Kit

<HTMLBlock>{`
<style>
.text{
font-family: AvenirNext,sans-serif;
font-weight: 500;
letter-spacing:-0.003em;
line-height:1.5;
color:#3b3b3b;
font-size:15px;
}

.markdown-body .callout[theme="note"] {
  --background: #fcf8e3;
  --border: #F5E79E;
  --text: #8a6d3b;
}
  
a{
color:#4A4A4A;
}
a:hover {
  color: #57A3E8;
}
  
.markdown-body .callout[theme="note"] {
  --background: #fcf8e3;
  --border: #F5E79E;
  --text: #8a6d3b;
}
  
.markdown-body .callout[theme="info"] {
  --background: #eee;
  --border: #bebebe;
  --text: #535353;
}
.markdown-body .callout[theme="warning"] {
  --background: #f2dede;
  --border: #DCA7A7;
  --text: #a94445;
}



.header{
font-family: AvenirNext,sans-serif;
font-weight: 700;
letter-spacing:-0.003em;
line-height:1.5;
color:#4F5A66;
font-size:17px;
}
  
.ty{
color: #FCE94F;  
}
 
.ty-green{
 color: #8AE234;
 }
  
.ty-red{
 color: #FF0000;
 }
  
.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;
}
 
.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;
}

</style>
`}</HTMLBlock>

As the Internet of Things (IoT) continues to expand, 5G networks have become the go-to choice for powering next-generation IoT devices that demand high-speed connectivity and low-latency data transfer. And the good news is that connecting your Raspberry Pi device to the 5G network is easier than you might think!

In this guide, we will walk you through the step-by-step process of connecting to a 5G network using Sixfab 5G Modem Kit with Raspberry Pi 5. Whether you're a hobbyist or a professional developer, this guide will provide you with all the information you need to get started with 5G connectivity for your IoT device. By the end of this guide, you'll have a fully functional IoT device that's effortlessly connected to the 5G network, ready for you to start exploring and innovating.

# System Requirements

| Hardware       | Software        |
| :------------- | :-------------- |
| Raspberry Pi 5 | Raspberry Pi OS |
| SD Card        |                 |

If installed, remove the Modem Manager service with the following code:

```shell Shell
sudo apt purge modemmanager -y
```

# Establishing a 5G Connection

Follow the steps below to proceed with the installation of the Jumpstart 5G hardware for establishing a 5G connection.

1. Attach the 40-pin header to the HAT.

<Image align="center" src="https://files.readme.io/594777e-1.jpg" />

2. Stack with Raspberry Pi 5 as shown using spacer kit.

<Image align="center" src="https://files.readme.io/f288b8a72e00dade15e986f8a14f38ff27a253dadb3181a389671947c19dd06c-Sixfab_5G_Modem_Kit-2.webp" />

3. Connect USB 3.0 Bridge Connector.

<Image align="center" src="https://files.readme.io/c8d5c78-3.jpg" />

4. Plug in the Nano SIM card (4FF) with 5G support.

<Image align="center" src="https://files.readme.io/44869a7-4.jpg" />

5. Power the kit plugging in the adapters (RPi and HAT).

<Image align="center" src="https://files.readme.io/fcfdcbe-5.jpg" />

6. Set only your APN to connect the device to network.

* Install ATCom. <a href="https://github.com/sixfab/atcom"  target="_blank">Click</a> to see for details.

<HTMLBlock>{`
<blockquote class="callout callout_default" theme="note">
  <h3>📖 Note</h3>
  <p>Since the Raspberry Pi OS Bookworm, you cannot install Python libraries directly into the system version of Python using pip. Please use a virtual environment (venv) to install the ATCom package. For more details, visit <a href="https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi"  target="_blank">PEP 668</a>.</p>
</blockquote>
`}</HTMLBlock>

<br />

* Open the terminal.\
  Run the command including your network operator's APN:
* ```Text Bash
  atcom AT+CGDCONT=1,\"IPV4V6\",\"YOUR_APN\"
  ```
* Reset the modem by typing:
* ```Text Bash
  atcom AT+CFUN=1,1
  ```

Wait a few minutes for the modem to fully function and a few minutes for network registration.

7. Test Cellular Internet Connection

Once the internet is active you should see <span class="code">usbX</span> in your internet interface. You can use <span class="code">ifconfig</span>  or <span class="code">ipaddr</span>  and look for <span class="code">usbX</span> 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 usb0
usb0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500
        inet 192.168.225.60  netmask 255.255.255.0  broadcast 192.168.225.255
        inet6 fe80::8543:f6a0:e678:2e20  prefixlen 64  scopeid 0x20<link>
        ether 4a:aa:f8:62:36:bb  txqueuelen 1000  (Ethernet)
        RX packets 73  bytes 5047 (4.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 100  bytes 15116 (14.7 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 usb0 sixfab.com -c 5
PING sixfab.com (104.26.9.221) from 192.168.225.60 usb0: 56(84) bytes of data.
64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=1 ttl=52 time=209 ms
64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=2 ttl=52 time=202 ms
64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=3 ttl=52 time=192 ms
64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=4 ttl=52 time=193 ms
64 bytes from 104.26.9.221 (104.26.9.221): icmp_seq=5 ttl=52 time=195 ms

--- sixfab.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 9ms
rtt min/avg/max/mdev = 191.895/198.244/209.463/6.636 ms
  </div>
</div>
`}</HTMLBlock>

Enjoy being connected with Sixfab 5G Modem Kit.

<HTMLBlock>{`
  <blockquote class="callout callout_default" theme="warning">
  <h3> ❗️ Warnings</h3>
    <ul>
      <li>5G uplink and downlink rates depend on the network operator, cell tower, device location, antenna surroundings, and operating system compute load.</li>
       <li>Do not use other than official Raspberry Pi power supplies or Sixfab power adapters to protect electronics and achieve maximum performance.</li>
       <li>Do not block the airflow of device to prevent overheating. The cooling fan automatically works with adjusted speed right out of the box. It should be reprogrammed if a fresh OS image has been overwritten to micro SD cards or the script has changed.</li>
       <li>The device contains highly sensitive electronic circuitry and is an Electrostatic Sensitive Device (ESD). Handling it without proper ESD protection may destroy or damage it permanently.</li>
      <li>The antenna is located at the top of the device. Please do not put it upside down or place anything nearby the device that could affect the signal.</li>
     <li>Please use the Sixfab Jumpstart 5G SIM removal tool included to eject the SIM card to avoid damaging the slot.</li>
    </ul>
</blockquote>  
`}</HTMLBlock>