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:
sudo apt-get install network-managerand press Enter.
sudo service NetworkManager start.
nmcli general status.
nmcli general hostname.
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.
snap install network-manager, and then click on Enter.
snap interfaces network-manager.
sudo ifconfig eth0 upwhere eth0 is the necessary network.
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.