source: networking/netutils/networkmanager.xml@ f1ce80b

10.0 10.1 11.0 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus nosym perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since f1ce80b was f1ce80b, checked in by DJ Lucas <dj@…>, 5 years ago

[systemd-merge] - Section II layout

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

  • Property mode set to 100644
File size: 13.0 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.2/NetworkManager-&NetworkManager-version;.tar.xz">
9 <!ENTITY NetworkManager-download-ftp
10 "&gnome-download-ftp;/NetworkManager/1.2/NetworkManager-&NetworkManager-version;.tar.xz">
11 <!ENTITY NetworkManager-md5sum "d431bad77b68326282249bdb53ade6b4">
12 <!ENTITY NetworkManager-size "3.6 MB">
13 <!ENTITY NetworkManager-buildsize "422 MB (with tests)">
14 <!ENTITY NetworkManager-time "3.4 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 <phrase revision="sysv"><xref linkend="consolekit"/>,</phrase>
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" revision="sysv"/>
232 <xref linkend="systemd-units" revision="systemd"/> package.
233 </para>
234
235 <indexterm zone="NetworkManager NetworkManager-init">
236 <primary sortas="f-NetworkManager">NetworkManager</primary>
237 </indexterm>
238
239<screen role="root"><userinput>make install-networkmanager</userinput></screen>
240
241 </sect3>
242
243 </sect2>
244
245 <sect2 role="content">
246 <title>Contents</title>
247
248 <segmentedlist>
249 <segtitle>Installed Programs</segtitle>
250 <segtitle>Installed Libraries</segtitle>
251 <segtitle>Installed Directories</segtitle>
252
253 <seglistitem>
254 <seg>
255 NetworkManager, nmcli, nm-online, and, hardlinked to each other:
256 nmtui, nmtui-connect, nmtui-edit, and nmtui-hostname
257 </seg>
258 <seg>
259 libnm-glib.so, libnm-glib-vpn.so, libnm.so, libnm-util.so, and
260 modules under /usr/lib/NetworkManager
261 </seg>
262 <seg>
263 /etc/NetworkManager,
264 /usr/include/{libnm,libnm-glib,NetworkManager},
265 /usr/lib/NetworkManager,
266 /usr/share/doc/NetworkManager-&NetworkManager-version;,
267 /usr/share/gtk-doc/html/{libnm,libnm-glib,libnm-util,NetworkManager},
268 and
269 /var/{lib,run}/NetworkManager
270 </seg>
271 </seglistitem>
272 </segmentedlist>
273
274 <variablelist>
275 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
276 <?dbfo list-presentation="list"?>
277 <?dbhtml list-presentation="table"?>
278
279 <varlistentry id="nmcli">
280 <term><command>nmcli</command></term>
281 <listitem>
282 <para>
283 is a command-line tool for controlling
284 <application>NetworkManager</application>
285 and getting its status.
286 </para>
287 <indexterm zone="NetworkManager nmcli">
288 <primary sortas="b-nmcli">nmcli</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="nm-online">
294 <term><command>nm-online</command></term>
295 <listitem>
296 <para>
297 is a utility to find out whether you are online.
298 </para>
299 <indexterm zone="NetworkManager nm-online">
300 <primary sortas="b-nm-online">nm-online</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="nmtui">
306 <term><command>nmtui</command></term>
307 <listitem>
308 <para>
309 interactive ncurses based interface for
310 <application>nmcli</application>.
311 </para>
312 <indexterm zone="NetworkManager nmtui">
313 <primary sortas="b-nmtui">nmtui</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="nmtui-connect">
319 <term><command>nmtui-connect</command></term>
320 <listitem>
321 <para>
322 interactive ncurses based interface connection activate/deactivate.
323 </para>
324 <indexterm zone="NetworkManager nmtui-connect">
325 <primary sortas="b-nmtui-connect">nmtui-connect</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="nmtui-edit">
331 <term><command>nmtui-edit</command></term>
332 <listitem>
333 <para>
334 interactive ncurses based interface connection editor.
335 </para>
336 <indexterm zone="NetworkManager nmtui-edit">
337 <primary sortas="b-nmtui-edit">nmtui-edit</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
342 <varlistentry id="nmtui-hostname">
343 <term><command>nmtui-hostname</command></term>
344 <listitem>
345 <para>
346 interactive ncurses based interface hostname editor.
347 </para>
348 <indexterm zone="NetworkManager nmtui-hostname">
349 <primary sortas="b-nmtui-hostname">nmtui-hostname</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
353
354 <varlistentry id="NetworkManager-prog">
355 <term><command>NetworkManager</command></term>
356 <listitem>
357 <para>
358 is the network management daemon.
359 </para>
360 <indexterm zone="NetworkManager NetworkManager-prog">
361 <primary sortas="b-NetworkManager">NetworkManager</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="libnm-glib">
367 <term><filename class="libraryfile">libnm-glib.so</filename></term>
368 <listitem>
369 <para>
370 contains functions used by <application>NetworkManager</application>.
371 </para>
372 <indexterm zone="NetworkManager libnm-glib">
373 <primary sortas="c-libnm-glib">libnm-glib.so</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
377
378 <varlistentry id="libnm-glib-vpn">
379 <term><filename class="libraryfile">libnm-glib-vpn.so</filename></term>
380 <listitem>
381 <para>
382 contains functions used by <application>NetworkManager</application>
383 VPN plugins.
384 </para>
385 <indexterm zone="NetworkManager libnm-glib-vpn">
386 <primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="libnm-util">
392 <term><filename class="libraryfile">libnm-util.so</filename></term>
393 <listitem>
394 <para>
395 contains functions used by <application>NetworkManager</application>
396 utils.
397 </para>
398 <indexterm zone="NetworkManager libnm-util">
399 <primary sortas="c-libnm-util">libnm-util.so</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 </variablelist>
405
406 </sect2>
407
408</sect1>
Note: See TracBrowser for help on using the repository browser.