2 Ways to Create PPPoE Connection in Ubuntu 16.04

This tutorial is going to show you how to create PPPoE connection in Ubuntu 16.04. There’re 2 methods: using the graphical network manager and using terminal commands.

Using Network Manager to Create PPPoE Connection in Ubuntu 16.04

Insert DSL cable to the network port of your Ubuntu computer. Then click the network manager icon and select Edit Connections in the drop-down menu.

ubuntu 16.04 pppoe

Next, click Add button to add a new connection.

sudo pppoeconf

Select DSL from the connection types.

how to create pppoe connection in ubuntu

Now enter your DSL account and password provided by your ISP and save your settings.

pppoeconf ubuntu

Finally, select DSL connection from the drop-down menu to establish the connection.

ubuntu 16.04 pppoeconf setup

Using Terminal Commands

Open up a terminal window and install the pppoeconf package from repository.

sudo apt install pppoeconf

Then insert DSL cable to the network port of your computer and enter the following command in terminal to set up PPPoE connection.

sudo pppoeconf

When asked if you want the noauth and defaultroute options and to remove nodetach – choose “Yes”.

ubuntu sudo pppoeconf

Then enter your username and password provided by your ISP.

pppoe connection via command line

Next, choose Yes to use peer DNS.

pppoe use peer DNS

Choose Yes in the Limited MSS Problem screen.

pppoe Limited MSS Problem

When asked if you want to connect at start up, you may want to choose Yes. And finally, choose Yes to start the connection now.

dsl pppoe connection

You can enter the ifconfig command in terminal to check connection status.

ifconfig

You will probably see a new interface called ppp0 and the IP address.
linux pppoe setup

To disconnect, run

sudo poff

To reconnect, run

sudo pon dsl-provider

That’s it!

I hope this tutorial helped you create DSL PPPoE connection on Ubuntu 16.04. As always, if you found this post useful, then subscribe to our free newsletter. You can also follow us on Google+Twitter or like our Facebook page.

Rate this tutorial
[Total: 3 Average: 4]