vitaminch 发表于 2010-4-8 13:30:05

lwip ppp 拨号 LCP PAP 都已经通过了,停留在IPCP阶段,请高手支招!

lcp_init: xmit_accm=0 0 0 0
upap_init: 0
Init_Modem()
lcp_init: xmit_accm=0 0 0 0
pppMain: unit 0: Connecting
pppStartCB: unit 0
ppp_set_xaccm: outACCM=0 0 0 0
ppp_send_config: outACCM=FF FF FF FF
ppp_recv_config: inACCM=0 0 0 0
lcp_lowerup: asyncmap=0 0 0 0
LCP: lowerup state 0 -> 2
auth_reset: 0
lcp_addci: L opt=2 0
lcp_addci: opt=7
lcp_addci: opt=8
pppWrite: len=37
PPP nPut: incomplete sio_write(0,, 37) = 0
fsm_sdata(LCP): Sent code 1,1,14.
LCP: sending Configure-Request, id 1
LCP: open state 2 -> 6
pppInProc: got 83 bytes
pppInput: LCP len=19
fsm_input(LCP):1,1,19
fsm_rconfreq(LCP): Rcvd id 1 state=6
lcp_reqci: Nak AUTHTYPE CHAP not allowed
lcp_reqci:ASYNCMAP=0 PCOMPRESSION ACCOMPRESSION
lcp_reqci: returning CONFNAK.
pppWrite: len=23
PPP nPut: incomplete sio_write(0,, 23) = 0
fsm_sdata(LCP): Sent code 3,1,8.
pppInput: LCP len=14
fsm_input(LCP):2,1,14
fsm_rconfack(LCP): Rcvd id 1 state=6
lcp_acki: Ack
pppInProc: got 43 bytes
pppInput: LCP len=18
fsm_input(LCP):1,2,18
fsm_rconfreq(LCP): Rcvd id 2 state=7
lcp_reqci: rcvd ASYNCMAP=0 PAP (C023) PCOMPRESSION ACCOMPRESSION
lcp_reqci: returning CONFACK.
pppWrite: len=43
PPP nPut: incomplete sio_write(0,, 43) = 0
fsm_sdata(LCP): Sent code 2,2,18.
ppp_send_config: outACCM=0 0 0 0
ppp_recv_config: inACCM=0 0 0 0
link_established: 0
upap_lowerup: 0 s=0
IPCP: lowerup state 0 -> 2
upap_authwithpeer: 0 user=none password=none s=1
pppWrite: len=22
PPP nPut: incomplete sio_write(0,, 22) = 0
pap_sauth: Sent id 1
pppInProc: got 11 bytes
pppInput: PAP len=5
pap_rauthack: Rcvd id 1 s=3
Remote message:
auth_withpeer_success: 0 proto=C023
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 -> 6
pppMainWakeup: unit 0 sio_read len=1504 returned 0
upap_timeout: 0 timeout 6 expired s=4
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout resending Config-Request state=6
pppWrite: len=30
PPP nPut: incomplete sio_write(0,, 30) = 0
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: timeout sending Config-Requests state=6
np_finished: 0 proto=21
link_down: 0
upap_lowerdown: 0 s=4
IPCP: lowerdown state 3 -> 1
IPCP: close reason=LCP down state 1 -> 0
pppMainWakeup: unit 0
ppp_send_config: outACCM=FF FF FF FF
ppp_recv_config: inACCM=0 0 0 0
pppWrite: len=46
PPP nPut: incomplete sio_write(0,, 46) = 0
fsm_sdata(LCP): Sent code 5,2,32.
LCP: close reason=No network protocols running state 9 -> 4
LCP: timeout resending Terminate-Requests state=4
pppWrite: len=44
PPP nPut: incomplete sio_write(0,, 44) = 0
fsm_sdata(LCP): Sent code 5,3,32.
LCP: timeout sending Terminate-Request state=4
link_terminated: 0
Connection terminated.
pppMainWakeup: unit 0


Client在收到ISP的PAP   ACK后,发送一个IP   address   为全0的Request   packet.   
Server端应该会回应一个包含分配的IP地址的NAK packet.Client再重新发送REQ进行连接了,但是Server端什么也没发过来,Client一直请求(Configure-Request),重发.超时,直到LCP 终止请求。

cdx87680384 发表于 2011-7-19 14:48:37

回复【楼主位】vitaminch
-----------------------------------------------------------------------

请问谁解决过了,我也是遇到这个问题,困惑很久啦?????

yosion1986 发表于 2011-8-31 15:59:06

人走过!!!怎么都不留下方式啊!也不说自己怎么道这一步的啊@@@@@qq:451401676
加的告诉我啊!!!
页: [1]
查看完整版本: lwip ppp 拨号 LCP PAP 都已经通过了,停留在IPCP阶段,请高手支招!