source: networking/netutils/networkmanager.xml@ 1f1a9e9

10.0 10.1 11.0 11.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 1f1a9e9 was 1f1a9e9, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Add btrfs-progs-v4.5.1.
Update to NetworkManager-1.0.12.
Update to dejagnu-1.6.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17267 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.9 KB
Line 
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
7 <!ENTITY NetworkManager-download-http
8 "&gnome-download-http;/NetworkManager/1.0/NetworkManager-&NetworkManager-version;.tar.xz">
9 <!ENTITY NetworkManager-download-ftp
10 "&gnome-download-ftp;/NetworkManager/1.0/NetworkManager-&NetworkManager-version;.tar.xz">
11 <!ENTITY NetworkManager-md5sum "ebb273456a81ccf9dfaf2461061b0e96">
12 <!ENTITY NetworkManager-size "3.3 MB">
13 <!ENTITY NetworkManager-buildsize "316 MB (with tests)">
14 <!ENTITY NetworkManager-time "2.8 SBU (with tests)">
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>
23 </sect1info>
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
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
38 to another: Once a network has been configured and joined once, it can be
39 detected and re-joined automatically the next time it's available.
40 </para>
41
42 &lfs79_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&NetworkManager-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&NetworkManager-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &NetworkManager-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &NetworkManager-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &NetworkManager-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &NetworkManager-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">NetworkManager Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="dbus-glib"/>,
83 <xref linkend="libgudev"/>,
84 <xref linkend="libndp"/>,
85 <xref linkend="libnl"/>, and
86 <xref linkend="nss"/>
87 </para>
88
89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref linkend="consolekit"/>,
92 <xref linkend="dhcpcd"/> or
93 <xref linkend="dhcp"/> (client only),
94 <xref linkend="gobject-introspection"/>,
95 <xref linkend="iptables"/>,
96 <xref linkend="libsoup"/>,
97 <xref linkend="newt"/> (for <command>nmtui</command>),
98 <xref linkend="polkit"/>,
99 <xref linkend="upower"/>,
100 <xref linkend="vala"/>, and
101 <xref linkend="wpa_supplicant"/> (built with D-Bus support),
102 </para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <xref linkend="bluez"/>,
107 <xref linkend="gtk-doc"/>,
108 <xref linkend="qt4"/>,
109 <xref linkend="valgrind"/>,
110 <ulink url="http://libteam.org/">libteam</ulink>, and
111 <ulink url="http://www.freedesktop.org/software/ModemManager/">
112 ModemManager</ulink>
113 </para>
114
115 <para condition="html" role="usernotes">User Notes:
116 <ulink url="&blfs-wiki;/NetworkManager"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of NetworkManager</title>
122
123 <para>
124 Install <application>NetworkManager</application> by running the
125 following commands:
126 </para>
127
128<screen><userinput>./configure --prefix=/usr \
129 --sysconfdir=/etc \
130 --localstatedir=/var \
131 --with-nmtui \
132 --disable-ppp \
133 --with-systemdsystemunitdir=no \
134 --docdir=/usr/share/doc/network-manager-&NetworkManager-version; &amp;&amp;
135make</userinput></screen>
136
137 <para>
138 An already active graphical session with bus address is necessary to run
139 the tests. To test the results, issue: <command>make check</command>.
140 </para>
141
142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>make install</userinput></screen>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <para>
154 <parameter>--with-nmtui</parameter>: This parameter enables build of
155 <command>nmtui</command>.
156 </para>
157
158 <para>
159 <parameter>--with-systemdsystemunitdir=no</parameter>: This parameter is
160 used for sysv init systems. If you use systemd, replace "no" by the
161 proper directory.
162 </para>
163
164 <para>
165 <parameter>--disable-ppp</parameter>: This parameter disables parameteral
166 <application>PPP</application> support in
167 <application>NetworkManager</application>.
168 </para>
169
170 <para>
171 <option>--enable-gtk-doc</option>: Use this switch if you have installed
172 <xref linkend="gtk-doc"/> and wish to build the API manuals.
173 </para>
174
175 <para>
176 <option>--without-iptables</option>: Use this switch if you don't have
177 <application>Iptables</application> installed.
178 </para>
179
180 </sect2>
181
182 <sect2 role="configuration">
183 <title>Configuring NetworkManager</title>
184
185 <sect3 id="NetworkManager-config">
186 <title>Config Files</title>
187 <para>
188 <filename>/etc/NetworkManager/NetworkManager.conf</filename>
189 </para>
190
191 <indexterm zone="NetworkManager NetworkManager-config">
192 <primary
193 sortas="e-etc-NetworkManager-NetworkManager.conf">
194 /etc/NetworkManager/NetworkManager.conf</primary>
195 </indexterm>
196
197 </sect3>
198
199 <sect3><title>Configuration Information</title>
200
201 <para>
202 For <application>NetworkManager</application> to work, at least
203 minimal configuration file must be present. Such file is not
204 installed with <command>make install</command>. Issue following
205 command as the
206 <systemitem class="username">root</systemitem> user to create
207 minimal <filename>NetworkManager.conf</filename> file:
208 </para>
209
210<screen role="root"><userinput>cat &gt;&gt; /etc/NetworkManager/NetworkManager.conf &lt;&lt; "EOF"
211<literal>[main]
212plugins=keyfile</literal>
213EOF</userinput></screen>
214
215 <para>
216 You can add <option>dns=none</option> to suppress changes to
217 <filename>/etc/resolv.conf</filename>. See
218 <command>man 5 NetworkManager.conf</command>
219 for any additional options.
220 </para>
221
222 </sect3>
223
224 <sect3 id="NetworkManager-init">
225 <title>Boot Script</title>
226
227 <para>
228 To automatically start the <command>NetworkManager</command> daemon when the
229 system is rebooted, install the
230 <filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the
231 <xref linkend="bootscripts"/> package.
232 </para>
233
234 <indexterm zone="NetworkManager NetworkManager-init">
235 <primary sortas="f-NetworkManager">NetworkManager</primary>
236 </indexterm>
237
238<screen role="root"><userinput>make install-networkmanager</userinput></screen>
239
240 </sect3>
241
242 </sect2>
243
244 <sect2 role="content">
245 <title>Contents</title>
246
247 <segmentedlist>
248 <segtitle>Installed Programs</segtitle>
249 <segtitle>Installed Libraries</segtitle>
250 <segtitle>Installed Directories</segtitle>
251
252 <seglistitem>
253 <seg>
254 NetworkManager, nmcli, nm-online, and, hardlinked to each other:
255 nmtui, nmtui-connect, nmtui-edit, and nmtui-hostname
256 </seg>
257 <seg>
258 libnm-glib.so, libnm-glib-vpn.so, libnm.so, libnm-util.so, and
259 modules under /usr/lib/NetworkManager
260 </seg>
261 <seg>
262 /etc/NetworkManager,
263 /usr/include/{libnm,libnm-glib,NetworkManager},
264 /usr/lib/NetworkManager,
265 /usr/share/doc/NetworkManager-&NetworkManager-version;,
266 /usr/share/gtk-doc/html/{libnm,libnm-glib,libnm-util,NetworkManager},
267 and
268 /var/{lib,run}/NetworkManager
269 </seg>
270 </seglistitem>
271 </segmentedlist>
272
273 <variablelist>
274 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
275 <?dbfo list-presentation="list"?>
276 <?dbhtml list-presentation="table"?>
277
278 <varlistentry id="nmcli">
279 <term><command>nmcli</command></term>
280 <listitem>
281 <para>
282 is a command-line tool for controlling
283 <application>NetworkManager</application>
284 and getting its status.
285 </para>
286 <indexterm zone="NetworkManager nmcli">
287 <primary sortas="b-nmcli">nmcli</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="nm-online">
293 <term><command>nm-online</command></term>
294 <listitem>
295 <para>
296 is a utility to find out whether you are online.
297 </para>
298 <indexterm zone="NetworkManager nm-online">
299 <primary sortas="b-nm-online">nm-online</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="nmtui">
305 <term><command>nmtui</command></term>
306 <listitem>
307 <para>
308 interactive ncurses based interface for
309 <application>nmcli</application>.
310 </para>
311 <indexterm zone="NetworkManager nmtui">
312 <primary sortas="b-nmtui">nmtui</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="nmtui-connect">
318 <term><command>nmtui-connect</command></term>
319 <listitem>
320 <para>
321 interactive ncurses based interface connection activate/deactivate.
322 </para>
323 <indexterm zone="NetworkManager nmtui-connect">
324 <primary sortas="b-nmtui-connect">nmtui-connect</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="nmtui-edit">
330 <term><command>nmtui-edit</command></term>
331 <listitem>
332 <para>
333 interactive ncurses based interface connection editor.
334 </para>
335 <indexterm zone="NetworkManager nmtui-edit">
336 <primary sortas="b-nmtui-edit">nmtui-edit</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="nmtui-hostname">
342 <term><command>nmtui-hostname</command></term>
343 <listitem>
344 <para>
345 interactive ncurses based interface hostname editor.
346 </para>
347 <indexterm zone="NetworkManager nmtui-hostname">
348 <primary sortas="b-nmtui-hostname">nmtui-hostname</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="NetworkManager-prog">
354 <term><command>NetworkManager</command></term>
355 <listitem>
356 <para>
357 is the network management daemon.
358 </para>
359 <indexterm zone="NetworkManager NetworkManager-prog">
360 <primary sortas="b-NetworkManager">NetworkManager</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="libnm-glib">
366 <term><filename class="libraryfile">libnm-glib.so</filename></term>
367 <listitem>
368 <para>
369 contains functions used by <application>NetworkManager</application>.
370 </para>
371 <indexterm zone="NetworkManager libnm-glib">
372 <primary sortas="c-libnm-glib">libnm-glib.so</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry id="libnm-glib-vpn">
378 <term><filename class="libraryfile">libnm-glib-vpn.so</filename></term>
379 <listitem>
380 <para>
381 contains functions used by <application>NetworkManager</application>
382 VPN plugins.
383 </para>
384 <indexterm zone="NetworkManager libnm-glib-vpn">
385 <primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
390 <varlistentry id="libnm-util">
391 <term><filename class="libraryfile">libnm-util.so</filename></term>
392 <listitem>
393 <para>
394 contains functions used by <application>NetworkManager</application>
395 utils.
396 </para>
397 <indexterm zone="NetworkManager libnm-util">
398 <primary sortas="c-libnm-util">libnm-util.so</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 </variablelist>
404
405 </sect2>
406
407</sect1>
Note: See TracBrowser for help on using the repository browser.