Looking at pppinfo.cgi
and doing a cat /usr/www/lib/settings.inc
, it seems that the router itself issues a killall pppd
to restart the ppp daemon thus enabling it.
Also by issuing a link down command on interface ppp0, I was able to disconnect it from my ISP. You just need to send below commands using a Telnet client with whatever scripting language you are using.
In order to modify the PPPoE service via command-line, I'd say:
- To Disable:
ip link set ppp0 down
- To Enable:
sudo killall pppd
Tested on a UBNT airMAX PowerBeam M5 via both SSH and Telnet.
I hope this helps future visitors.