How to configure networking in linux for beginners – III


nmtui (Network Manager Text User Interface)


 If you do not like the complicated syntax of the nmcli command line, you might like nmtui . This is a text user interface that allows you to create network connections easily.The tool is contained in the subpackage NetworkManager-tui. At time of writing, it is not installed along with NetworkManager by default. To install NetworkManager-tui, issue the following command as root.

 To start nmtui, issue a command as follows:

The following screen appears
 The nmtui interface consists of three menu options:

1.Edit a Connection: 

Use this option to create new connections or edit existing connections.
2. Activate a Connection:

Use this to (re)activate a connection.

3. Set System Hostname: 

Use this to set the hostname of your computer.
The option to edit a connection offers almost all features that you might ever need to do while working on network connections. It sure allows you to do anything you need to be doing . You can use it to add any type of connection. Not just Ethernet connections, but also advanced connection types such as network bridges and teamed network drivers are supported.

When you select the option Edit Connection, you get access to a rich interface that allows you to edit most properties of network connections. After editing the connection, you need to deactivate it and activate it again. This should work automatically, but the fact is it does not.

If you like graphical user interface (GUI) tools, you are lucky. Use nmconnection-editor instead of nmtui, but be prepared that this interface offers a relatively restricted option set. It does not contain advanced options such as the options to create network team interfaces and manage network bridge interfaces.

It does, however, offer all you need to manage address configuration on a network connection. Start it by using the nm-connection-editor command, or by using the applet in the GNOME graphical interface.

 Read also:

How to configure networking in linux for beginners – I

How to configure networking in linux for beginners – II