• 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: X1012 Raspberry Pi 5 POE And PCIe to M.2 NVMe SSD Board Pi5 2280 Power over Ethernet Raspberry Pi 4.26 inch e-Paper link (G) RYBW 800x480 For Arduino / Jetson / STM32 /ESP32 ESP32 UART USB Bus Servo ST RSBL Driver board For Raspberry PI Robot PI5 Case Raspberry Pi 5 PCIe to M.2 Multi Function Adapter Board Supports Dual 4K HDMI Output Raspberry Pi UART Raspberry Pi 5 PD Induction ESP32 S3 R8 MP3 Board 2.8inch LCD TouchScreen Display Speaker/SD-Card/Battery/QMI8658-6-Axis-Sensor Raspberry Pi 3.5 inch DSI Display MIPI LCD (E) Capacitive TouchScreen 640x480 PC USB Monitor Screen 0.96inch Transparent OLED 128×64 SSD1312 For Arduino/Raspberry Pi /ESP32 /STM32 ESP32 C6 AI 0.85inch Development Board 0.85 inch DeepSeek RGB surround light Dual mike Raspberry Pi 5 Pure-Copper Active Cooler Pi5 Case Xiaozhi-AI-video-tutorial-2 RM520N GL 5G/4G/3G M.2 Moudle IoT EMBB For LTE-A/NSA/SA And GNSS For DFOTA /VoLTE For Quectel Raspberry Pi Pico 2 RP2350 2 inch LCD Capacitive TouchScreen Development Board 240x320 Display QMI8658 6-Axis /OV5640 Camera /SD /Battery Port Raspberry Pi 5 Case Spotpear Raspberry Pi Pico 2 RP2350 GEEK 1.14 inch LCD 240x135 65K SWD/UART/I2C For OpenOCD/CMSIS-DAP