[RP-PPPoE] Manually setting a PPPoE interface down/up
Dianne Skoll
dfs at roaringpenguin.com
Fri Feb 2 16:32:00 EST 2018
On Fri, 2 Feb 2018 11:43:40 -0800
Patrick Mahan <mahan at mahan.org> wrote:
> What should be the expected behavior if I set a PPPoE interface (ppp0)
> down with -
> 'ip link set ppp0 down'
> then
> 'ip link set ppp0 up'
> I was expecting to see my pppd if-down and if-up scripts be triggered,
> but this does not seem to be the case.
No, "ip" is very low-level and only adjusts the link itself. You need
to use a distribution-specific command, I think. On Debian, it would
be ifdown ppp0 / ifup ppp0, I believe. Not sure about other Linux
distros.
Regards,
Dianne.
More information about the RP-PPPoE
mailing list