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

David Balažic
2020-05-06T09:52:48Z

On Mon, 4 May 2020 at 20:12, Guillaume Nault <gnault@redhat.com> wrote:
>
> On Mon, May 04, 2020 at 06:36:48PM +0200, David BalaÅ¾ic wrote:
> > On Mon, 4 May 2020 at 15:01, Guillaume Nault <gnault@redhat.com> wrote:
> > > You can use "%pM" for printing MAC addresses. Also, it'd be interesting
> > > to have information about promisc mode:
> > > "dev %s, flags: %#x, promiscuity %u",
> > > dev->name, dev->flags, dev->promiscuity,
> >
>
> > I'll report later values printed when a stray PADT appears.
> >
> Okay, but please keep printing the destination MAC address of the
> packet. I was providing the flags/promiscuity string just to get extra
> information, not to replace your original log.

This was logged now:

(all at May 6 05:34:50 2020 UTC)
pppoe_disc_rcv PADT received, sid=1, SRC: a4:7b:2c:9e:c7:44, DST:
44:4e:6d:fd:c7:39
pppoe_disc_rcv PADT received, own hw addr: c4:XX:XX:XX:XX:ed
dev eth1.3902, flags: 0x1003, promiscuity 0
pppoe_disc_rcv PADT received, not four our address, ignoring

(the last line is from my fix, the connection is now not dropped when
the PADT is not for us; works fine, my connection stays up and
working)

I'll clean up and post the patch later.

Regards,
David