How do I set up a PPPoE connection?

I have a new broadband connection and i want to connect it using ubuntu. I have a user name and a password, nothing more.

I want to know how to connect to such network, how to create the connection?


Solution 1:

You have two options for PPPoE as I understand from your question.

Option 1

DSL provided by Network Manager. Just go to Edit Connections… in the Network Settings and you will see DSL on the last tab and Add the connection.

Network Connections overview DSL connection configuration

Option 2

In your terminal type sudo pppoeconf and follow the instruction and setup the connection. You can control the connection with sudo pon and sudo poff.

Solution 2:

I solved this problem by setting up a DSL Connection.

  1. Make sure your wired network, is set to automatic DHCP.
  2. Create a DSL Connection.. and provide your username & password. (For me, I didn't had to change any of my PPPOE Settings)
  3. Save the Connection
  4. Connect using the DSL connection you just created

Solution 3:

If someone looking for the PPPOe setup for Ubuntu 20.04LTS , h may not find that option in Setting>Network as i have given a picture of my Ubuntu 20.04!

There is no option for DSL/PPPOe and i don't know why!

enter image description here

You can create using these commands :

nmcli con edit type pppoe con-name "interface_name"

set pppoe.username isp_provided_username

set pppoe.password isp_provided_password

save