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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 4 May 2020 at 20:12, Guillaume Nault <gnault@xxxxxxxxxx> 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@xxxxxxxxxx> 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,
> >
> > "ifdown wan" triggers a PADT response from the server, and then this
> > code prints:
> >
> >  dev eth1.3902, flags: 0x1003, promiscuity 0
> >
> I'm not sure what "ifdown wan" is supposed to do. Assuming "wan" is the
> name of your ppp interface (wasn't it "pppoe-wan" in your previous
> logs?) and that ifdown works like on Debian, then it makes sense that
> the peer disconnects the PPPoE session by sending a PADT. At least now
> the device isn't in promisc mode.

Yes, "wan" is the interface alias. ifdown "closes" it... sends a PADT
to the server, server replies with PADT...

> > 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.
>
> Also, what's the driver of your NIC (ethtool -i eth1)?

# ethtool  -i eth1
driver: ag71xx

Regards,
David




[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux