ppp 连接终止:“没有运行网络协议”

问题描述

我是 ppp 协议及其配置的新手,遇到了 ppp 连接终止、未创建 ppp0 的问题。

这个调制解调器(telit lm960a18)在这个 sim 卡和 APN 上使用 VM 中的网络管理器可以正常工作。由于我的硬件中没有 nmcli 和 mmcli,但是 ppp 可用,我需要在这块板上进行 ppp 连接。

我怀疑它终止的原因是'没有运行网络协议',但不知道如何解决它。任何帮助和指示表示赞赏!

这是 ppp.log 消息。

Script /usr/sbin/chat -v -f /etc/ppp/options finished (pid 12658),status = 0x0
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4bca569a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <auth chap MD5> <magic 0x13647a80> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x6 <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4bca569a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x13647a80> <pcomp> <accomp>]
sent [LCP ConfAck id=0x7 <asyncmap 0x0> <magic 0x13647a80> <pcomp> <accomp>]
sent [LCP TermReq id=0x2 "No network protocols running"]
rcvd [LCP discReq id=0x8 magic=0x13647a80]
rcvd [LCP TermAck id=0x2]
Connection terminated.

选项文件

# Run in foreground (lets s6 supervisor work)
nodetach
# Uncomment below to emit debug messages
debug
# Set to one failure allowed (no retries)
maxfail 1
# Lock the modem port when establishing PPP
lock
# no auth
noauth
# Log file location
logfile /opt/iprf/tmp/ppp.log
# Connect script
connect /etc/ppp/net-connect-cellVerizon
# No hardware flow control
nocrtscts
# disable compression control protocol
noccp
# disable IPCP negotiations
noip
# Modem port name
/dev/ttyUSB2
# Modem port baud rate
115200

/etc/ppp/net-connect-cellVerizon 文件

#!/bin/sh
/usr/sbin/chat -v -t 60 -f /etc/ppp/net-chat-cellVerizon

/etc/ppp/net-chat-c​​ellVerizon 文件

TIMEOUT 5
ABORT   'ERROR'
''
'AT'
OK
'AT+CGDCONT=1,"IP","so01.vzwstatic"'
OK
'ATD*99***1#'
CONNECT ''

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)