Introduction to NetworkManager

NetworkManager is a set of co-operative tools that make networking simple and straightforward. Whether WiFi, wired, 3G, or Bluetooth, NetworkManager allows you to quickly move from one network to another: Once a network has been configured and joined once, it can be detected and re-joined automatically the next time it's available.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

NetworkManager Dependencies


dbus-glib-0.100.2, Intltool-0.50.2, libnl-3.2.22, NSS-3.15.1, and udev-Installed LFS Version or udev-extras (from systemd) (for GUdev)



GTK-Doc-1.19, ModemManager and wpa_supplicant-2.0 (built with D-Bus support)

User Notes:

Installation of NetworkManager

Install NetworkManager by running the following commands:

./configure --prefix=/usr        \
            --sysconfdir=/etc    \
            --localstatedir=/var \
            --libexecdir=/usr/lib/NetworkManager \
            --disable-ppp &&

This package does not come with a testsuite.

Now, as the root user:

make install

Command Explanations

--disable-ppp: This parameter disables optional PPP support in NetworkManager.

--enable-doc: Use this switch if you have installed GTK-Doc-1.19 and wish to build the API manuals.

--without-iptables: Use this switch if you don't have Iptables installed.

Configuring NetworkManager

Config Files


Configuration Information

For NetworkManager to work, at least minimal configuration file must be present. Such file is not installed with make install. Issue following command as the root user to create minimal NetworkManager.conf file:

cat >> /etc/NetworkManager/NetworkManager.conf << "EOF"

See man 5 NetworkManager.conf for any additional options.

Boot Script

To automatically start the NetworkManager daemon when the system is rebooted, install the /etc/rc.d/init.d/networkmanager bootscript from the blfs-bootscripts-20130908 package.

make install-networkmanager


Installed Programs: nmcli, nm-online, nm-tool, and NetworkManager
Installed Libraries:,, and
Installed Directories: /etc/NetworkManager, /usr/include/libnm-glib, /usr/include/NetworkManager, /usr/lib/NetworkManager, /usr/share/gtk-doc/html/libnm-glib, /usr/share/gtk-doc/html/libnm-util, /usr/share/gtk-doc/html/NetworkManager, and /var/lib/NetworkManager

Short Descriptions


is a command-line tool for controlling NetworkManager and getting its status.


is a utility to find out whether you are online.


is used to provide information about NetworkManager, device, and wireless networks.


is the network management daemon.

contains functions used by NetworkManager.

contains functions used by NetworkManager VPN plugins.

contains functions used by NetworkManager utils.

Last updated on 2013-09-04 14:37:09 -0700