Re: PPPoE Modem hangup after random time - how to debug?

James Carlson
2020-04-23T02:01:38Z

On 4/22/20 8:41 PM, Michael Richardson wrote:
>
> James Carlson <carlsonj@workingcode.com> wrote:
> > If it isn't, then possibly it's something else. I think that the last
> > time I looked at the PPPoE implementation on Linux it was a bit hokey --
> > it ran PPP over a pty pair and then decoded the framing in user space
> > and wrote it back out over Ethernet using PPPoE. I hope it's not still
> > like that, as I haven't looked at it in years, but it may well be. An
> > internal error in that logic could also cause a "hangup" message,
> > although hopefully along with some kind of system log about a core file
> > as well.
>
> No, that's not how PPPoE has worked for at least 15 years.
> There is a PPPoE socket and the IP packets do not leave the kernel.
> I have built BMS systems that handle thousands of sessions on 8-core
> systems.

OK; thanks for the correction, and it's good to hear. The ahdlc hacks
I've seen were just inherently unstable.

That makes it ever more likely that this is just the provider's doing.

--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>