[Top][All Lists]

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

Re: [lwip-users] Regarding ppp issue

From: shivaraj Dandagihalli
Subject: Re: [lwip-users] Regarding ppp issue
Date: Mon, 21 Jan 2019 19:08:07 +0530

      I configure the raw mode in my code,but still i'm not able to write the proper data please find the following attached document and give me proper solution.


On Sat, Jan 19, 2019 at 8:55 PM Sylvain Rochet <address@hidden> wrote:
Hi Shivaraj,

On Sat, Jan 19, 2019 at 12:32:16PM +0530, shivaraj Dandagihalli wrote:
> Hi,
>     I'm using the linux-lwip here i'm not able to receive the ppp packets,
> whatever we are sending we receive the same data packets.please find the
> following attached log and send me some proper solution.

The reason could not be written more clearly in the debug log: "Serial
line is looped back.". Please configure your TTY in RAW mode.

This is obvious once you remove all the useless garbage from the log:

$ egrep '^(sent|rcvd)' 3G_ppp_log.txt
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa697346c> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa697346c> <pcomp> <accomp>]
sent [LCP ConfNak id=0x1 <magic 0x2b572cc0>]
rcvd [LCP ConfNak id=0x1 <magic 0x2b572cc0>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x1f3d4b7f> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x1f3d4b7f> <pcomp> <accomp>]
sent [LCP ConfNak id=0x2 <magic 0x18addfe7>]
rcvd [LCP ConfNak id=0x2 <magic 0x18addfe7>]
sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x8a70613> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x8a70613> <pcomp> <accomp>]
sent [LCP ConfNak id=0x3 <magic 0xbc09c631>]
rcvd [LCP ConfNak id=0x3 <magic 0xbc09c631>]
sent [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x3f2d2486> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x3f2d2486> <pcomp> <accomp>]
sent [LCP ConfNak id=0x4 <magic 0x63434104>]
rcvd [LCP ConfNak id=0x4 <magic 0x63434104>]
sent [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x7c6b5dd7> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x7c6b5dd7> <pcomp> <accomp>]
sent [LCP ConfNak id=0x5 <magic 0x49f5853e>]
rcvd [LCP ConfNak id=0x5 <magic 0x49f5853e>]
sent [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0xf4c591f7> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0xf4c591f7> <pcomp> <accomp>]
sent [LCP ConfNak id=0x6 <magic 0xe066343f>]
rcvd [LCP ConfNak id=0x6 <magic 0xe066343f>]
sent [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x9434156d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x9434156d> <pcomp> <accomp>]
sent [LCP ConfNak id=0x7 <magic 0xa881b27e>]
rcvd [LCP ConfNak id=0x7 <magic 0xa881b27e>]
sent [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0xe061b65e> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0xe061b65e> <pcomp> <accomp>]
sent [LCP ConfNak id=0x8 <magic 0xdcfd53dc>]
rcvd [LCP ConfNak id=0x8 <magic 0xdcfd53dc>]
sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x3ee790d0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x3ee790d0> <pcomp> <accomp>]
sent [LCP ConfNak id=0x9 <magic 0xaa15cb88>]
rcvd [LCP ConfNak id=0x9 <magic 0xaa15cb88>]
sent [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x4cc840e> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x4cc840e> <pcomp> <accomp>]
sent [LCP ConfNak id=0xa <magic 0xab028367>]
rcvd [LCP ConfNak id=0xa <magic 0xab028367>]
sent [LCP TermReq id=0xb "Loopback detected"]
rcvd [LCP TermReq id=0xb "Loopback detected"]
sent [LCP TermAck id=0xb]
rcvd [LCP TermAck id=0xb]

lwip-users mailing list

Attachment: ppp_code.txt
Description: Text document

reply via email to

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