• 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: Raspberry Pi Camera V1 ESP32-S3 Development Board 3.16 inch LCD display 3.16inch Screen SD slot 320x820 RGB LED ST7701 Raspberry Pi 1.54inch LCD Bookworm-Desktop Display and Touch Raspberry Pi USB Camera 2MP OV2735 Distortion-Free USB 2.0 For Jeston RDK ESP32 S3 Development Board 2.1 inch Round Rotary Knob LCD Smart Screen 2.1inch Display 480x480 LVGL for Arduino Raspberry Pi RTC WatchDog HAT (B) R7FA4 Plus A Board Based on R7FA4M1AB3CFM Compatible with Arduino UNO For R4 Minima Raspberry Pi Pico 2 RP2350-Zero Mini Board RP2350A 1.33TFLOPS RAM-4G eMMC-16 High Performance AI at the Edge Raspberry Pi 5 Official Original PCIe to M.2 HAT+ Compact Expansion Board NVMe SSD Raspberry Pi 5 NVMe Raspberry Pi 24.5 inch Type C/HDMI 2K Display 24.5inch Screen 2560x1440 Computer PC Phone For Xbox/PS4/Switch ESP32-C6 ESP32 C3 Round LCD Development Board Electronic EYE 0.71 inch Display Watch Screen GC9A01 160x160 DDSM315 Direct Drive Servo Motor All-In-One Design Hub RS485 Motor Luckfox PicoKVM KVM NanoKVM RV1106 Pico Remote Control /Power /Desktop Maintenance Server HDMI USB For PiKVM Raspberry Pi Raspberry Pi Camera GC9A01 ESP32 IR Thermal Imaging Camera RP2040-PiZero