SIM7070&&SIM7080 PPP 拨号

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:
在这里插入图片描述

  • 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:
    在这里插入图片描述
  • Load device symbol
    在这里插入图片描述
  • After successfully adding PID, a series of ttyUSB appears
    在这里插入图片描述

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 &
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

信看

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值