Subject: Re: pppd doesn't handle LCP echo-response; fixed
To: Roland McGrath <roland@frob.com>
From: Michael Graff <explorer@vorpal.com>
List: current-users
Date: 11/01/1994 20:29:38
>pppd does not properly understand LCP echo-response packets.
>This is easily demonstrable if you turn put these lines in /etc/ppp/options:
>
>lcp-echo-interval 5
>lcp-echo-failure 3
>
>In about 15 seconds after establishing the connection, pppd will
>decide it is nonresponsive and kill it.  Turning on the debugging
>traces shows that the bottom i/o layer of pppd reads the echo response
>and it looks fine, but the LCP layer erroneously decides the packet is
>bogus and ignores it.
>
>This patch fixed it for me.  
>Probably it should use 4 instead of sizeof(u_long), in fact.

I think you may have problems elsewhere.  Either that, or I'm really lucky
that my connection is working perfectly in that regard.

Are you certain your link came all the way up?  Have you turned on full
debugging and watched with a magnifying glass?


--Michael

--
Michael Graff <explorer@vorpal.com>       NetBSD is the way to go!
PGP key on a key-server near you!         Rayshade the world!