glfs/networking/netutils/networkmanager.xml
Krejzi 2cd1071972 more gnome updates
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11542 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-07-31 14:57:29 +00:00

351 lines
11 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY NetworkManager-download-http
"&gnome-download-http;/NetworkManager/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
<!ENTITY NetworkManager-download-ftp
"&gnome-download-ftp;/NetworkManager/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
<!ENTITY NetworkManager-md5sum "7ac4ee1652e77ba064a5e18dc7af7e25">
<!ENTITY NetworkManager-size "1.9 MB">
<!ENTITY NetworkManager-buildsize "81 MB">
<!ENTITY NetworkManager-time "0.9 SBU">
]>
<sect1 id="NetworkManager" xreflabel="NetworkManager-&NetworkManager-version;">
<?dbhtml filename="networkmanager.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>NetworkManager-&NetworkManager-version;</title>
<indexterm zone="NetworkManager">
<primary sortas="a-NetworkManager">NetworkManager</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to NetworkManager</title>
<para>
<application>NetworkManager</application> 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.
</para>
&lfs73_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&NetworkManager-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&NetworkManager-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &NetworkManager-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &NetworkManager-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &NetworkManager-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &NetworkManager-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">NetworkManager Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="dbus-glib"/>,
<xref linkend="intltool"/>,
<xref linkend="libnl"/>,
<xref linkend="nss"/>, and
<xref linkend="udev"/> or
<xref linkend="udev-extras"/> (for GUdev)
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="consolekit"/>,
<xref linkend="dhcpcd"/> or
<xref linkend="dhcp"/> (client only),
<xref linkend="gobject-introspection"/>,
<xref linkend="iptables"/>,
<xref linkend="libsoup"/>,
<xref linkend="polkit"/>,
<xref linkend="upower"/>, and
<xref linkend="vala"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/>,
<ulink url="http://www.freedesktop.org/software/ModemManager/">
ModemManager</ulink> and
<xref linkend="wpa_supplicant"/> (built with D-Bus support)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/NetworkManager"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of NetworkManager</title>
<para>
Install <application>NetworkManager</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/NetworkManager \
--disable-ppp &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a testsuite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<option>--disable-ppp</option>: This parameter disables optional
<application>PPP</application> support in
<application>NetworkManager</application>.
</para>
<para>
<option>--enable-doc</option>: Use this switch if you have installed
<xref linkend="gtk-doc"/> and wish to build the API manuals.
</para>
<para>
<option>--without-iptables</option>: Use this switch if you don't have
<application>Iptables</application> installed.
</para>
</sect2>
<sect2 role="configuration">
<title>Configuring NetworkManager</title>
<sect3 id="NetworkManager-config">
<title>Config Files</title>
<para>
<filename>/etc/NetworkManager/NetworkManager.conf</filename>
</para>
<indexterm zone="NetworkManager NetworkManager-config">
<primary
sortas="e-etc-NetworkManager-NetworkManager.conf">
/etc/NetworkManager/NetworkManager.conf</primary>
</indexterm>
</sect3>
<sect3><title>Configuration Information</title>
<para>
For <application>NetworkManager</application> to work, at least
minimal configuration file must be present. Such file is not
installed with <command>make install</command>. Issue following
command as the
<systemitem class="username">root</systemitem> user to create
minimal <filename>NetworkManager.conf</filename> file:
</para>
<screen role="root"><userinput>cat &gt;&gt; /etc/NetworkManager/NetworkManager.conf &lt;&lt; "EOF"
<literal>[main]
plugins=keyfile</literal>
EOF</userinput></screen>
<para>
See <command>man 5 NetworkManager.conf</command> for any additional options.
</para>
</sect3>
<sect3 id="NetworkManager-init">
<title>Boot Script</title>
<para>
To automatically start the <command>NetworkManager</command> daemon when the
system is rebooted, install the
<filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the
<xref linkend="bootscripts"/> package.
</para>
<indexterm zone="NetworkManager NetworkManager-init">
<primary sortas="f-NetworkManager">NetworkManager</primary>
</indexterm>
<screen role="root"><userinput>make install-networkmanager</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
nmcli, nm-online, nm-tool, and NetworkManager
</seg>
<seg>
libnm-glib.so, libnm-glib-vpn.so, and libnm-util.so
</seg>
<seg>
/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
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="nmcli">
<term><command>nmcli</command></term>
<listitem>
<para>
is a command-line tool for controlling
<application>NetworkManager</application>
and getting its status.
</para>
<indexterm zone="NetworkManager nmcli">
<primary sortas="b-nmcli">nmcli</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="nm-online">
<term><command>nm-online</command></term>
<listitem>
<para>
is a utility to find out whether you are online.
</para>
<indexterm zone="NetworkManager nm-online">
<primary sortas="b-nm-online">nm-online</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="nm-tool">
<term><command>nm-tool</command></term>
<listitem>
<para>
is used to provide information about
<application>NetworkManager</application>,
device, and wireless networks.
</para>
<indexterm zone="NetworkManager nm-tool">
<primary sortas="b-nm-tool">nm-tool</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="NetworkManager-prog">
<term><command>NetworkManager</command></term>
<listitem>
<para>
is the network management daemon.
</para>
<indexterm zone="NetworkManager NetworkManager-prog">
<primary sortas="b-NetworkManager">NetworkManager</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libnm-glib">
<term><filename class="libraryfile">libnm-glib.so</filename></term>
<listitem>
<para>
contains functions used by <application>NetworkManager</application>.
</para>
<indexterm zone="NetworkManager libnm-glib">
<primary sortas="c-libnm-glib">libnm-glib.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libnm-glib-vpn">
<term><filename class="libraryfile">libnm-glib-vpn.so</filename></term>
<listitem>
<para>
contains functions used by <application>NetworkManager</application>
VPN plugins.
</para>
<indexterm zone="NetworkManager libnm-glib-vpn">
<primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libnm-util">
<term><filename class="libraryfile">libnm-util.so</filename></term>
<listitem>
<para>
contains functions used by <application>NetworkManager</application>
utils.
</para>
<indexterm zone="NetworkManager libnm-util">
<primary sortas="c-libnm-util">libnm-util.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>