Network-Manager installation

The Network-Manager is installed by default when you install ubuntu. To check whether the Network-Manager is installed on you machine, open the terminal with Ctrl+Alt+T and tap the command below:

nmcli --version

If you got a version, the manager is already installed.If not, tap the command below:

sudo apt-get install network-manager

Usage

Network-Manager has the GUI and command to config. For the nmcli command not introduced in this article, we only use the GUI.
To open the network-manager GUI, click the up/down arrow on the upper right corner.

Ifupdown(enp0s25): up the interface(enp0s25), which defines in /etc/networking/interfaces.
Disconnect: disconnect network you are using.
Enable Networking: allow your machine to connect to internet.
Connection Information: list the info of your network.
Edit Connections...: manage your config.
you probable see another option named Enable Wireless if you machine has a wireless network adapter like laptop.


Config PPPoE

  1. Click Edit Connections... to configure.

  2. Click Add to add a new config.

  3. Select DSL and click Create

  4. Modify the connection name.
    Fill in the username and password.
    Click Save

  5. Back to menu and select the name you just filled in.For me, it's PPPoE.


Verification

  1. Get the IP.

    open the terminal with Ctrl+Alt+T and tap the command below:

    $ ifconfig
    

    you will see a interface named ppp0.

  2. Check ip route

    $ ip route
    default dev ppp0 scope link
    
  3. Resolve domain

    $ nslookup DOMAIN
    
  4. Visit website.

results matching ""

    No results matching ""