Chinaunix首页 | 论坛 | 博客
  • 博客访问: 91903
  • 博文数量: 24
  • 博客积分: 1411
  • 博客等级: 上尉
  • 技术积分: 260
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-15 13:16
文章分类
文章存档

2010年(24)

我的朋友

分类: LINUX

2010-03-16 11:34:08

拨号日志如下:
/etc/ppp/cdma-ppp-on ttyUSB0
Z
Serial connection established.
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
rcvd [LCP ConfReq id=0x1 ccomp>]
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 ]
sent [LCP ConfAck id=0x1 ccomp>]
rcvd [LCP ConfAck id=0x1 ]
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [PAP AuthReq id=0x1 user="card" password=]
rcvd [PAP AuthAck id=0x1 ""]
sent [IPCP ConfReq id=0x1 <
ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 ]
sent [IPCP ConfAck id=0x1 ]
rcvd [IPCP ConfNak id=0x1 ns3 219.150.32.132>]
sent [IPCP ConfReq id=0x2 2.222.222.222> ]
rcvd [IPCP ConfAck id=0x2 2.222.222.222> ]
local  IP address 111.225.177.193
remote IP address 115.168.66.10
primary   DNS address 222.222.222.222
secondary DNS address 219.150.32.132
Script /etc/ppp/ip-up started (pid 5471)
Script /etc/ppp/ip-up finished (pid 5471), status = 0x0
rcvd [LCP ConfReq id=0x2 ccomp>]
Script /etc/ppp/ip-down started (pid 5642)
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x2 ]
sent [LCP ConfAck id=0x2 ccomp>]
Script /etc/ppp/ip-down finished (pid 5642), status = 0x0
rcvd [LCP ConfAck id=0x2 ]
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [PAP AuthReq id=0x2 user="card" password=]
rcvd [PAP AuthAck id=0x2 ""]
sent [IPCP ConfReq id=0x3 0.0.0> ]
rcvd [IPCP ConfReq id=0x1 ]
sent [IPCP ConfAck id=0x1 ]
rcvd [IPCP ConfNak id=0x3 ]
sent [IPCP ConfReq id=0x4 2.222.222.222> ]
rcvd [IPCP ConfAck id=0x4 2.222.222.222> ]
local  IP address 111.225.177.193
remote IP address 115.168.66.10
primary   DNS address 222.222.222.222
secondary DNS address 219.150.32.132
Script /etc/ppp/ip-up started (pid 5646)
Script /etc/ppp/ip-up finished (pid 5646), status = 0x0
09:02:03   thread1   16386,   val   =   1,   signal   captured.
net check........
ppp0==111.225.177.193
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
Script /etc/ppp/ip-down started (pid 5817)
sent [LCP TermAck id=0x3]
Script /etc/ppp/ip-down finished (pid 5817), status = 0x0
Connection terminated.
Connect time 2.6 minutes.
Sent 90525 bytes, received 4251554 bytes.
 
上线没多久就掉了,如何解决?
大致看了下PPP协议规范,一步步分析,求解中...
>local  IP address 111.225.177.193
>remote IP address 115.168.66.10
>primary   DNS address 222.222.222.222
>secondary DNS address 219.150.32.132
>Script /etc/ppp/ip-up started (pid 5471)
>Script /etc/ppp/ip-up finished (pid 5471), status = 0x0
>rcvd [LCP ConfReq id=0x2 ccomp>]
上线成功后,突然受到LCP ConfReq 对端链路配置请求,在PPP协议规范中有:在LCP建立完成以后,如果收到LCP配置请求包(LCP Configure—Request),链路将从网络层协议阶段或者认证阶段返回到链路建立阶段。所以回到链路建立阶段.
但是是什么情况会出现peers的重新配置请求呢?
PPP可以在任意时间终止链路。引起链路终止的原因很多:载波丢失、认证失败、链路质量失败、空闲周期定时器期满、或者管理员关闭链路。LCP用交换Terminate(终止)packets的方法终止链路。当链路正被关闭时,PPP通知网络层协议,以便他们可以采取正确的行动。交换Terminate(终止)packets之后,执行应该通知物理层断开,以便强制链路终止,尤其当认证失败时。
这么多原因啊,一个个排除吧
 
 
阅读(625) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:tcpdump

给主人留下些什么吧!~~