搜索
bottom↓
回复: 2

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

[复制链接]

出0入0汤圆

发表于 2010-4-8 13:30:05 | 显示全部楼层 |阅读模式
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[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 -> 2
auth_reset: 0
lcp_addci: L opt=2 0
lcp_addci: opt=7
lcp_addci: opt=8
pppWrite[0]: 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[0]: got 83 bytes
pppInput[0]: 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[0]: len=23
PPP nPut: incomplete sio_write(0,, 23) = 0
fsm_sdata(LCP): Sent code 3,1,8.
pppInput[0]: LCP len=14
fsm_input(LCP):2,1,14
fsm_rconfack(LCP): Rcvd id 1 state=6
lcp_acki: Ack
pppInProc[0]: got 43 bytes
pppInput[0]: 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[0]: len=43
PPP nPut: incomplete sio_write(0,, 43) = 0
fsm_sdata(LCP): Sent code 2,2,18.
ppp_send_config[0]: outACCM=0 0 0 0
ppp_recv_config[0]: 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[0]: len=22
PPP nPut: incomplete sio_write(0,, 22) = 0
pap_sauth: Sent id 1
pppInProc[0]: got 11 bytes
pppInput[0]: PAP len=5
pap_rauthack: Rcvd id 1 s=3
Remote message:
auth_withpeer_success: 0 proto=C023
pppWrite[0]: 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[0]: 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[0]: 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[0]: 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[0]: 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[0]: 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[0]: 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[0]: 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[0]: 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[0]: 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[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
pppWrite[0]: 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[0]: 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 终止请求。

阿莫论坛20周年了!感谢大家的支持与爱护!!

曾经有一段真挚的爱情摆在我的面前,我没有珍惜,现在想起来,还好我没有珍惜……

出0入0汤圆

发表于 2011-7-19 14:48:37 | 显示全部楼层
回复【楼主位】vitaminch
-----------------------------------------------------------------------

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

出0入0汤圆

发表于 2011-8-31 15:59:06 | 显示全部楼层
人走过!!!怎么都不留下方式啊!也不说自己怎么道这一步的啊@@@@@qq:451401676
加的告诉我啊!!!
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-8-26 14:59

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表