[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] PPPoS: Question regarding reconnect after connection lo
Re: [lwip-users] PPPoS: Question regarding reconnect after connection lost
Thu, 6 Apr 2017 14:15:36 +0200
On Thu, Apr 06, 2017 at 05:08:12PM +0800, Axel Lin wrote:
> Hi list,
> My device sometimes got status_cb: err_code=PPPERR_CONNECT (Connection lost).
> To reconnect, I call ppp_connect(pcb, 30); if got PPPERR_CONNECT but
> it seems never success.
> Initially, I can connect to internet after boot.
> I usually got below phases:
> When I got PPPERR_CONNECT and calling ppp_connect(pcb, 30);
> I always got
> It seems the PPP_PHASE_AUTHENTICATE is missed but I'm not sure if I
> miss anything.
> I'm mainly reference the doc/ppp.txt.
> Should I also add ppp_set_auth() before calling ppp_connect() when got
Looks like you failed to restart your chatscript between connections.
Description: Digital signature