免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7425 | 回复: 3
打印 上一主题 下一主题

[Linux] gprs模块pppd连接被踢 LCP terminated by peer (User request) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-08 11:37 |只看该作者 |倒序浏览
请各位朋友帮忙分析下 使用联通专网卡进行pppd连接时,apn usr pwd都设置的,用户和密码验证过后,出现LCP terminated by peer (User request)这种信息,然后连接就断掉了,有没有遇到类似问题的高手,给指点迷津一下,大概是什么原因引起的pppd失败的原因,附:csq:16,99
日志信息如下:
Jul  7 16:15:05 at91sam9260nand daemon.notice pppd[231]: pppd 2.4.4 started by root, uid 0
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: abort on (ERROR)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: abort on (BUSY)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: abort on (NO CARRIER)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: abort on (NO DIALTONE)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: report (CONNECT)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: expect ()
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: got it
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: send (AT^M)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: expect (OK)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: OK
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]:  -- got it
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: send (ATE0V1^M)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: expect (OK)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: OK
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]:  -- got it
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: send (AT+CGDCONT=1,"IP","HBDL.YCCB.TJAPN"^M)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: expect (OK)
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: OK
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]:  -- got it
Jul  7 16:15:05 at91sam9260nand local2.info chat[233]: send (AT+CGATT=1^M)
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: expect (OK)
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: OK
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]:  -- got it
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: send (ATD*99***1#^M)
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: timeout set to 30 seconds
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: expect (CONNECT)
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: ^M
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]: CONNECT
Jul  7 16:15:06 at91sam9260nand local2.info chat[233]:  -- got it
Jul  7 16:15:06 at91sam9260nand daemon.info pppd[231]: Serial connection established.
Jul  7 16:15:06 at91sam9260nand daemon.debug pppd[231]: using channel 1
Jul  7 16:15:06 at91sam9260nand daemon.info pppd[231]: Using interface ppp0
Jul  7 16:15:06 at91sam9260nand daemon.notice pppd[231]: Connect: ppp0 <--> /dev/ttyS1
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x87e91413> <pcomp> <accomp>]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3e205210> <pcomp> <accomp>]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0x87e91413> <pcomp> <accomp>]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3e205210> <pcomp> <accomp>]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: sent [LCP EchoReq id=0x0 magic=0x3e205210]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: sent [PAP AuthReq id=0x1 user="HBDLYCCB" password=<hidden>]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: rcvd [LCP EchoRep id=0x0 magic=0x87e91413]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: rcvd [PAP AuthAck id=0x1 ""]
Jul  7 16:15:07 at91sam9260nand daemon.notice pppd[231]: PAP authentication succeeded
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15]
Jul  7 16:15:07 at91sam9260nand daemon.debug pppd[231]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Jul  7 16:15:08 at91sam9260nand daemon.debug pppd[231]: rcvd [LCP TermReq id=0x3 "User request"]
Jul  7 16:15:08 at91sam9260nand daemon.info pppd[231]: LCP terminated by peer (User request)
Jul  7 16:15:08 at91sam9260nand daemon.debug pppd[231]: sent [LCP TermAck id=0x3]
Jul  7 16:15:10 at91sam9260nand daemon.debug pppd[231]: rcvd [LCP TermReq id=0x4 "User request"]
Jul  7 16:15:10 at91sam9260nand daemon.debug pppd[231]: sent [LCP TermAck id=0x4]
Jul  7 16:15:11 at91sam9260nand daemon.notice pppd[231]: Connection terminated.
Jul  7 16:15:11 at91sam9260nand daemon.notice pppd[231]: Modem hangup
Jul  7 16:15:11 at91sam9260nand daemon.info pppd[231]: Exit.
各位大侠,给分析下什么原因造成LCP terminated by peer (User request)  感激不尽

论坛徽章:
0
2 [报告]
发表于 2016-01-03 10:31 |只看该作者
我也遇到了相同的问题,LCP terminated by peer (User request),请问楼主问题是如何解决的?

论坛徽章:
0
3 [报告]
发表于 2016-11-23 11:42 |只看该作者
Me too, T_T.

楼主最后怎么解决的啊?求教
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP