Gprs shield use Uart connection on Raspberry Pi. You can use following transactions for work.

  1. Firstly, Connect your Raspberry Pi to internet and run sudo apt-get update to update your Raspberry Pi
  2. We should stop getty service on Raspbian.
    1. For non Raspberry Pi 3 machines, remember it’s /dev/ttyAMA0 that is linked to the getty (console) service. So you need to perform this command from a terminal window:
      • sudo systemctl disable [email protected]
      • sudo systemctl disable [email protected]
    2. For Raspberry Pi 3’s the command is similar but referencing /dev/ttyS0:
      • sudo systemctl stop [email protected]
      • sudo systemctl disable [email protected]
    3. You also need to remove the console from the cmdline.txt. If you edit this with:
      • sudo nano /boot/cmdline.txt

        remove the line: console=serial0,115200 and save and reboot for changes to take effect.
    4. You also need to enable uart with edit /boot/config.txt file
      • sudo nano /boot/config.txt and add enable_uart=1 to bottom of file then save and reboot for changes to take effect.
  3. Install ppp application with sudo apt-get install ppp
  4. Edit /etc/ppp/peers/gprs file and add the following:
  5. Edit /etc/network/interfaces and add the following:
  6. Reboot your machine and Let’s connect πŸ˜‰
  7. run ifconfig ppp0 at terminal window to see following outputs and see your ip

18 thoughts on “Tutorial 2 | Make a PPP internet connection with Sixfab GPRS Shield on Raspberry Pi”

  1. I am unable to get this board to work with my Pi. I have gone thru all the above commands several times with no success. Can someone give me some help like what to look for in dmesg or syslog. Is step 1 above correct? Do you disable serial-getty twice? Or are we missing a command? Any troubleshooting help is appreciated.

          1. Ok, I tried it all again and its still no go. How can i tell if the Pi is even seeing the board? Do I need an antenna for the board? Can I connect the board to my PC via USB?

  2. You can use “minicom” or “any serial console application” to send “AT\r” and receive “OK\r” from Gprs Shield. This is a good test for you.

    Also you can connect Gprs shield to PC via USB. Select “USB” at “USB/Pi switch” You can use Putty for connect to the board with 115200 speed. Send “AT\r” and Receive “OK\r”.

  3. I received my GPRS shield this morning and I also can’t get any response from it, via USB or with a Raspberry Pi πŸ™

    1. Press and hold the button for 2 seconds! Then blue led on board will blink. After that you can send command to the module and receive answer.

Leave a Reply

Your email address will not be published. Required fields are marked *