Setting PPPoE on ubuntu 18.04

setting pppoe on ubuntu 18.04

1. install pppoeconf

sudo apt-get install pppoeconf

2. config pppoe

sudo pppoeconf

in fact, it just following the prompt to config your pppoe configuration, and put the current settings in your pppoeconf:

after the settings is completed, all of configuration should be stored in files:

3. enable/disable pppoe by manual

it has commands can enable/disable pppoe connection:

pon /etc/ppp/peers/dsl-provider
poff -a

after the pppoe connection is established, it will use the interface “ppp0”