This tutorial helps you to access 3G Internet connection in Raspberry Pi. Internet on PiTalk is handled by PPP (point to point protocol), and therefore a PPP script is needed to turn on internet connectivity.
- Connect PiTalk Communication Port to Raspberry Pi using the micro USB cable.
Suggested Product- Micro bit Starter kit
- Press the ON button of PiTalk. Netlight LED will start blinking and network registered.
Make sure your Raspberry pi recognizes PiTalk when connected via USB by opening terminal and typing command:
If you see Quectel GSM module of raspberry Pi and 'ttyUSB3' port, skip below commands. Otherwise, follow these steps and update your Raspberry Pi.
sudo apt-get update
sudo apt-get upgrade
Repeat Step - 3 and check 'ttyUSBB3' port is allocated
- Now there are two ways you can start the internet connection.
Go to Internet, fill the entries for APN and PORT as per your SIM card and Raspberry Pi Port and press Connect. After the script is done processing, press “Check Status”. If the popup label shows Connected, then you are successful in connecting to the internet.
In your PiTalk directory that you may have downloaded from GitHub : https://github.com/sbcshop/PiTalk_5, there is a folder named ‘PPP’. It contains the desired scripts for handling your internet connection via PPP.
Open Terminal and navigate to PiTalk directory. Alternatively, open the PiTalk directory and press F4 to open Terminal based in that directory. Navigate to the PPP directory and change the permissions of scripts:
sudo chmod +x ppp_create ppp_start ppp_killNote - WWW is the APN of Vodafone. Replace APN with your SIM card APN
sudo ./ppp_create WWW ttyUSB3
- From GUI
- You can check the status of your PPP connection by typing the command:
- If you see a section with PPP, you were successful in establishing a connection to the internet.
- To stop PPP connection, type command: