Add PID

The PID of SIM7070 is 9206, and the PID of SIM7080 is 9205. Generally, the linux system does not have this PID. You need to add the following:

SIM7070&&SIM7080 PPP 拨号_SIM7070G

  • Enter the option folder to edit the option.c file and add the corresponding PID
cd SIM8200_for_RPI/option
sudo nano option.c
  • Search for 9011, find the PID and VID codes corresponding to 9011, add 9205 and 9206 after copying, as shown below:
    SIM7070&&SIM7080 PPP 拨号_SIM7080G_02
  • Load device symbol
    SIM7070&&SIM7080 PPP 拨号_IOT_03
  • After successfully adding PID, a series of ttyUSB appears
    SIM7070&&SIM7080 PPP 拨号_SIM7070G_04

PPP dial

sudo su
sudo apt-get install ppp
cd /etc/ppp
sudo nano sim7080-chat.dat


Copy the following demo into the sim7080-chat.dat


#/etc/ppp/sim7080-chat.dat
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'ERROR'
ABORT 'NO ANSWER'
ABORT 'BUSY' TIMEOUT 120
'' AT
OK ATE1
OK AT+CGDCONT=1,"IPV4V6","ibox.tim.it"
OK ATD*99#
CONNECT ''
cd /etc/ppp/peers
sudo nano sim7080option


Copy the following demo into the sim7080option


#/etc/ppp/peers/ sim7080option
# This is pppd script for China Mobile, used SIMCOM Module
/dev/ttyUSB2
#/dev/pts/11
115200
nocrtscts
noauth
connect '/usr/sbin/chat -v -s -f /etc/ppp/sim7080-chat.dat'
disconnect '/usr/sbin/chat -e -v "" +++ath'
debug
ipcp-accept-local
ipcp-accept-remote
usepeerdns
defaultroute
lcp-echo-failure 3
lcp-echo-interval 2
#asyncmap ffffffff
#idle 48
  • Star ppp dial
pppd call sim7080option &