[e33ddee] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0d7900a] | 7 | <!ENTITY NetworkManager-download-http
|
---|
[d497e89] | 8 | "&gnome-download-http;/NetworkManager/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
|
---|
[0d7900a] | 9 | <!ENTITY NetworkManager-download-ftp
|
---|
[d497e89] | 10 | "&gnome-download-ftp;/NetworkManager/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
|
---|
[8003022e] | 11 | <!ENTITY NetworkManager-md5sum "bad2486578aa9f4d2f5c1c1446e8daf4">
|
---|
| 12 | <!ENTITY NetworkManager-size "2,0 MB">
|
---|
| 13 | <!ENTITY NetworkManager-buildsize "83 MB">
|
---|
[506b3bc] | 14 | <!ENTITY NetworkManager-time "0.8 SBU">
|
---|
[e33ddee] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="NetworkManager" xreflabel="NetworkManager-&NetworkManager-version;">
|
---|
| 18 | <?dbhtml filename="networkmanager.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
[06c6689] | 23 | </sect1info>
|
---|
[e33ddee] | 24 |
|
---|
| 25 | <title>NetworkManager-&NetworkManager-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="NetworkManager">
|
---|
| 28 | <primary sortas="a-NetworkManager">NetworkManager</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to NetworkManager</title>
|
---|
| 33 |
|
---|
[7ded7e3] | 34 | <para>
|
---|
| 35 | <application>NetworkManager</application> is a set of co-operative
|
---|
| 36 | tools that make networking simple and straightforward. Whether WiFi, wired,
|
---|
| 37 | 3G, or Bluetooth, NetworkManager allows you to quickly move from one network
|
---|
[d6e164b] | 38 | to another: Once a network has been configured and joined once, it can be
|
---|
[601a838] | 39 | detected and re-joined automatically the next time it's available.
|
---|
[7ded7e3] | 40 | </para>
|
---|
[e33ddee] | 41 |
|
---|
[79d191ee] | 42 | &lfs75_checked;
|
---|
[e33ddee] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[7ded7e3] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&NetworkManager-download-http;"/>
|
---|
| 49 | </para>
|
---|
[e33ddee] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[7ded7e3] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&NetworkManager-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[e33ddee] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[7ded7e3] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &NetworkManager-md5sum;
|
---|
| 59 | </para>
|
---|
[e33ddee] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[7ded7e3] | 62 | <para>
|
---|
| 63 | Download size: &NetworkManager-size;
|
---|
| 64 | </para>
|
---|
[e33ddee] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[7ded7e3] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &NetworkManager-buildsize;
|
---|
| 69 | </para>
|
---|
[e33ddee] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[7ded7e3] | 72 | <para>
|
---|
| 73 | Estimated build time: &NetworkManager-time;
|
---|
| 74 | </para>
|
---|
[e33ddee] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect3">NetworkManager Dependencies</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d497e89] | 81 | <para role="required">
|
---|
| 82 | <xref linkend="dbus-glib"/>,
|
---|
[6e1616e2] | 83 | <xref linkend="intltool"/>,
|
---|
[d497e89] | 84 | <xref linkend="libnl"/>,
|
---|
[06c6689] | 85 | <xref linkend="nss"/>, and
|
---|
[6e1616e2] | 86 | <xref linkend="udev-extras"/> (for GUdev)
|
---|
[d497e89] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
| 91 | <xref linkend="consolekit"/>,
|
---|
| 92 | <xref linkend="dhcpcd"/> or
|
---|
[697cb83f] | 93 | <xref linkend="dhcp"/> (client only),
|
---|
[4b3c4b2] | 94 | <xref linkend="gobject-introspection"/>,
|
---|
[b7d1d2b] | 95 | <xref linkend="iptables"/>,
|
---|
[6e1616e2] | 96 | <xref linkend="libsoup"/>,
|
---|
| 97 | <xref linkend="polkit"/>,
|
---|
[06c6689] | 98 | <xref linkend="upower"/>, and
|
---|
[6e1616e2] | 99 | <xref linkend="vala"/>
|
---|
[d497e89] | 100 | </para>
|
---|
[e33ddee] | 101 |
|
---|
[d0880dfa] | 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d497e89] | 103 | <para role="optional">
|
---|
| 104 | <xref linkend="gtk-doc"/>,
|
---|
[2cd1071] | 105 | <ulink url="http://www.freedesktop.org/software/ModemManager/">
|
---|
| 106 | ModemManager</ulink> and
|
---|
| 107 | <xref linkend="wpa_supplicant"/> (built with D-Bus support)
|
---|
[d497e89] | 108 | </para>
|
---|
[d0880dfa] | 109 |
|
---|
[e33ddee] | 110 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 111 | <ulink url="&blfs-wiki;/NetworkManager"/>
|
---|
| 112 | </para>
|
---|
[e33ddee] | 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="installation">
|
---|
| 116 | <title>Installation of NetworkManager</title>
|
---|
| 117 |
|
---|
[7ded7e3] | 118 | <para>
|
---|
| 119 | Install <application>NetworkManager</application> by running the following
|
---|
| 120 | commands:
|
---|
| 121 | </para>
|
---|
[e33ddee] | 122 |
|
---|
[06c6689] | 123 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 124 | --sysconfdir=/etc \
|
---|
[e33ddee] | 125 | --localstatedir=/var \
|
---|
[7ded7e3] | 126 | --disable-ppp &&
|
---|
[e33ddee] | 127 | make</userinput></screen>
|
---|
| 128 |
|
---|
[7ded7e3] | 129 | <para>
|
---|
[b7d1d2b] | 130 | This package does not come with a testsuite.
|
---|
[7ded7e3] | 131 | </para>
|
---|
[e33ddee] | 132 |
|
---|
[7ded7e3] | 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
[e33ddee] | 136 |
|
---|
| 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
[7ded7e3] | 144 | <para>
|
---|
| 145 | <option>--disable-ppp</option>: This parameter disables optional
|
---|
[6e1616e2] | 146 | <application>PPP</application> support in
|
---|
| 147 | <application>NetworkManager</application>.
|
---|
[7ded7e3] | 148 | </para>
|
---|
[e33ddee] | 149 |
|
---|
[7ded7e3] | 150 | <para>
|
---|
[6e1616e2] | 151 | <option>--enable-doc</option>: Use this switch if you have installed
|
---|
| 152 | <xref linkend="gtk-doc"/> and wish to build the API manuals.
|
---|
[e33ddee] | 153 | </para>
|
---|
[2cd1071] | 154 |
|
---|
[d6e164b] | 155 | <para>
|
---|
[2cd1071] | 156 | <option>--without-iptables</option>: Use this switch if you don't have
|
---|
| 157 | <application>Iptables</application> installed.
|
---|
[d6e164b] | 158 | </para>
|
---|
[e33ddee] | 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
[d497e89] | 162 | <sect2 role="configuration">
|
---|
| 163 | <title>Configuring NetworkManager</title>
|
---|
| 164 |
|
---|
| 165 | <sect3 id="NetworkManager-config">
|
---|
| 166 | <title>Config Files</title>
|
---|
| 167 | <para>
|
---|
| 168 | <filename>/etc/NetworkManager/NetworkManager.conf</filename>
|
---|
| 169 | </para>
|
---|
| 170 |
|
---|
| 171 | <indexterm zone="NetworkManager NetworkManager-config">
|
---|
| 172 | <primary
|
---|
| 173 | sortas="e-etc-NetworkManager-NetworkManager.conf">
|
---|
| 174 | /etc/NetworkManager/NetworkManager.conf</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 |
|
---|
| 177 | </sect3>
|
---|
| 178 |
|
---|
| 179 | <sect3><title>Configuration Information</title>
|
---|
| 180 |
|
---|
| 181 | <para>
|
---|
| 182 | For <application>NetworkManager</application> to work, at least
|
---|
| 183 | minimal configuration file must be present. Such file is not
|
---|
| 184 | installed with <command>make install</command>. Issue following
|
---|
| 185 | command as the
|
---|
| 186 | <systemitem class="username">root</systemitem> user to create
|
---|
| 187 | minimal <filename>NetworkManager.conf</filename> file:
|
---|
| 188 | </para>
|
---|
| 189 |
|
---|
| 190 | <screen role="root"><userinput>cat >> /etc/NetworkManager/NetworkManager.conf << "EOF"
|
---|
| 191 | <literal>[main]
|
---|
| 192 | plugins=keyfile</literal>
|
---|
| 193 | EOF</userinput></screen>
|
---|
| 194 |
|
---|
| 195 | <para>
|
---|
| 196 | See <command>man 5 NetworkManager.conf</command> for any additional options.
|
---|
[0d7900a] | 197 | </para>
|
---|
[d497e89] | 198 |
|
---|
| 199 | </sect3>
|
---|
| 200 |
|
---|
| 201 | <sect3 id="NetworkManager-init">
|
---|
| 202 | <title>Boot Script</title>
|
---|
| 203 |
|
---|
| 204 | <para>
|
---|
| 205 | To automatically start the <command>NetworkManager</command> daemon when the
|
---|
| 206 | system is rebooted, install the
|
---|
| 207 | <filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the
|
---|
| 208 | <xref linkend="bootscripts"/> package.
|
---|
| 209 | </para>
|
---|
| 210 |
|
---|
| 211 | <indexterm zone="NetworkManager NetworkManager-init">
|
---|
| 212 | <primary sortas="f-NetworkManager">NetworkManager</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 |
|
---|
| 215 | <screen role="root"><userinput>make install-networkmanager</userinput></screen>
|
---|
[2cd1071] | 216 |
|
---|
[d497e89] | 217 | </sect3>
|
---|
| 218 |
|
---|
| 219 | </sect2>
|
---|
| 220 |
|
---|
[e33ddee] | 221 | <sect2 role="content">
|
---|
| 222 | <title>Contents</title>
|
---|
| 223 |
|
---|
| 224 | <segmentedlist>
|
---|
| 225 | <segtitle>Installed Programs</segtitle>
|
---|
| 226 | <segtitle>Installed Libraries</segtitle>
|
---|
| 227 | <segtitle>Installed Directories</segtitle>
|
---|
| 228 |
|
---|
| 229 | <seglistitem>
|
---|
[d497e89] | 230 | <seg>
|
---|
[06c6689] | 231 | nmcli, nm-online, nm-tool, and NetworkManager
|
---|
[d497e89] | 232 | </seg>
|
---|
| 233 | <seg>
|
---|
[06c6689] | 234 | libnm-glib.so, libnm-glib-vpn.so, and libnm-util.so
|
---|
[d497e89] | 235 | </seg>
|
---|
| 236 | <seg>
|
---|
[7ded7e3] | 237 | /etc/NetworkManager,
|
---|
| 238 | /usr/include/libnm-glib,
|
---|
| 239 | /usr/include/NetworkManager,
|
---|
| 240 | /usr/lib/NetworkManager,
|
---|
[6e1616e2] | 241 | /usr/share/gtk-doc/html/libnm-glib,
|
---|
| 242 | /usr/share/gtk-doc/html/libnm-util,
|
---|
[8003022e] | 243 | /usr/share/gtk-doc/html/NetworkManager,
|
---|
| 244 | /var/lib/NetworkManager, and
|
---|
| 245 | /var/run/NetworkManager
|
---|
[d497e89] | 246 | </seg>
|
---|
[e33ddee] | 247 | </seglistitem>
|
---|
| 248 | </segmentedlist>
|
---|
| 249 |
|
---|
| 250 | <variablelist>
|
---|
| 251 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 252 | <?dbfo list-presentation="list"?>
|
---|
| 253 | <?dbhtml list-presentation="table"?>
|
---|
| 254 |
|
---|
[d497e89] | 255 | <varlistentry id="nmcli">
|
---|
| 256 | <term><command>nmcli</command></term>
|
---|
[e33ddee] | 257 | <listitem>
|
---|
[7ded7e3] | 258 | <para>
|
---|
| 259 | is a command-line tool for controlling
|
---|
[0d7900a] | 260 | <application>NetworkManager</application>
|
---|
[7ded7e3] | 261 | and getting its status.
|
---|
| 262 | </para>
|
---|
[d497e89] | 263 | <indexterm zone="NetworkManager nmcli">
|
---|
| 264 | <primary sortas="b-nmcli">nmcli</primary>
|
---|
[e33ddee] | 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="nm-online">
|
---|
| 270 | <term><command>nm-online</command></term>
|
---|
| 271 | <listitem>
|
---|
[7ded7e3] | 272 | <para>
|
---|
| 273 | is a utility to find out whether you are online.
|
---|
| 274 | </para>
|
---|
[e33ddee] | 275 | <indexterm zone="NetworkManager nm-online">
|
---|
| 276 | <primary sortas="b-nm-online">nm-online</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 |
|
---|
| 281 | <varlistentry id="nm-tool">
|
---|
| 282 | <term><command>nm-tool</command></term>
|
---|
| 283 | <listitem>
|
---|
[7ded7e3] | 284 | <para>
|
---|
| 285 | is used to provide information about
|
---|
[0d7900a] | 286 | <application>NetworkManager</application>,
|
---|
[7ded7e3] | 287 | device, and wireless networks.
|
---|
| 288 | </para>
|
---|
[e33ddee] | 289 | <indexterm zone="NetworkManager nm-tool">
|
---|
| 290 | <primary sortas="b-nm-tool">nm-tool</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
[d497e89] | 295 | <varlistentry id="NetworkManager-prog">
|
---|
| 296 | <term><command>NetworkManager</command></term>
|
---|
[e33ddee] | 297 | <listitem>
|
---|
[7ded7e3] | 298 | <para>
|
---|
| 299 | is the network management daemon.
|
---|
| 300 | </para>
|
---|
[d497e89] | 301 | <indexterm zone="NetworkManager NetworkManager-prog">
|
---|
[7ded7e3] | 302 | <primary sortas="b-NetworkManager">NetworkManager</primary>
|
---|
[e33ddee] | 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
[d497e89] | 307 | <varlistentry id="libnm-glib">
|
---|
[6e1616e2] | 308 | <term><filename class="libraryfile">libnm-glib.so</filename></term>
|
---|
[e33ddee] | 309 | <listitem>
|
---|
[7ded7e3] | 310 | <para>
|
---|
| 311 | contains functions used by <application>NetworkManager</application>.
|
---|
| 312 | </para>
|
---|
[d497e89] | 313 | <indexterm zone="NetworkManager libnm-glib">
|
---|
| 314 | <primary sortas="c-libnm-glib">libnm-glib.so</primary>
|
---|
[e33ddee] | 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
[d497e89] | 319 | <varlistentry id="libnm-glib-vpn">
|
---|
[6e1616e2] | 320 | <term><filename class="libraryfile">libnm-glib-vpn.so</filename></term>
|
---|
[e33ddee] | 321 | <listitem>
|
---|
[7ded7e3] | 322 | <para>
|
---|
| 323 | contains functions used by <application>NetworkManager</application>
|
---|
| 324 | VPN plugins.
|
---|
| 325 | </para>
|
---|
[d497e89] | 326 | <indexterm zone="NetworkManager libnm-glib-vpn">
|
---|
| 327 | <primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
|
---|
[e33ddee] | 328 | </indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
| 331 |
|
---|
| 332 | <varlistentry id="libnm-util">
|
---|
[6e1616e2] | 333 | <term><filename class="libraryfile">libnm-util.so</filename></term>
|
---|
[e33ddee] | 334 | <listitem>
|
---|
[7ded7e3] | 335 | <para>
|
---|
| 336 | contains functions used by <application>NetworkManager</application>
|
---|
| 337 | utils.
|
---|
| 338 | </para>
|
---|
[e33ddee] | 339 | <indexterm zone="NetworkManager libnm-util">
|
---|
| 340 | <primary sortas="c-libnm-util">libnm-util.so</primary>
|
---|
| 341 | </indexterm>
|
---|
| 342 | </listitem>
|
---|
| 343 | </varlistentry>
|
---|
| 344 |
|
---|
| 345 | </variablelist>
|
---|
| 346 |
|
---|
| 347 | </sect2>
|
---|
| 348 |
|
---|
| 349 | </sect1>
|
---|