[RP-PPPoE] Which timeout affects PADO packets?

Dan Jacobson jidanni at jidanni.org
Wed Apr 17 13:31:03 EDT 2019


Noting the problem happens only on the first connection of the day
(boot), I added a sleep(1) of several seconds

01:15:28 kernel: r8169 0000:07:00.0: firmware: direct-loading firmware rtl_nic/rtl8168h-2.fw
01:15:28 kernel: Generic PHY r8169-700:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-700:00, irq=IGNORE)
01:15:28 kernel: r8169 0000:07:00.0 enp7s0: Link is Down
01:15:28 kernel: IPv6: ADDRCONF(NETDEV_UP): enp7s0: link is not ready
01:15:30 kernel: r8169 0000:07:00.0 enp7s0: Link is Up - 100Mbps/Full - flow control rx/tx
01:15:30 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp7s0: link becomes ready
    -- here --
01:15:48 pppd[1344]: Plugin rp-pppoe.so loaded.
01:15:48 kernel: PPP generic driver version 2.4.2
01:15:48 pppd[1349]: pppd 2.4.7 started by jidanni, uid 0
01:15:48 kernel: NET: Registered protocol family 24
01:15:48 pppd[1349]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4
01:15:48 pppd[1349]:  dst ff:ff:ff:ff:ff:ff  src 04:92:26:d7:a6:da
01:15:48 pppd[1349]:  [service-name]
01:15:53 pppd[1349]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4
01:15:53 pppd[1349]:  dst ff:ff:ff:ff:ff:ff  src 04:92:26:d7:a6:da
01:15:53 pppd[1349]:  [service-name]
01:15:53 pppd[1349]: Recv PPPOE Discovery V1T1 PADO session 0x0 length 22

I.e., between
      ifconfig enp7s0 ... up
and
      pppd ... pty "pppoe -I ...

And now all works!

(P.S., still not sure why pty "pppoe -t 60 ..." didn't apparently change
anything.)


More information about the RP-PPPoE mailing list