lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] PPP negotiate resend


From: yueyue papa
Subject: [lwip-users] PPP negotiate resend
Date: Wed, 1 Sep 2010 21:38:40 +0800

Hi All,
 
I notice my PPP negotiate time is variable, the quickest time could be within 3s, the slow time could be long than 30s.  I enable the PPP log
 
thee are lots of
 
IPCP: open state 2 (LS_CLOSED) -> 6 (LS_REQSENT)
 
Is there any mis configuration in my project?   The result is the same both 1.3.2 and 1.4.0rc1.  
 
The PPP is working on the 3G USB dongle.
 
#################################
ChapReceiveChallenge: Rcvd id 1.
ChapReceiveChallenge: received name field 'UMTS_CHAP_SRVR'
pppWrite[0]: len=44
pppInProc[0]: got 10 bytes
pppInput[0]: CHAP len=4
ChapReceiveSuccess: Rcvd id 1.                     <==============CHAP is finished with 1~2s.
auth_withpeer_success: 0 proto=C223
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 (LS_CLOSED) -> 6 (LS_REQSENT)
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,1,28
fsm_rconfnakrej(IPCP): Rcvd id 1 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,2,22.
IPCP: sending Configure-Request, id 2
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,2,28
fsm_rconfnakrej(IPCP): Rcvd id 2 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,3,22.
IPCP: sending Configure-Request, id 3
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,3,28
fsm_rconfnakrej(IPCP): Rcvd id 3 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,4,22.
IPCP: sending Configure-Request, id 4
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,4,28
fsm_rconfnakrej(IPCP): Rcvd id 4 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,5,22.
IPCP: sending Configure-Request, id 5
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,5,28
fsm_rconfnakrej(IPCP): Rcvd id 5 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,6,22.
IPCP: sending Configure-Request, id 6
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,6,28
fsm_rconfnakrej(IPCP): Rcvd id 6 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,7,22.
IPCP: sending Configure-Request, id 7
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,7,28
fsm_rconfnakrej(IPCP): Rcvd id 7 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,8,22.
IPCP: sending Configure-Request, id 8
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,8,28
fsm_rconfnakrej(IPCP): Rcvd id 8 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,9,22.
IPCP: sending Configure-Request, id 9
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,9,28
fsm_rconfnakrej(IPCP): Rcvd id 9 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,10,22.
IPCP: sending Configure-Request, id 10
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,10,28
fsm_rconfnakrej(IPCP): Rcvd id 10 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,11,22.
IPCP: sending Configure-Request, id 11
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,11,28
fsm_rconfnakrej(IPCP): Rcvd id 11 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,12,22.
IPCP: sending Configure-Request, id 12
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,12,28
fsm_rconfnakrej(IPCP): Rcvd id 12 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,13,22.
IPCP: sending Configure-Request, id 13
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,13,28
fsm_rconfnakrej(IPCP): Rcvd id 13 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,14,22.
IPCP: sending Configure-Request, id 14
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,14,28
fsm_rconfnakrej(IPCP): Rcvd id 14 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,15,22.
IPCP: sending Configure-Request, id 15
pppInProc[0]: got 34 bytes
pppInput[0]: IPCP len=28
fsm_input(IPCP):3,15,28
fsm_rconfnakrej(IPCP): Rcvd id 15 state=6 (LS_REQSENT)
primary DNS address 10.11.12.13
secondary DNS address 10.11.12.14
pppWrite[0]: len=30
fsm_sdata(IPCP): Sent code 1,16,22.
IPCP: sending Configure-Request, id 16
pppInProc[0]: got 38 bytes
pppInput[0]: IPCP len=4
fsm_input(IPCP):1,0,4
fsm_rconfreq(IPCP): Rcvd id 0 state=6 (LS_REQSENT)
ipcp_reqci: Requesting peer address
ipcp_reqci: returning Configure-NAK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 3,0,10.
pppInput[0]: IPCP len=22
fsm_input(IPCP):3,16,22
fsm_rconfnakrej(IPCP): Rcvd id 16 state=6 (LS_REQSENT)
local IP address 172.17.5.162
primary DNS address 58.242.2.2
secondary DNS address 218.104.78.2
pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,17,22.
IPCP: sending Configure-Request, id 17
pppInProc[0]: got 38 bytes
pppInput[0]: IPCP len=4
fsm_input(IPCP):1,1,4
fsm_rconfreq(IPCP): Rcvd id 1 state=6 (LS_REQSENT)
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=12
fsm_sdata(IPCP): Sent code 2,1,4.
pppInput[0]: IPCP len=22
fsm_input(IPCP):2,17,22
fsm_rconfack(IPCP): Rcvd id 17 state=8 (LS_ACKSENT)
np_up: 0 proto=21
np_up: maxconnect=0 idle_time_limit=0
ipcp: up
use default remote IP address
sifup: unit 0: linkStatusCB=2004bc98 errCode=0
local  IP address 172.17.5.162
remote IP address 10.0.0.1
primary   DNS address 58.242.2.2
secondary DNS address 218.104.78.2
##########################################
 
thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]