On 2020-06-06, Todd C  Miller <mill...@openbsd.org> wrote:
> On Sat, 06 Jun 2020 19:14:28 +0200, Jan Stary wrote:
>
>> Is the aim to let the ISP know that the iface is down,
>> so that it gets set up afresh on boot, as opposed to
>> waiting for some PPP keep-alive timeout?
>
> Basically.  It is to work around an issue where the pppoe ethernet
> interface goes down during reboot before the pppoe disconnect message
> can be sent to the ISP.
>
> I'm not sure it is needed anymore, though I still have it in my own
> rc.shutdown file.

I still have it in mine, not sure if it's needed or not either.
I definitely needed it with a previous ISP who didn't seem to do
LCP keepalives and hanged onto the session for ages (the alternative
for that one was PPPOE_TERM_UNKNOWN_SESSIONS but the kernel-wrangling
became annoying).

Whether it will help or not depends on the reason for the delay.
If it's just poor/slow ISP infrastructure there might be nothing much
you can do other than wait for the interface to come up.


Reply via email to