lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Question about pppos sometimes fail to reach internet


From: Sylvain Rochet
Subject: Re: [lwip-users] Question about pppos sometimes fail to reach internet
Date: Sun, 19 Feb 2017 17:34:35 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Axel,

On Mon, Feb 20, 2017 at 12:24:29AM +0800, Axel Lin wrote:
> Hi,
> I got below log after ppp_connect() success:

(...)

> [00:14:29:361] status_cb: Connected␍␊
> [00:14:29:361]    our_ipaddr  = 10.0.2.66␍␊
> [00:14:29:361]    his_ipaddr  = 10.0.2.55␍␊
> [00:14:29:361]    netmask     = 255.255.255.255␍␊
> [00:14:29:361]    dns1        = 10.0.2.55␍␊
> [00:14:29:375]    dns2        = 10.0.2.55␍␊
> [00:14:29:375] local  IP address 10.0.2.66␍␊
> [00:14:29:375] remote IP address 10.0.2.55␍␊
> [00:14:29:375] primary   DNS address 10.0.2.55␍␊
> [00:14:29:375] secondary DNS address 10.0.2.55␍␊
> [00:14:29:388] ppp phase changed[0]: phase=10␍␊
> [00:14:29:398] Network ready IP: 10.0.2.66␍␊
> [00:14:29:426] // connect fails
> [00:14:29:449] pppos_netif_output[0]: proto=0x21, len = 65␍␊
> [00:14:35:552] // connect fails, retry
> [00:14:35:592] pppos_netif_output[0]: proto=0x21, len = 65␍␊
> [00:14:41:673] // connect fails, retry
> [00:14:41:717] pppos_netif_output[0]: proto=0x21, len = 65␍␊
> ....
> 
> Sometimes the device ping 8.8.8.8 always fails.i.e. it can not reach internet.
> But it's fine to ping 10.0.2.66 or 10.0.2.55.
> Above log seems does not show any error.
> Which part could be wrong or which part should I check about such issue?

It looks like your modem is not forwarding packets. Which one it is so 
we can prevent using it in our designs ? ;-)

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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