PPP +LWIP

ren364940161   2012-9-25 15:04 楼主
CONNECT
lcp_init: xmit_accm=0 0 0 0
upap_init: 0
lcp_init: xmit_accm=0 0 0 0
pppMain: unit 0: Connecting
TCP/IP initialized!
pppStartCB: unit 0
ppp_set_xaccm[0]: outACCM=0 0 0 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
lcp_lowerup: asyncmap=0 0 0 0
LCP: lowerup state 0 (LS_INITIAL) -> 2 (LS_CLOSED)
auth_reset: 0
lcp_addci: L opt=2 0
lcp_addci: L opt=5 52181044
lcp_addci: opt=7
lcp_addci: opt=8
pppWrite[0]: len=47
fsm_sdata(LCP): Sent code 1,1,20.
LCP: sending Configure-Request, id 1
LCP: open state 2 (LS_CLOSED) -> 6 (LS_REQSENT)
pppInProc[0]: got 40 bytes
pppInProc[0]: got 29 bytes
pppInProc[0]: got 1 bytes
pppInput[0]: LCP len=14
fsm_input(LCP):1,3,14
fsm_rconfreq(LCP): Rcvd id 3 state=6 (LS_REQSENT)
lcp_reqci:  ASYNCMAP=A0000 PAP (C023)
lcp_reqci: returning CONFACK.
pppWrite[0]: len=34
fsm_sdata(LCP): Sent code 2,3,14.
pppInput[0]: LCP len=14
fsm_input(LCP):4,1,14
fsm_rconfnakrej(LCP): Rcvd id 1 state=8 (LS_ACKSENT)
lcp_rejci: long opt 5 rejected
lcp_rejci: void opt 7 rejected
lcp_rejci: void opt 8 rejected
lcp_addci: L opt=2 0
pppWrite[0]: len=28
fsm_sdata(LCP): Sent code 1,2,10.
LCP: sending Configure-Request, id 2
pppInProc[0]: got 29 bytes
pppInput[0]: LCP len=10
fsm_input(LCP):2,2,10
fsm_rconfack(LCP): Rcvd id 2 state=8 (LS_ACKSENT)
lcp_acki: Ack
ppp_send_config[0]: outACCM=0 0 A 0
ppp_recv_config[0]: inACCM=0 0 0 0
link_established: 0
upap_lowerup: 0 s=0
IPCP: lowerup state 0 (LS_INITIAL) -> 2 (LS_CLOSED)
upap_authwithpeer: 0 user=none password=none s=1
pppWrite[0]: len=21
pap_sauth: Sent id 1
pppInProc[0]: got 21 bytes
pppInput[0]: PAP len=13
pap_rauthack: Rcvd id 1 s=3
Remote message: Login OK
auth_withpeer_success: 0 proto=C023
pppWrite[0]: len=36
fsm_sdata(IPCP): Sent code 1,1,28.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 (LS_CLOSED) -> 6 (LS_REQSENT)
IPCP: timeout resending Config-Request state=6 (LS_REQSENT)
pppWrite[0]: len=37
fsm_sdata(IPCP): Sent code 1,1,28.
IPCP: sending Configure-Request, id 1
pppInProc[0]: got 36 bytes
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=6 (LS_REQSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=17
fsm_sdata(IPCP): Sent code 2,1,10.
pppInput[0]: IPCP len=10
fsm_input(IPCP):4,1,10
fsm_rconfnakrej(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,2,22.
IPCP: sending Configure-Request, id 2
pppInProc[0]: got 30 bytes
pppInput[0]: IPCP len=22
fsm_input(IPCP):3,2,22
fsm_rconfnakrej(IPCP): Rcvd id 2 state=8 (LS_ACKSENT)
local IP address 10.241.1.61
primary DNS address 211.140.13.188
secondary DNS address 211.140.188.188

pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,3,22.
IPCP: sending Configure-Request, id 3
pppInProc[0]: got 18 bytes
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInProc[0]: got 18 bytes
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
IPCP: timeout resending Config-Request state=8 (LS_ACKSENT)
pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,3,22.
IPCP: sending Configure-Request, id 3
pppInProc[0]: got 18 bytes
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInProc[0]: got 15 bytes
pppInProc[0]: got 3 bytes
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
IPCP: timeout resending Config-Request state=8 (LS_ACKSENT)
pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,3,22.
IPCP: sending Configure-Request, id 3
pppInProc[0]: got 18 bytes
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInProc[0]: got 49 bytes
pppInProc[0]: got 9 bytes
pppInput[0]: LCP len=32
fsm_input(LCP):5,4,32
fsm_rtermreq(LCP): Rcvd id 4 state=9 (LS_OPENED)
LCP terminated by peer (20005920)
link_down: 0
upap_lowerdown: 0 s=4
IPCP: lowerdown state 8 (LS_ACKSENT) -> 1 (LS_STARTING)
IPCP: close reason=LCP down state 1 (LS_STARTING) -> 0 (LS_INITIAL)
pppLinkDown: unit 0
pppMainWakeup: unit 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
pppWrite[0]: len=17
fsm_sdata(LCP): Sent code 6,4,4.
pppInProc[0]: got 17 bytes
pppInProc[0]: Dropping bad fcs 0x2D9C proto=0x000D
pppDrop: pbuf len=21
pppInput[0]: LCP len=4
fsm_input(LCP):6,4,4
fsm_rtermack(LCP): state=5 (LS_STOPPING)
link_terminated: 0
Connection terminatepppMain: unit 0: PHASE_DEAD
pppMain: unit 0: linkStatusCB=8024be1 errCode=0
link statu:-8
kStpppLinkTerminated: unit 0
pppMainWakeup: unit 0

服务器的IP双方无法确认完成,有遇到过的吗?

回复评论 (2)

我也遇到相同的问题,不知如何解决?
ATD*99***1#
CONNECT
lcp_init: xmit_accm=0 0 0 0
upap_init: 0
pppOverSerialOpen: unit 0: Connecting
pppStart: unit 0
ppp_set_xaccm[0]: outACCM=0 0 0 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
lcp_lowerup: asyncmap=0 0 0 0
LCP: lowerup state 0 (LS_INITIAL) -> 2 (LS_CLOSED)
auth_reset: 0
lcp_addci: L opt=2 0
lcp_addci: L opt=5 52181044
lcp_addci: opt=7
lcp_addci: opt=8
pppWrite[0]: len=47
fsm_sdata(LCP): Sent code 1,1,20.
LCP: sending Configure-Request, id 1
LCP: open state 2 (LS_CLOSED) -> 6 (LS_REQSENT)
pppStart: finished
TCP/IP initialized!
pppInput[0]: LCP len=14
fsm_input(LCP):1,2,14
fsm_rconfreq(LCP): Rcvd id 2 state=6 (LS_REQSENT)
lcp_reqci:  ASYNCMAP=A0000 PAP (C023)
lcp_reqci: returning CONFACK.
pppWrite[0]: len=35
fsm_sdata(LCP): Sent code 2,2,14.
pppInput[0]: packet processed
pppInput[0]: LCP len=14
fsm_input(LCP):4,1,14
fsm_rconfnakrej(LCP): Rcvd id 1 state=8 (LS_ACKSENT)
lcp_rejci: long opt 5 rejected
lcp_rejci: void opt 7 rejected
lcp_rejci: void opt 8 rejected
lcp_addci: L opt=2 0
pppWrite[0]: len=28
fsm_sdata(LCP): Sent code 1,2,10.
LCP: sending Configure-Request, id 2
pppInput[0]: packet processed
pppInput[0]: LCP len=10
fsm_input(LCP):2,2,10
fsm_rconfack(LCP): Rcvd id 2 state=8 (LS_ACKSENT)
lcp_acki: Ack
ppp_send_config[0]: outACCM=0 0 A 0
ppp_recv_config[0]: inACCM=0 0 0 0
link_established: unit 0; Lowering up all protocols...
upap_lowerup: init 0 clientstate s=0
IPCP: lowerup state 0 (LS_INITIAL) -> 2 (LS_CLOSED)
upap_authwithpeer: 0 user=none password=none s=1
pppWrite[0]: len=22
pap_sauth: Sent id 1
pppInput[0]: packet processed
pppInput[0]: PAP len=13
pap_rauthack: Rcvd id 1 s=3
Remote message: Login OK
auth_withpeer_success: 0 proto=C023
pppWrite[0]: len=37
fsm_sdata(IPCP): Sent code 1,1,28.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 (LS_CLOSED) -> 6 (LS_REQSENT)
pppInput[0]: packet processed
IPCP: timeout resending Config-Request state=6 (LS_REQSENT)
pppWrite[0]: len=37
fsm_sdata(IPCP): Sent code 1,1,28.
IPCP: sending Configure-Request, id 1
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=6 (LS_REQSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInput[0]: packet processed
pppInput[0]: IPCP len=10
fsm_input(IPCP):4,1,10
fsm_rconfnakrej(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,2,22.
IPCP: sending Configure-Request, id 2
pppInput[0]: packet processed
pppInput[0]: IPCP len=22
fsm_input(IPCP):3,2,22
fsm_rconfnakrej(IPCP): Rcvd id 2 state=8 (LS_ACKSENT)
local IP address 10.156.83.47
primary DNS address 210.21.4.130
secondary DNS address 221.5.88.88
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,3,22.
IPCP: sending Configure-Request, id 3
pppInput[0]: packet processed
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInput[0]: packet processed
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInput[0]: packet processed
IPCP: timeout resending Config-Request state=8 (LS_ACKSENT)
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,3,22.
IPCP: sending Configure-Request, id 3
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInput[0]: packet processed
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInput[0]: packet processed
IPCP: timeout resending Config-Request state=8 (LS_ACKSENT)
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,3,22.
IPCP: sending Configure-Request, id 3
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,1,10
fsm_rconfreq(IPCP): Rcvd id 1 state=8 (LS_ACKSENT)
ipcp_reqci: ADDR 192.200.1.21
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 2,1,10.
pppInput[0]: packet processed
pppInput[0]: LCP len=32
fsm_input(LCP):5,3,32
fsm_rtermreq(LCP): Rcvd id 3 state=9 (LS_OPENED)
LCP terminated by peer (20008474)
link_down: 0
upap_lowerdown: 0 s=4
IPCP: lowerdown state 8 (LS_ACKSENT) -> 1 (LS_STARTING)
IPCP: close reason=LCP down state 1 (LS_STARTING) -> 0 (LS_INITIAL)
pppLinkDown: unit 0
pppRecvWakeup: unit 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
pppWrite[0]: len=17
fsm_sdata(LCP): Sent code 6,3,4.
pppInput[0]: packet processed
pppInProc[0]: got 7 bytes
pppInProc[0]: Dropping bad fcs 0x2d9c proto=0xd
pppDrop: pbuf len=21, addr 2000cf28
pppInProc[0]: got 9 bytes
pppInProc[0]: got 1 bytes
pppInput[0]: LCP len=4
fsm_input(LCP):6,3,4
fsm_rtermack(LCP): state=5 (LS_STOPPING)
link_terminated: 0
Connection terminated.
pppLinkTerminated: unit 0
pppRecvWakeup: unit 0
pppLinkTerminated: unit 0: linkStatusCB=0801de17 errCode=0
pppLinkStatusCallback: PPPERR_PROTOCOL
pppLinkTerminated: finished.
pppInput[0]: packet processed

[ 本帖最后由 chenza 于 2013-11-24 19:44 编辑 ]
点赞  2013-11-24 19:18
我也遇到了 求解答
点赞  2018-1-19 21:52
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复