lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] PPP failure


From: su_list
Subject: [lwip-devel] PPP failure
Date: Mon, 28 Jan 2008 23:10:09 -0800 (PST)


Hi:

PPP in LWIP is failing when I am trying to setup a link with a given ISP.
The point to note is, with some of the phones I can connect successfully but
with some phones its failing regularly. I am using no-authentication in PPP.
I am attaching the LWIP prints for the failure case below. Can someone help
me debugging of why its failing in one phone and passing in the other. If
its needed plz let me know so that I can put the success case as well (dont
want to stretch the mail much longer).

LWIP prints for Failure case:
---------------------------

lcp_acki: Ack
ppp_send_config[0]: outACCM=0 0 0 0
ppp_recv_config[0]: inACCM=0 0 0 0
link_established: 318785047
upap_lowerup: 0 s=0
IPCP: lowerup state 0 -> 2
pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 -> 6
Prof:0xd  Opcode:0x0  Hdl:0x1  Len:10

PSD_HandleDUNPResponse {{{{This mesasge comes from the DUN module and not
direct prints of LWIP}}}}}}
pppInProc[0]: got 10 bytes
pppInput[0]: IPCP len=4
fsm_input(IPCP):1,1,4
Prof:0xd  Opcode:0x0  Hdl:0x1  Len:28

PSD_HandleDUNPResponse
pppInProc[0]: got 28 bytes
fsm_rconfreq(IPCP): Rcvd id 1 state=6
ipcp_reqci: Requesting peer address
ipcp_reqci: returning Configure-NAK
pppWrite[0]: len=18
fsm_sdata(IPCP): Sent code 3,1,10.
pppInput[0]: IPCP len=22
fsm_input(IPCP):3,1,22
fsm_rconfnakrej(IPCP): Rcvd id 1 state=6
local IP address 117.97.27.165
primary DNS address 202.56.250.5
secondary DNS address 202.56.250.6
pppWrite[0]: len=29
fsm_sdata(IPCP): Sent code 1,2,22.
IPCP: sending Configure-Request, id 2
Prof:0xd  Opcode:0x0  Hdl:0x1  Len:10

PSD_HandleDUNPResponse
pppInProc[0]: got 10 bytes
pppInput[0]: IPCP len=4
fsm_input(IPCP):1,2,4
fsm_rconfreq(IPCP): Rcvd id 2 state=6
pppWrite[0]: len=12
fsm_sdata(IPCP): Sent code 2,2,4.
Prof:0xd  Opcode:0x0  Hdl:0x1  Len:28

PSD_HandleDUNPResponse
pppInProc[0]: got 28 bytes
pppInput[0]: IPCP len=22
fsm_input(IPCP):2,2,22
fsm_rconfack(IPCP): Rcvd id 2 state=8
np_up: 318784755 proto=0
np_up: maxconnect=318784775 idle_time_limit=0
ipcp: up
Could not determine remote IP address
ipcp: down
np_down: 318784733 proto=0
sifdown: unit 0: linkStatusCB=30e80 errCode=0
-> Enterring PSD_PPPCallback() function. errCode = -6
Error. PPP Return Code = -6
pppWrite[0]: len=48
fsm_sdata(IPCP): Sent code 5,3,41.
IPCP: close reason=Could not determine remote IP address state 9 -> 4
Prof:0xd  Opcode:0x0  Hdl:0x1  Len:10

PSD_HandleDUNPResponse
pppInProc[0]: got 10 bytes
pppInput[0]: IPCP len=4
fsm_input(IPCP):6,3,4
fsm_rtermack(IPCP): state=4
np_finished: 318784707 proto=0
link_down: 318785198
upap_lowerdown: 0 s=1
IPCP: lowerdown state 2 -> 0
IPCP: close reason=LCP down state 0 -> 0
pppMainWakeup: unit 0
pppMainWakeup: unit 0 sio_read len=1504 returned 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=0 0 0 0
pppWrite[0]: len=45
fsm_sdata(LCP): Sent code 5,2,32.
LCP: close reason=No network protocols running state 9 -> 4
Prof:0xd  Opcode:0x0  Hdl:0x1  Len:12

Thx
Su
-- 
View this message in context: 
http://www.nabble.com/PPP-failure-tp15153680p15153680.html
Sent from the lwip-devel mailing list archive at Nabble.com.





reply via email to

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