lwip-users
[Top][All Lists]
Advanced

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

[RE:] Re: [lwip-users] How to test IP over PPP ?


From: Kishore
Subject: [RE:] Re: [lwip-users] How to test IP over PPP ?
Date: Tue, 2 Dec 2003 13:44:03 +0100

Hi all,
It seems, i  made some progress!
Im using ARM7TDMI, in little endian mode.No idea how it would work for big 
endian.

I just changed sio_read in sio.c

u32_t sio_read(void * dev, u8_t * buf, u32_t size)
{
        char str1[]="CLIENT";
        char str2[] = "CLIENTSERVER";
        LWIP_DEBUGF( 1,("sio_read:  Read\n") );
        int vLen = gpUart0->read((char *)&buf[0],size);
        if(vLen > 0)
                if (strcmp((char *)buf,(char *)&str1))
                 sio_write(dev,(u8_t *)&str2,12);
   return vLen;
        
}

and now win2k  ppp direct connection could establish a connection,but anyway 
fails while registering the new remote computer (my embedded system) with error 
code 732.

Error 732: The PPP negotiation is not converging.
The negotiation of PPP parameters did not succeed because the local and remote 
computers could not agree on a common set of parameters.

My Opt.h define
/* ---------- PPP options ---------- */

#ifndef PPP_SUPPORT
#define PPP_SUPPORT                     1      /* Set for PPP */
#endif

#if PPP_SUPPORT 
#define NUM_PPP                         1      /* Max PPP sessions. */

#ifndef PAP_SUPPORT
#define PAP_SUPPORT                     0      /* Set for PAP. */
#endif

#ifndef CHAP_SUPPORT
#define CHAP_SUPPORT                    0      /* Set for CHAP. */



Log from my embedded system: 

: timeout resending Config-Request state=33800728
lcp_apppInProc[33800060]: got 0 bytes

droc[33800060]: got 0 bylcp_addci: L opt=33801116 5
lcp_addci: opt=33801236
lcp_addci: opt=33801236
pppWrite[33799040]: len=0
fsm_sdata(fsm_sdata(%s): Sent code %d,%d,%d.
): Sent code 33800728,1,5.
%s: sending Configure-Request, id %d
: sending Configure-Request, id 33800728
pppInProc[33800060]: got 0 bytes

pppInput[33799948]: (null) len=33800728
fsm_input(fsm_input(%s):%d,%d,%d
):33800728,1,5
fsm_rconfreq(fsm_rconfreq(%s): Rcvd id %d state=%d
): Rcvd id 33800728 state=11
lcp_reqci: rcvdlcp_reqci: rcvd%s

lcp_reqci: returning CONFlcp_reqci: returning CONF%s.
.
pppWrite[33799040]: len=0
fsm_sdata(fsm_sdata(%s): Sent code %d,%d,%d.
): Sent code 33800728,2,5.
pppInput[33799948]: (null) len=33800728
fsm_input(fsm_input(%s):%d,%d,%d
):33800728,2,5
fsm_rconfack(fsm_rconfack(%s): Rcvd id %d state=%d
): Rcvd id 33800728 state=5
lcp_acki: Ack
ppp_send_config[33799064]: outACCM=0 0 5 2062468
ppp_recv_config[33799152]: inACCM=0 0 5 2062468



: timeout resending Config-R
                            equest state=33803468
pppWrite[33799040]: len=0
fsm_sdata(fsm_sdata(%s): Sent code %d,%d,%d.
): Sent code 33803468,1,5.
%s: sending Configure-Request, id %d
: sending Configure-Request, id 33803468
pppInProc[33800060]: got 0 bytes

pppInProc[33800060]: got 0 bytes
pppInProc[33800140]: Dropping bad fcs 0x0000 proto=0x6C6F
pppDrop: pbuf len=33800036

pppInput[33799948]: (null) len=33800728
fsm_input(fsm_input(%s):%d,%d,%d
):33800728,1,5
fsm_rconfreq(fsm_rconfreq(%s): Rcvd id %d state=%d
): Rcvd id 33800728 state=0
link_down: 33803000
%s: lowerdown state %d -> %d
: lowerdown state 33803468 -> 6
%s: close reason=%s state %d -> %d
: close reason=IPCP state 33803016 -> 5
pppMainWakeup: unit 33799376
ppp_send_config[33799064]: outACCM=0 FF 5 2062480
ppp_recv_config[33799152]: inACCM=0 0 5 2062480
auth_reset: 33803324
lcp_addci: L opt=33801116 2
lcp_addci: L opt=33801116 5
lcp_addci: opt=33801236
lcp_addci: opt=33801236
pppWrite[33799040]: len=0
fsm_sdata(fsm_sdata(%s): Sent code %d,%d,%d.
): Sent code 33800728,1,5.
%s: sending Configure-Request, id %d
: sending Configure-Request, id 338007pppInProc[33800060]: got 0 bytes

28
lcp_reqci: rcvdlcp_reqci: rcvd%s

lcp_reqci: lcp_reqci: %s

lcp_reqci: returning CONFlcp_reqci: returning CONF%s.
.
pppWrite[33799040]: len=0
fsm_sdata(fsm_sdata(%s): Sent code %d,%d,%d.
): Sent code 33800728,4,5.
pppInput[33799948]: (null) len=33800728
fsm_input(fsm_input(%s):%d,%d,%d
):33800728,2,5
fsm_rconfack(fsm_rconfack(%s): Rcvd id %d state=%d
): Rcvd id 33800728 state=6
lcp_acki: Ack

any help pls! sorry abt the long log .
Thanks for all your responses,

Kishore Kumar Sathyanadam
Software Developement 
TLON GmbH 
The Infranet Company 





reply via email to

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