cdx87680384 发表于 2011-7-19 15:30:45

lwip -> LWIP PPP IPCP 进来看看

<00000-00:00:10:700>ppp_send_config: outACCM=0 0 8000B4D0 0


<00000-00:00:10:700>ppp_recv_config: inACCM=0 40000A18 8000B5CC 0


<00000-00:00:10:750>link_established: 0


<00000-00:00:10:750>upap_lowerup: 0 s=0


<00000-00:00:10:750>IPCP: lowerup state 0 -> 1073744260


<00000-00:00:10:750>upap_authwithpeer: 0 user=gprs password= s=-2147442528


<00000-00:00:10:750>pppWrite: len=22


<00000-00:00:10:800> Send some data to Modem:

<00000-00:00:10:800>pap_sauth: Sent id 1


<00000-00:00:10:800>Do not find timer, unexpect error!

<00000-00:00:10:800>pppInProc: got 1 bytes


<00000-00:00:10:850>pppInProc: got 38 bytes


<00000-00:00:10:850>pppInput: PAP len=1073751388


<00000-00:00:10:850>pap_rauthack: Rcvd id 1 s=3


<00000-00:00:10:850>Remote message: Welcome!


<00000-00:00:10:900>auth_withpeer_success: 0 proto=C023


<00000-00:00:10:900>ipcp_open()

<00000-00:00:10:900>pppWrite: len=30


<00000-00:00:10:900> Send some data to Modem:

<00000-00:00:10:950>fsm_sdata(IPCP): Sent code 1,22,-2147472604.


<00000-00:00:10:950>Do not find timer, unexpect error!

<00000-00:00:10:950>IPCP: sending Configure-Request, id 1


<00000-00:00:10:950>IPCP: open state 2 -> 1073744260


<00000-00:00:11:000>pppInput: IPCP len=1073751388


<00000-00:00:11:000>fsm_input(IPCP):1,1073744260,-2147467772


<00000-00:00:11:000>fsm_rconfreq(IPCP): Rcvd id 1 state=1073744260


<00000-00:00:11:000>ipcp_reqci: ADDR 192.168.202.0


<00000-00:00:11:050>ipcp_reqci: returning Configure-ACK


<00000-00:00:11:050>pppWrite: len=18


<00000-00:00:11:050> Send some data to Modem:

<00000-00:00:11:050>fsm_sdata(IPCP): Sent code 2,10,-2147472604.


<00000-00:00:11:100>pppInProc: got 14 bytes


<00000-00:00:16:950> fsm_timeout()

<00000-00:00:16:950>IPCP: timeout resending Config-Request state=8


<00000-00:00:16:950>pppWrite: len=30


<00000-00:00:16:950> Send some data to Modem:

<00000-00:00:16:950>fsm_sdata(IPCP): Sent code 1,22,-2147472604.


<00000-00:00:17:000>IPCP: sending Configure-Request, id 1


<00000-00:00:23:000> fsm_timeout()

<00000-00:00:23:000>IPCP: timeout resending Config-Request state=8


<00000-00:00:23:000>pppWrite: len=30


<00000-00:00:23:000> Send some data to Modem:

<00000-00:00:23:000>fsm_sdata(IPCP): Sent code 1,22,-2147472604.


<00000-00:00:23:050>IPCP: sending Configure-Request, id 1


<00000-00:00:29:050> fsm_timeout()

<00000-00:00:29:050>IPCP: timeout resending Config-Request state=8


<00000-00:00:29:050>pppWrite: len=30


<00000-00:00:29:050> Send some data to Modem:

<00000-00:00:29:050>fsm_sdata(IPCP): Sent code 1,22,-2147472604.


<00000-00:00:29:100>IPCP: sending Configure-Request, id 1


<00000-00:00:35:100> fsm_timeout()

<00000-00:00:35:100>IPCP: timeout resending Config-Request state=8


<00000-00:00:35:100>pppWrite: len=30


<00000-00:00:35:100> Send some data to Modem:

<00000-00:00:35:100>fsm_sdata(IPCP): Sent code 1,22,-2147472604.


<00000-00:00:35:150>IPCP: sending Configure-Request, id 1


<00000-00:00:41:150> fsm_timeout()


后面查到到PAP认证通过后,服务器发送 7E FF 03 80 21 01 01 00 0A 03 06 C0 A8 CA 00 05 ED 7E 接着GPRS模块又发送no carrier???,为什么模块会发送nocarrier,导致后面IPCP交互过程失败,请问大侠帮忙指导下,谢谢!

yosion1986 发表于 2011-8-31 15:57:24

你好啊!!!我也在做lwip 的PPP的移植啊!!!!请问你怎么移植的啊!修改那些文件啊
页: [1]
查看完整版本: lwip -&gt; LWIP PPP IPCP 进来看看