• sales

    +86-0755-88291180

Raspberry Pi SIM868 PPP Dail-up Networking User Guide

SIM868 module features GPRS function (2G Network), so we could use SIM868 module to dial-up networking using PPP.

As we know, SIM868 module features GPRS function, however, it is controlled with AT instructions, and AT instruction is not convenient in Raspberry Pi. If the function could be operated just like operate WIFI it will be much better. In this case, we describe how to use PPP to dial-up networking.

  • Fistly, we need to install PPP server
sudo apt-get install ppp
  • Switch to root permission
sudo su
  • Enter the directory /etc/ppp/peers, copy the file provider and name it gprs
cd /etc/ppp/peers
cp provider gprs
  • Open file gprs and edit it
sudo nano gprs


  • Exeute the command as below to run it in the background
pppd call gprs &


  • Close the network
ifconfig eth0 down
ifconfig wlan0 down
route add -net 0.0.0.0 ppp0
  • Then execute command ifconfig you can find the ppp0


  • Finally, just try to ping one web site like google or baidu.com. If you can ping the web site successfully, it means that the setting is correct and it can network now.


TAG: Sipeed FPGA Tang Primer 20K Dock/Lite 128M DDR3 Development Board GW2A-LV18PG256C8/I7 Raspberry Pi 5 IMX219 Industrial Isolated 4CH RS485 TO POE ETH (B) RJ45 Converter UART For Modbus Raspberry Pi CM5 Mini Base IO Board NANO A Development For Compute Module 5 Raspberry Pi Autofocus Camera ESP32 S3 Development Board 2.8 inch B LCD 2.8inch Display 480x640 TouchScreen QMI8658 Sensor / Battery Port LVGL/HMI For Arduino Supports 6V~24V Solar Panel Raspberry Pi Pico 2 RP2350 Core2350B Core Board PSRAM Raspberry Pi Compute Module 4 CM4 PCIe to M.2 NVMe SSD Pi5-Pcie-Fish-Boar USB Camera 2MP GC2093 ‌WDR Backlight Compensation‌ Onboard microphone RP2040 LoRa-HF Raspberry Pi 5 PCIe to 2.5G Ethernet Adapter Board Plug and Play ESP32-S3FH4R2-MINI-Tiny-Stamp-WIFI-Bluetooth5 Raspberry Pi LCD 3D Display RP2040 Camera Jetson Nano Cooler SpotPear D-Robotics RDK X3 Module Core MD Module Horizon Sunrise Pi ARM Cortex-A53 5Tops Size Compatible With Raspberry Pi CM4 Size USB to CAN