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
signature.asc
Description: Digital signature
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
