linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PPPoE Modem hangup after random time - how to debug?
@ 2020-04-22 17:45 David Balažic
  2020-04-22 19:51 ` Michael Richardson
                   ` (42 more replies)
  0 siblings, 43 replies; 44+ messages in thread
From: David Balažic @ 2020-04-22 17:45 UTC (permalink / raw)
  To: linux-ppp

Hi!

I have a router running openwrt connected to a GPON ONT, running a
PPPoE connection (hw details below).

The problem is, that after some random time one to 20 hours, the
connection breaks. Then in about a minute it reconnects (successfully,
each time).
This happens almost every day.

I enabled the debug option, but there is nothing useful in the logs:

** there is nothing related before this line **
Tue Apr 21 10:04:32 2020 daemon.notice pppd[6515]: Modem hangup
Tue Apr 21 10:04:32 2020 daemon.info pppd[6515]: Connect time 1094.4 minutes.
Tue Apr 21 10:04:32 2020 daemon.info pppd[6515]: Sent 612360704 bytes,
received 3423392867 bytes.
Tue Apr 21 10:04:32 2020 daemon.notice netifd: Network device
'pppoe-wan' link is down
Tue Apr 21 10:04:32 2020 daemon.debug pppd[6515]: Script
/lib/netifd/ppp-down started (pid 7655)
Tue Apr 21 10:04:32 2020 daemon.notice pppd[6515]: Connection terminated.
Tue Apr 21 10:04:32 2020 daemon.debug pppd[6515]: Send PPPOE Discovery
V1T1 PADT session 0x1 length 28
Tue Apr 21 10:04:32 2020 daemon.debug pppd[6515]:  dst
a4:xx:xx:xx:xx:44  src c4:xx:xx:xx:xx:ed
Tue Apr 21 10:04:32 2020 daemon.debug pppd[6515]:  [host-uniq  00 00
19 73] [AC-cookie  ed 89 xx xx xx xx xx xx xx xx xx xx xx xx xx 75]
Tue Apr 21 10:04:32 2020 daemon.info pppd[6515]: Sent PADT
Tue Apr 21 10:04:32 2020 daemon.debug pppd[6515]: Waiting for 1 child
processes...
Tue Apr 21 10:04:32 2020 daemon.debug pppd[6515]:   script
/lib/netifd/ppp-down, pid 7655
Tue Apr 21 10:04:32 2020 daemon.debug pppd[6515]: Script
/lib/netifd/ppp-down finished (pid 7655), status = 0x1
Tue Apr 21 10:04:32 2020 daemon.info pppd[6515]: Exit.


The command line is:

 /usr/sbin/pppd nodetach ipparam wan ifname pppoe-wan
lcp-echo-interval 1 lcp-echo-failure 5 lcp-echo-adaptive +ipv6 set
AUTOIPV6=1 nodefaultroute usepeerdns maxfail 1 user XXXXXX password
YYYYYY ip-up-script /lib/netifd/ppp-up ipv6-up-script
/lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down
ipv6-down-script /lib/netifd/ppp-down mtu 1492 mru 1492 plugin
rp-pppoe.so nic-eth1.3902

(the PPPoE goes over VLAN 3902, pppd version is  2.4.7)

I wrote about this on the openwrt forum [1], not much progress unfortunately.

Any ides? How to proceed? Sniff packets?

What does normally prompt pppd to to print "Modem hangup" ?

Thanks in advance,
David

[1] https://forum.openwrt.org/t/pppoe-disconnects-every-few-hours/61239

Setup details:

ONT: Innbox G21 (provided by ISP)
router: Netgear WNDR 3700v2 running OpenWRT 19.7.2
ISP provided router (not in use): Ubee TVW625  - I did not see such
disconnections when using this router (I ran a script calling ping in
a loop, for days, logging output, not problem except a lost (single)
packet every now and then)

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2020-05-06 20:20 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 17:45 PPPoE Modem hangup after random time - how to debug? David Balažic
2020-04-22 19:51 ` Michael Richardson
2020-04-22 22:00 ` James Carlson
2020-04-23  0:08 ` Guillaume Nault
2020-04-23  0:41 ` Michael Richardson
2020-04-23  2:01 ` James Carlson
2020-04-23 10:37 ` David Balažic
2020-04-23 11:12 ` David Balažic
2020-04-23 12:13 ` David Balažic
2020-04-23 15:59 ` Michael Richardson
2020-04-23 16:01 ` Michael Richardson
2020-04-24 13:47 ` David Balažic
2020-04-24 14:02 ` David Balažic
2020-04-24 14:26 ` James Carlson
2020-04-24 15:44 ` Guillaume Nault
2020-04-24 15:54 ` Guillaume Nault
2020-04-26  1:38 ` Michael Richardson
2020-04-26 12:44 ` David Balažic
2020-04-26 12:48 ` David Balažic
2020-04-26 19:03 ` David Balažic
2020-04-27  2:14 ` Michael Richardson
2020-04-27  9:59 ` David Balažic
2020-04-27 13:43 ` James Carlson
2020-04-27 20:08 ` Guillaume Nault
2020-04-27 20:30 ` Guillaume Nault
2020-04-27 23:34 ` David Balažic
2020-04-28 10:18 ` David Balažic
2020-04-28 11:00 ` Guillaume Nault
2020-04-29 11:58 ` David Balažic
2020-05-03 10:31 ` David Balažic
2020-05-04 12:27 ` Guillaume Nault
2020-05-04 13:01 ` Guillaume Nault
2020-05-04 15:54 ` David Balažic
2020-05-04 16:36 ` David Balažic
2020-05-04 18:11 ` Guillaume Nault
2020-05-04 18:43 ` David Balažic
2020-05-06  9:52 ` David Balažic
2020-05-06 10:34 ` David Balažic
2020-05-06 14:26 ` Guillaume Nault
2020-05-06 15:02 ` Guillaume Nault
2020-05-06 15:15 ` James Carlson
2020-05-06 15:39 ` David Balažic
2020-05-06 15:54 ` David Balažic
2020-05-06 20:20 ` Guillaume Nault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).