%general-entities; ]> $LastChangedBy$ $Date$ NetworkManager-&NetworkManager-version; NetworkManager 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. &lfs75_checked; Make sure you disable systemd-networkd service or make it not configure the connections you want to manage with NetworkManager. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &NetworkManager-md5sum; Download size: &NetworkManager-size; Estimated disk space required: &NetworkManager-buildsize; Estimated build time: &NetworkManager-time; NetworkManager Dependencies Required , , , , (or ), and (for GUdev and Logind) Recommended or (client only), , , , (for nmtui), , and Optional (runtime), , , , , (built with D-Bus support), and libteam User Notes: Installation of NetworkManager ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-ppp \ --with-nmtui \ --with-session-tracking=systemd \ --with-systemdsystemunitdir=/lib/systemd/system && make An already active graphical session with bus address is necessary to run the tests. To test the results, issue: make check. Now, as the root user: make install Command Explanations --disable-ppp: This switch disables PPP support in NetworkManager because PPP isn't part of BLFS. --with-nmtui: This switch enables building of the nmtui program. Remove it if you have not installed . --with-session-tracking=systemd: This switch is used to set systemd-logind as the default program for session tracking. --with-systemdsystemunitdir=/lib/systemd/system: This switch is used to set the correct installation directory for systemd units. : Use this switch if you have installed and wish to build the API manuals. : Use this switch if you don't have Iptables installed. Configuring NetworkManager Config Files /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.conf Configuration Information For NetworkManager to work, at least a basic configuration file must be present. Such file is not installed with make install. Run the following command as the root user to create a basic NetworkManager.conf file: cat >> /etc/NetworkManager/NetworkManager.conf << "EOF" [main] plugins=keyfile EOF You can add to suppress changes to /etc/resolv.conf. See man 5 NetworkManager.conf for any additional options. Systemd Units To start the NetworkManager daemon at boot, enable the previously installed systemd unit by running the following command as the root user: NetworkManager 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 root user: systemctl enable NetworkManager-wait-online Contents Installed Programs Installed Libraries Installed Directories NetworkManager, nm-online, nmcli, nmtui, nmtui-connect, nmtui-edit, and nmtui-hostname libnm-glib.so, libnm-glib-vpn.so, and libnm-util.so /etc/NetworkManager, /usr/include/libnm-glib, /usr/include/NetworkManager, /usr/lib/NetworkManager, /usr/share/doc/NetworkManager, /usr/share/gtk-doc/html/libnm-glib, /usr/share/gtk-doc/html/libnm-util, /usr/share/gtk-doc/html/NetworkManager, /var/lib/NetworkManager, and /var/run/NetworkManager Short Descriptions nmcli is a command-line tool for controlling NetworkManager and getting its status. nmcli nm-online is a utility to find out whether you are online. nm-online nmtui is an interactive ncurses based interface for nmcli. nmtui nmtui-connect is an interactive ncurses based interface connection activate/deactivate. nmtui-connect nmtui-edit is an interactive ncurses based interface connection editor. nmtui-edit nmtui-hostname is an interactive ncurses based interface hostname editor. nmtui-hostname NetworkManager is the network management daemon. NetworkManager libnm-glib.so contains functions used by NetworkManager. libnm-glib.so libnm-glib-vpn.so contains functions used by NetworkManager VPN plugins. libnm-glib-vpn.so libnm-util.so contains functions used by NetworkManager utils. libnm-util.so