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
Make sure that you disable the systemd-networkd service or
configure it not to manage the interfaces you want to manage with
libndp-1.6, libnl-3.2.27, and NSS-3.24
dhcpcd-6.11.0 or DHCP-4.3.4 (client only),
Iptables-1.6.0, libsoup-2.54.1, newt-0.52.19 (for nmtui), Polkit-0.113,
Vala-0.32.0, and wpa_supplicant-2.5 (built with D-Bus
BlueZ-5.39 (runtime), GTK-Doc-1.25,
ModemManager-1.4.10, PyGObject-3.20.1, Valgrind-3.11.0, libteam, PPP and RP-PPPoE
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/NetworkManager
Installation of NetworkManager
Install NetworkManager by running
the following commands:
./configure --prefix=/usr \
An already active graphical session with bus address is necessary
to run the tests. To test the results, issue: make check.
Now, as the
--with-nmtui: This switch
enables building of the nmtui program. Remove it if you
have not installed newt-0.52.19.
--disable-ppp: This switch
disables PPP support in
NetworkManager. Remove it if you
have installed PPP.
switch is used to set systemd-logind as the default
program for session tracking.
This switch is used to set the correct installation directory for
--enable-gtk-doc: Use this switch if
you have installed GTK-Doc-1.25 and wish to build the API
--without-iptables: Use this switch if
you don't have Iptables installed.
For NetworkManager to work, at
least a minimal configuration file must be present. Such file is
not installed with make
install. Issue the following command as the
root user to create a minimal
cat >> /etc/NetworkManager/NetworkManager.conf << "EOF"
You can add
dns=none to suppress
NetworkManager.conf for any additional options.
To start the NetworkManager daemon at boot,
enable the previously installed systemd unit by running the
following command as the
systemctl enable NetworkManager
NetworkManager also ships a
systemd unit called
NetworkManager-wait-online.service which can be
used to prevent services that require network connectivity from
starting until NetworkManager
has established the connection. To enable it, run the following
command as the
systemctl enable NetworkManager-wait-online
NetworkManager, nmcli, nm-online, and,
hardlinked to each other: nmtui, nmtui-connect, nmtui-edit, and
libnm.so, libnm-util.so, and modules under
is a command-line tool for controlling NetworkManager and getting its
is a utility to find out whether you are online.
interactive ncurses based interface for nmcli.
interactive ncurses based interface connection
interactive ncurses based interface connection editor.
interactive ncurses based interface hostname editor.
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 2016-05-14 16:15:35 -0500