Product SiteDocumentation Site

Chapter 7. NetworkManager

7.1. The NetworkManager Daemon
7.2. Interacting with NetworkManager
7.2.1. Connecting to a Network
7.2.2. Configuring New and Editing Existing Connections
7.2.3. Connecting to a Network Automatically
7.2.4. User and System Connections
7.3. Establishing Connections
7.3.1. Establishing a Wired (Ethernet) Connection
7.3.2. Establishing a Wireless Connection
7.3.3. Establishing a Mobile Broadband Connection
7.3.4. Establishing a VPN Connection
7.3.5. Establishing a DSL Connection
7.4. Configuring Connection Settings
7.4.1. Configuring 802.1x Security
7.4.2. Configuring Wireless Security
7.4.3. Configuring PPP (Point-to-Point) Settings
7.4.4. Configuring IPv4 Settings
7.4.5. Configuring IPv6 Settings
7.4.6. Configuring Routes
7.5. NetworkManager Architecture
NetworkManager is a dynamic network control and configuration system that attempts to keep network devices and connections up and active when they are available. NetworkManager consists of a core daemon, a GNOME Notification Area applet that provides network status information, and graphical configuration tools that can create, edit and remove connections and interfaces. NetworkManager can be used to configure the following types of connections: Ethernet, wireless, mobile broadband (such as cellular 3G), and DSL and PPPoE (Point-to-Point over Ethernet). In addition, NetworkManager allows for the configuration of network aliases, static routes, DNS information and VPN connections, as well as many connection-specific parameters. Finally, NetworkManager provides a rich API via D-Bus which allows applications to query and control network configuration and state.
Previous versions of Fedora included the Network Administration Tool, which was commonly known as system-config-network after its command line invocation. In Fedora 18, NetworkManager replaces the former Network Administration Tool while providing enhanced functionality, such as user-specific and mobile broadband configuration. It is also possible to configure the network in Fedora 18 by editing interface configuration files; refer to Chapter 8, Network Interfaces for more information.
NetworkManager may be installed by default on Fedora. To ensure that it is, first run the following command as the root user:
~]# yum install NetworkManager

7.1. The NetworkManager Daemon

The NetworkManager daemon runs with root privileges and is usually configured to start up at boot time. You can determine whether the NetworkManager daemon is running by entering this command:
~]$ systemctl status NetworkManager.service
NetworkManager.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      
The systemctl status command will report NetworkManager as Active: inactive (dead) if the NetworkManager service is not running. To start it for the current session run the following command as the root user:
~]# systemctl start NetworkManager.service
Run the systemctl enable command to ensure that NetworkManager starts up every time the system boots:
~]# systemctl enable NetworkManager.service
For more information on starting, stopping and managing services and runlevels, refer to Chapter 9, Services and Daemons.