• 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: Industrial grade isolated USB to RS232/485 converter supports USB to 2-way RS232 + 2-way RS232/485 original FT4232HL Raspberry Pi 5 PCIE to MiniPCIe For wireless network WIFI Card USB Bluetooth Pi5 Heatsink LuckFox Pico FT4232HL USB TTL RS232 Industrial UART 4-Ch UART Sensor Development Board Industrial Isolated USB TO 4CH RS485 (B) Converter UART CH344L For Wall/Rail-Mount NVIDIA Jetson Orin Nano/NX PoE Mini Expansion Board Power over Ethernet RJ45 802.3af compliant Spotpear Pi5 RS232/485/422 To CAN Raspberry Pi 13.3 inch FHD Monitor LCD 1080P Capacitive TouchScreen Display Type-C/HDMI For Computer PC Raspberry Pi 6.25 inch DSI Display MIPI LCD Capacitive TouchScreen 720x1560 Raspberry Pi User Guide ESP32-S3-Zero EchoEar ESP32 S3 AI Development Board with 1.85-inch LCD Display Cute Cat Pet Chatting Robot N32R16 Luckfox Pico RJ45 LuckFox Pico Camera Pi5 Serial Bus Servo