This tutorial is going to show you how to set PPPoE connection in Ubuntu 18.04.1 LTS using Terminal.
Using Terminal commands
Open up your terminal and type the following command to set your PPPoE connection.
nmcli con edit type pppoe con-name “YOUR_CONNECTION_NAME”
Now enter your DSL account and password provided by your ISP and save your settings in the following command.
set pppoe.username YOUR_DSL_ACCOUNT_USERNAME
set pppoe.password YOUR_DSL_ACCOUNT_PASSWORD
Then it will prompt asking Saving the connection with ‘autoconnect=yes’. That might result in immediate activation of the connection.
Do you still want to save? (yes/no). Type yes and quit.
Finally, select DSL connection from the network settings menu to establish the connection.