3.2. Configuring IP Networking with nmtui
Prerequisites
- The nmtui tool is used in a terminal window. It is contained in the NetworkManager-tui package, but it is not installed along with NetworkManager by default. To install NetworkManager-tui:
~]#
yum install NetworkManager-tui
- To verify that NetworkManager is running, see Section 2.3, “Checking the Status of NetworkManager”.
Procedure
- Start the nmtui tool:
~]$
The text user interface appears.nmtui
Figure 3.1. The NetworkManager Text User Interface starting menu
- To navigate, use the arrow keys or press Tab to step forwards and press Shift+Tab to step back through the options. Press Enter to select an option. The Space bar toggles the status of a check box.
Procedure
- Select the
Activate a connection
menu entry.Figure 3.2. Activate a Connection
- Select the modified connection. On the right, click the
Deactivate
button.Figure 3.3. Deactivate the Modified Connection
- Choose the connection again and click the
Activate
button.Figure 3.4. Reactivate the Modified Connection
If no connection name is supplied, the selection menu appears. If the connection name is supplied and correctly identified, the relevant Edit connection screen appears.nmtui edit
connection-name
If no connection name is supplied, the selection menu appears. If the connection name is supplied and correctly identified, the relevant connection is activated. Any invalid command prints a usage message.nmtui connect
connection-name
802.1X
.