lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Ping is not working in LWIP pppos


From: Sylvain Rochet
Subject: Re: [lwip-users] Ping is not working in LWIP pppos
Date: Fri, 5 Apr 2019 16:57:28 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Rahul,

On Fri, Apr 05, 2019 at 10:27:41AM +0000, rahul.mane . wrote:
> Hello ,
> 
> I want to use LWIP stack (2.0.2) with pppos.I have NXP MC5748 board wi 
> SIM800c interface with one UART channel.I have use following AT 
> commands to configure GSM module:
> 
> I am successfully getting following data from GSM module.
> status_cb: Connected   our_ipaddr  = 100.95.137.40   his_ipaddr  = 
> 192.168.254.254   netmask     = 255.255.255.255   dns1        = 59.144.144.46 
>   dns2        = 59.144.127.117   Next step, I am trying to ping 8.8.8.8 
> But I am getting Timeout error
> lwip_socket(PF_INET, SOCK_RAW, 1) = 1lwip_sendto(1, data=0x40040728, 
> short_size=40, flags=0x0 to=8.8.8.8 port=42405ping: send 8.8.8.81. 
> lwip_recvfrom(1, 0x40008cb8, 64, 0x0, ..)2. lwip_recvfrom: top while 
> sock->lastdata=0x04. lwip_recvfrom: netconn_recv err=-3, 
> netbuf=0x05.lwip_recvfrom(1): buf == NULL, error is "Timeout."!
> Is there any step i am missing to configure ?
> For more information I have attached log file

I guess it is because checksums are disabled. Could you try enabling 
CHECKSUM_GEN_* and CHECKSUM_CHECK_* options ?

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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