• 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 PICO STM32 0.96inch RGB OLED Raspberry Pi 5 PCIe to 2-CH PCIe FFC Dual PCIe HAT Board Pi5 Double RS485 Bus Raspberry Pi Mipi display Raspberry Pi Pico 2 RP2350 Core A Development Board RP2350A SpotPear R7FA4 Plus A Board Based on R7FA4M1AB3CFM Compatible with Arduino UNO For R4 Minima Raspberry Pi 3.5 inch LCD F Display Capacitance TouchScreen 60fps ST7796 GT911 320x480 Also For Arduino/Pico2/ESP32/RP2040/RP2350 Raspberry Pi IR Thermal Imagi PC Monitor LCD 1.54inch OLED user guide ESP32-C6 LCD Development Board 1.3 inch Display 1.3inch Screen ST7789 240x240 Mini TV SD-Port QST LVGL For Arduino Multi Protection ESP32-C6 Wiki Raspberry Pi PCM5122 I2S DAC HIFI Sound Card DAC Audio expansion Board Free-Driver For PI5/PI4/Zero Raspberry Pi 5 PCIe to 4-CH PCIe FFC HAT Board Pi5 4 Channels Sipeed FPGA Tang Primer 20K Dock/Lite 128M DDR3 Development Board GW2A-LV18PG256C8/I7 Industrial Modbus RTU 8 ch Relay Module