域格资料中心
Docs » asr:linux:pppd

域格ASR平台模块 - Linux下pppd拨号

适用模块:CLM920 JC3、CLM920 JC3 3.0、CLM920 JD3、CLM920 JC5、CLM920 JD5、CLM920 CV9、CLM920 HV9、CLM920 HV9 V2、CLM920 HV9 G、CLM920 HE9、CLM920 MV9、CLM920 LV9、CLM920 KV5、CLM920 KV3


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

调用拨号脚本拨号

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

或者

分别写pppd脚本和chat脚本:

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

#Usage: root>pppd call lte&
/dev/ttyUSB2
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&,拨号上网。

Previous Next

域格资料中心

Table of Contents

  • 域格资料中心
  • 域格模块选型
  • 模块型号说明
  • 域格IoT协议