1.4. Installing NetworkManager
yum install NetworkManager
1.4.1. The NetworkManager Daemon
systemctl status NetworkManagerNetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled) Active: active (running) since Fri, 08 Mar 2013 12:50:04 +0100; 3 days ago
systemctl statuscommand will report NetworkManager as
Active: inactive (dead)if the NetworkManager service is not running. To start it for the current session enter the following command as the root user:
systemctl start NetworkManager
systemctl enablecommand to ensure that NetworkManager starts up every time the system boots:
systemctl enable NetworkManager
1.4.2. Interacting with NetworkManager
- A simple curses-based text user interface (TUI) for NetworkManager, nmtui, is available.
- A command-line tool, nmcli, is provided to allow users and scripts to interact with NetworkManager. Note that nmcli can be used on systems without a GUI such as servers to control all aspects of NetworkManager. It is on an equal footing with the GUI tools.
- The GNOME Shell also provides a network icon in its Notification Area representing network connection states as reported by NetworkManager. The icon has multiple states that serve as visual indicators for the type of connection you are currently using.
- A graphical user interface tool called control-center, provided by the GNOME Shell, is available for desktop users. It incorporates a Network settings tool. To start it, press the Super key to enter the Activities Overview, type
control networkand then press Enter. The Super key appears in a variety of guises, depending on the keyboard and other hardware, but often as either the Windows or Command key, and typically to the left of the Space key.
- A graphical user interface tool, nm-connection-editor, is available for certain tasks not yet handled by control-center. To start it, press the Super key to enter the Activities Overview, type
nm-connection-editorand then press Enter.
Figure 1.1. Network connection icon states