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

David Balažic
2020-04-23T10:37:41Z

Some more info:

- the connect time is random:
# logread | grep "Connect time"
Wed Apr 22 16:42:18 2020 daemon.info pppd[7960]: Connect time 1742.8 minutes.
Wed Apr 22 19:13:03 2020 daemon.info pppd[9563]: Connect time 150.7 minutes.
Thu Apr 23 09:38:31 2020 daemon.info pppd[9884]: Connect time 865.5 minutes.

- the assigned IP address is different on each connection

- logs
On Thu, 23 Apr 2020 at 00:00, James Carlson <carlsonj@workingcode.com> wrote:
>
> On 2020-04-22 13:45, David BalaÅ¾ic wrote:
> > Hi!
> >
> > I have a router running openwrt connected to a GPON ONT, running a
> > PPPoE connection (hw details below).
>
> This looks to be (possibly) a PPPoE failure, though there's nothing
> interesting in the log messages provided. If there were an interesting
> log message, it would almost certainly come somewhere (perhaps even
> *minutes*) before that initial "Modem hangup" message.

Nothing there:

Thu Apr 23 08:59:02 2020 daemon.info hostapd: wlan0: STA
58:XX:XX:XX:XX:b9 IEEE 802.11: deauthenticated due to inactivity
(timer DEAUTH/REMOVE)
Thu Apr 23 09:38:31 2020 daemon.notice pppd[9884]: Modem hangup

I'll try packet capture next.

Regards,
David