NetworkManager-0.9.8.8
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.5
platform.
Package Information
NetworkManager Dependencies
Required
dbus-glib-0.102, Intltool-0.50.2, libnl-3.2.24, NSS-3.15.4, and
udev-extras (from systemd) (for
GUdev)
Recommended
ConsoleKit-0.4.6, dhcpcd-6.2.1 or DHCP-4.3.0 (client
only), gobject-introspection-1.38.0,
Iptables-1.4.21, libsoup-2.44.2, Polkit-0.112, UPower-0.9.23,
and Vala-0.22.1
Optional
GTK-Doc-1.19, ModemManager
and wpa_supplicant-2.1 (built with D-Bus
support)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/NetworkManager
Installation of NetworkManager
Install NetworkManager by running
the following commands:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-ppp &&
make
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.
--libexecdir=/usr/lib/NetworkManager
:
This option creates a NetworkManager
directory in /usr/lib
for the
package's private programs, instead of using /usr/libexec
in accordance with the old version
of the FHS used before LFS-7.5.
Configuring NetworkManager
Config Files
/etc/NetworkManager/NetworkManager.conf
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"
[main]
plugins=keyfile
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-20140301 package.
make install-networkmanager
Contents
Installed Programs:
nmcli, nm-online, nm-tool, and
NetworkManager
Installed Libraries:
libnm-glib.so, libnm-glib-vpn.so, and
libnm-util.so
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,
/var/lib/NetworkManager, and /var/run/NetworkManager
Short Descriptions
nmcli
|
is a command-line tool for controlling NetworkManager and getting its
status.
|
nm-online
|
is a utility to find out whether you are online.
|
nm-tool
|
is used to provide information about NetworkManager, device, and wireless
networks.
|
NetworkManager
|
is the network management daemon.
|
libnm-glib.so
|
contains functions used by NetworkManager.
|
libnm-glib-vpn.so
|
contains functions used by NetworkManager VPN plugins.
|
libnm-util.so
|
contains functions used by NetworkManager utils.
|
Last updated on 2014-03-03 19:06:31 -0800