PPP Installer for Base HAT

  1. Download the installer file by the following command.
wget https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/install.sh
  1. Change the permission of the installation file.
sudo chmod +x install.sh
  1. Now install the script. It will ask several questions, just answer them accordingly to complete the installation process. The questions are:
  • Select 6 for Base HAT and press enter.
sudo ./install.sh
[email protected]:~$ sudo ./install.sh
 Please choose your Sixfab Shield/HAT:
 1: GSM/GPRS Shield
 2: 3G, 4G/LTE Base Shield
 3: Cellular IoT App Shield
 4: Cellular IoT HAT
 5: Tracker HAT
 6: 3G/4G Base HAT
  • It asks if your kernel is up-to-date. If no[N] it updates the kernel else it skips the update. Then it installs PPP.
Do you have updated kernel? [Y/n]
  • What is your carrier APN ?

Here, it asks for your carrier’s APN. For me it is hologram.

What is your carrier APN?
  • Enter your PORT name

In this step you will enter your PORT. For Base HAT it will be ttyUSB3.

What is your device communication PORT? (ttyS0/ttyUSB3/etc.)
  • Do you want to activate auto-connect/reconnect service at R.Pi boot up?

This option allows you to connect to the Internet via your HAT automatically when your Raspberry Pi Starts. If you want to connect to the Internet automatically type y else N. If you have selected N then you will need to run sudo pon to connect to the internet and sudo poff to stop it. Make sure your module is powered up.

Do you want to activate auto connect/reconnect service at R.Pi boot up? [Y/n}

Enjoy your Internet connection.

Managing the Auto-connect/Reconnect service

To check if the service is active you can type.

sudo systemctl status reconnect.service

To stop your reconnect service, type:

sudo systemctl stop reconnect.service

To start the reconnect service when it is stopped, type:

sudo systemctl start reconnect.service

To stop and then start the service again, type:

sudo systemctl restart reconnect.service

By default, reconnect service is configured to start automatically when the server boots. If this is not what you want, you can disable this behavior by typing:

sudo systemctl disable reconnect.service

To re-enable the service to start up at boot, you can type:

sudo systemctl enable reconnect.service


If you are using auto-connect/reconnect service, stop the service and disable it.

sudo systemctl stop reconnect.service
sudo systemctl disable reconnect.service

Then delete the files.

sudo rm /etc/ppp/peers/provider
sudo rm /etc/chatscripts/chat-connect
sudo rm /etc/chatscripts/chat-disconnect


If your carrier asks for username and password;
Remove noauth from /etc/ppp/peers/provider and add following lines



To understand PPP further you can check PPP documentation.

If you have the Thales mini PCIe products we recommend using their pppd tutorial.


Please submit your technical issues and feedback to the community forum.

Updated 2 months ago

PPP Installer for Base HAT

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.