标签:
Serial connection established.Connection terminated.
发现chap认证成功,也能获取到DNS,但是就是获取不到IP.后面不使用chap认证,能拨号成功.在拨号脚本中添加不使用chap认证:
refuse-chap
refuse-mschap
refuse-mschap-v2
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe7c32443> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MD5> <magic 0x10def1a> <pcomp> <accomp>]
sent [LCP ConfNak id=0x2 <auth eap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xe7c32443> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <auth chap MD5> <magic 0x10def1a> <pcomp> <accomp>]
sent [LCP ConfNak id=0x3 <auth eap>]
rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0x10def1a> <pcomp> <accomp>]
sent [LCP ConfNak id=0x4 <auth eap>]
rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <auth chap MD5> <magic 0x10def1a> <pcomp> <accomp>]
sent [LCP ConfNak id=0x5 <auth eap>]
rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <auth chap MD5> <magic 0x10def1a> <pcomp> <accomp>]
sent [LCP ConfNak id=0x6 <auth eap>]
rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <auth chap MD5> <magic 0x10def1a> <pcomp> <accomp>]
sent [LCP ConfRej id=0x7 <auth chap MD5>]
rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x10def1a> <pcomp> <accomp>]
sent [LCP ConfAck id=0x8 <asyncmap 0x0> <magic 0x10def1a> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP DiscReq id=0x9 magic=0x10def1a]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x5 <addr 10.0.9.57> <ms-dns1 220.248.192.12> <ms-dns3 220.248.192.13>]
sent [IPCP ConfReq id=0x6]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfNak id=0x6 <addr 10.0.9.57>]
sent [IPCP ConfReq id=0x7 <addr 10.0.9.57>]
rcvd [IPCP ConfAck id=0x7 <addr 10.0.9.57>]
Could not determine remote IP address: defaulting to 10.64.64.64
local IP address 10.0.9.57
remote IP address 10.64.64.64
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
3G拨号获取不到IP--No network protocols running
标签:
原文地址:http://blog.csdn.net/luoqindong/article/details/44196587