1.5. Network Configuration Using a Text User Interface (nmtui)

The NetworkManager text user interface (TUI) tool, nmtui, provides a text interface to configure networking by controlling NetworkManager. The tool is contained in the NetworkManager-tui package. At time of writing, it is not installed along with NetworkManager by default. To install NetworkManager-tui, issue the following command as root:
~]# yum install NetworkManager-tui
If required, for details on how to verify that NetworkManager is running, see Section 1.4.1, “The NetworkManager Daemon”.
To start nmtui, issue a command as follows:
~]$ nmtui
The text user interface appears. 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.
The following commands are available:
  • 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 Edit connection screen appears.
  • nmtui connect 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.
At time of writing, nmtui does not support all types of connections. In particular, you cannot edit VPNs, wireless network connections using WPA Enterprise, or Ethernet connections using 802.1X.