Hello,

I am using the ppp stack, using a modem to keep a device online and it is
sending ping requests every 30 seconds. The problem is that roughly every 2
hours, I end up with error, PPPERR_CONNECT. The phase change generally is
as follows,

PHASE_NETWORK
PHASE_ESTABLISH
PHASE_DISCONNECT
PHASE_DEAD

The PHASE_NETWORK and ESTABLISH happens simultaneously. PHASE_DISCONNECT
happens about 5 seconds later and the phase goes to DEAD immediately as
well. After PHASE_DEAD, I get the error, PPPERR_CONNECT. I believe that the
issue is related to the IP lease time. Because the time is more or less
consistent and I am seeing the same pattern with 2 different prototypes
that are on test. And every time I reconnect I get a new IP. So my question
is, is there any way for me to request a renew of the old connection, like
something that can be done with DHCP. Or what I can I do to keep the device
connected?


-- 
With Regards,
Nishant Agrawal
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to