Ubuntu

Connection setup
using the example of version 18.04.
  1. Open the Terminal and type the command sudo pppoeconf, upon request, enter the password for the account in the system.
  2. The connection setup program appears and displays the detected network devices. In most cases, you just need to click "Yes". The next step is to search for a PPPoE authorization server. If at this stage the pppoeconf utility gives a negative answer, you need to check if the cable is connected to the network card.
  3. Next comes a request to use the options: noauth (do not require authentication from the PPPoE server), defaultroute (automatically adds a default route) and remove the nodetach option. We choose Yes.
  4. Enter the username (login) to access the network.
  5. Enter your password.
  6. We also answer in the affirmative to all the following requests.
  7. After setting up the connection, check the connection status with the plog command.
Connection start

If the cable is permanently connected to the computer, then when the operating system boots, the connection will be established automatically.

You can manually establish a connection with the command:

sudo pon dsl-provider

You can manually disconnect the connection with the command:

sudo poff dsl-provider

Alternatively, by running sudo pppoeconf, the configuration program will check the interfaces and offer to connect the already configured connection.