mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-14 23:24:55 +00:00
763eca71b3
2. Added -y for ppp installation 3. Removed unused commands
73 lines
2.7 KiB
Markdown
73 lines
2.7 KiB
Markdown
# Sixfab_PPP_Installer
|
||
Repository of Sixfab PPP Installer Tool
|
||
|
||
Sixfab offers Shields/HATs for Raspberry Pi which provides cellular Internet connection anywhere with the availability of mobile network coverage. These shields are:
|
||
|
||
* [Raspberry Pi GSM/GPRS Shield](https://www.sixfab.com/product/gsmgprs-shield/)
|
||
|
||
* [Raspberry Pi 3G-4G/LTE Base Shield V2](https://www.sixfab.com/product/raspberry-pi-3g-4glte-base-shield-v2/)
|
||
|
||
* [Raspberry Pi Cellular IoT Application Shield](https://www.sixfab.com/product/raspberry-pi-cellular-iot-application-hat/)
|
||
|
||
* [Raspberry Pi Cellular IoT HAT ](https://sixfab.com/product/raspberry-pi-lte-m-nb-iot-egprs-cellular-hat/)
|
||
|
||
* [Raspberry Pi Tracker HAT ](https://sixfab.com/product/raspberry-pi-gprs-gps-tracker-hat/)
|
||
|
||
* [Raspberry Pi 3G/4G<E Base HAT](https://sixfab.com/product/raspberry-pi-base-hat-3g-4g-lte-minipcie-cards/)
|
||
|
||
Each of these shield can be connected to Internet via PPP(Point to Point Protocol). For this tutorial we have written an script to install and perform required steps.
|
||
|
||
Without further ado let us jump into the installation process:
|
||
|
||
Clone the repository
|
||
|
||
`git clone https://github.com/sixfab/Sixfab_PPP_Installer.git`
|
||
|
||
Now change the permission of the downloaded script.
|
||
|
||
```
|
||
cd Sixfab_PPP_Installer/ppp_installer
|
||
chmod +x install.sh
|
||
```
|
||
|
||
Now install the script
|
||
|
||
`sudo ./install.sh`
|
||
|
||
It will ask several questions, just answer them accordingly to complete the installation process. The questions are:
|
||
`Please choose your Sixfab Shield/HAT`
|
||
|
||
You will be offered to choose among the mentioned four shields/HAT. Then it will fetch required scripts for you.
|
||
|
||
Then it installs ppp.
|
||
|
||
`What is your carrier APN?`
|
||
|
||
Here, it asks for your carrier's APN. For me it is hologram.
|
||
|
||
`Does your carrier need username and password? [Y/n]`
|
||
|
||
Then it asks if your carrier needs username and password.
|
||
|
||
`Enter username`
|
||
If yes then it will ask for user name.
|
||
|
||
`Enter password`
|
||
Then it will ask for password.
|
||
|
||
Once you type the username asks for password.
|
||
|
||
`What is your device communication PORT? (ttyS0/ttyUSB3/etc.`
|
||
|
||
In this step you will enter your PORT. e.g For 3G, 4G/LTE Base Shield it will be ttyUSB3.
|
||
|
||
`Do you want to activate auto connect/reconnect service at R.Pi boot up?`
|
||
|
||
This option allows you to connect to Internet via your shield automatically when your Raspberry Pi Starts. If you want to connect to Internet automatically type Y else n. If you have selected n then you will need to run `sudo pon` to connect to internet and `sudo poff` to stop it.
|
||
|
||
Enjoy your Internet connection.
|
||
|
||
Important Links:
|
||
* [Linux PPP HOW TO](https://tldp.org/HOWTO/PPP-HOWTO/index.html)
|
||
* [PAP CHAP authentications](https://tldp.org/HOWTO/PPP-HOWTO/pap.html)
|