[RP-PPPoE] Manually setting a PPPoE interface down/up

Patrick Mahan mahan at mahan.org
Fri Feb 2 17:33:23 EST 2018


On 2/2/18 1:32 PM, Dianne Skoll wrote:
> 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.
> 

Thank you, I thought it might be a distro specific solution.  But basically,
the need is to force the PPPoE interface to close, then restart.

Googling did not seem to show a good answer.

Thanks,

Patrick

> Regards,
> 
> Dianne.
> _______________________________________________
> RP-PPPoE mailing list
> RP-PPPoE at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
> 



More information about the RP-PPPoE mailing list