域格高通平台4G模块 - Linux下pppd拨号

适用模块:CLM920 NC3CLM920 NC3 2.0CLM920 TE3CLM920 TE3 2.0CLM920 TD3CLM920 NC5CLM920 TE5CLM920 TD5


Linux下驱动加载及拨号前准备 确认无误后,再进行以下操作。

调用拨号脚本拨号

可以直接使用域格提供的拨号脚本yuga.lte-pppd,点空格点杠执行,即. ./yuga.lte-pppd

或者

分别写pppd脚本和chat脚本:

(1) /etc/ppp/peers/lte 文件,内容如下:

#Usage: root>pppd call lte&
/dev/ttyUSB0
115200
crtscts
modem
debug
nodetach
usepeerdns
noipdefault
defaultroute
user card
password card
connect '/usr/sbin/chat -s -v -f /etc/ppp/lte-connect-chat' 

(2) /etc/ppp/lte-connect-chat 文件,内容如下:

#/etc/ppp/lte-connect-chat
#chat script for LTE.
TIMEOUT 15
ABORT "DELAYED"
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
ABORT "NO CARRIER"
"" AT
OK ATE0
OK ATDT*99***1#
CONNECT

两个脚本写好后,执行pppd call lte&,拨号上网。