Install NetworkManager in Ubuntu

Network connections in Ubuntu are managed through a tool called NetworkManager. Through the console it not only allows you to view the list of networks, but also to activate the connection to certain networks and doing our best to set them up with the help of additional utilities. By default NetworkManager is already present in Ubuntu, but in case of deletion or malfunction may require re-installation. Today we show you how to implement this in two different methods.

Installed NetworkManager in Ubuntu

Installation of NetworkManager, like most other utilities is made through the built-in “Terminal” using the appropriate commands. We want to demonstrate two methods for installing from the official repository, but different teams, as you will only read each of them and choose the most suitable.

Method 1: apt-get

The latest stable version “network Manager” is loaded using the standard command apt-getwhich is used to add packages from the official repositories. You only need to implement the following:

  • Open the console by any convenient method, for example, via the menu by selecting the corresponding icon.
  • Write in the input field, the line sudo apt-get install network-manager and press Enter.
  • Enter the password from your account to the root user to confirm the installation. Enter in the box the characters are not displayed for security purposes.
  • The system will add new packages if necessary. In the case of the presence of the desired component you will be informed accordingly.
  • Will just have to run “network Manager” with the command sudo service NetworkManager start.
  • To check the efficiency of tool use tool Nmcli. View the status via nmcli general status.
  • In the new row, you will see information about the connection or active wireless network.
  • To know the name of your host can be writing nmcli general hostname.
  • Available network connections are determined via nmcli connection show.
  • As for the additional arguments to the command nmcli, their there are several. Each of them performs certain actions:

    • device — interaction with network interfaces.
    • connection — manage connections;
    • general — display information on the network protocols;
    • radio — control Wi-Fi, Ethernet;
    • networking — network setup.

    Now you know how getting back to work is managed through NetworkManager and additional utility. However, some users may need another method of installation, which we describe next.

    Method 2: Store Ubuntu

    Many applications, services and utilities available for download from the official store of Ubuntu. There is also the “Manager of networks”. For the installation there is a separate team.

  • Run “Terminal” and paste in the field the team snap install network-manager, and then click on Enter.
  • A new page appears with a request for authentication of the user. Enter the password and click “Confirm”.
  • Wait for it to complete loading of all components.
  • Check the operation of the tool through the snap interfaces network-manager.
  • If the network still does not work, it will need to raise by typing sudo ifconfig eth0 upwhere eth0 is the necessary network.
  • The rise of the connection happens directly after entering the password root access.
  • The above methods will allow you without any difficulty to add to the operating system the app packages NetworkManager. We offer just two options because one of them could be unhealthy when certain failures in the OS.

    Source: lumpics.ru

    (Visited 91 times, 1 visits today)