source: networking/netutils/networkmanager.xml@ 7c4f32b

10.0 10.1 11.0 7.10 7.8 7.9 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 7c4f32b was 7c4f32b, checked in by Fernando de Oliveira <fernando@…>, 6 years ago

LXQt 0.9.1: typos.
Xorg-Server-1.17.2: typo.
PIN-Entry-0.9.5: attempt to clarify fixes when building pinentry-qt4.
WebKitGTK+-2.8.4: include switch to build and install MiniBrowser, good
test if there are build problems and can be useful for simple browsing.
Update to NetworkManager-1.0.4.
Update to network-manager-applet-1.0.4.
Update to Samba-4.2.3.
Update to libepoxy-1.3.1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16254 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 "7eabef7bd3bbdd6dc0473dd32aeac924">
12 <!ENTITY NetworkManager-size "3.3 MB">
13 <!ENTITY NetworkManager-buildsize "358 MB (with the tests)">
14 <!ENTITY NetworkManager-time "2.6 SBU (with the 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 &lfs77_checked; &gcc5_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"/>, and
100 <xref linkend="vala"/>
101 </para>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
105 <xref linkend="bluez"/>,
106 <xref linkend="gtk-doc"/>,
107 <xref linkend="qt4"/>,
108 <xref linkend="valgrind"/>,
109 <xref linkend="wpa_supplicant"/> (built with D-Bus support),
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, nm-online, nmcli, and, hardlinked to each other:
255 nmtui, nmtui-connect, nmtui-edit and nmtui-hostname
256 </seg>
257 <seg>
258 libnm.so, libnm-glib.so, libnm-glib-vpn.so, libnm-util.so, and
259 modules under /usr/lib/NetworkManager
260 </seg>
261 <seg>
262 /etc/NetworkManager,
263 /usr/include/{libnm{,-glib},NetworkManager},
264 /usr/lib/NetworkManager,
265 /usr/share/doc/NetworkManager-&NetworkManager-version;,
266 /usr/share/gtk-doc/html/{libnm{,-glib,-util},NetworkManager}, and
267 /var/{lib,run}/NetworkManager
268 </seg>
269 </seglistitem>
270 </segmentedlist>
271
272 <variablelist>
273 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
274 <?dbfo list-presentation="list"?>
275 <?dbhtml list-presentation="table"?>
276
277 <varlistentry id="nmcli">
278 <term><command>nmcli</command></term>
279 <listitem>
280 <para>
281 is a command-line tool for controlling
282 <application>NetworkManager</application>
283 and getting its status.
284 </para>
285 <indexterm zone="NetworkManager nmcli">
286 <primary sortas="b-nmcli">nmcli</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="nm-online">
292 <term><command>nm-online</command></term>
293 <listitem>
294 <para>
295 is a utility to find out whether you are online.
296 </para>
297 <indexterm zone="NetworkManager nm-online">
298 <primary sortas="b-nm-online">nm-online</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="nmtui">
304 <term><command>nmtui</command></term>
305 <listitem>
306 <para>
307 interactive ncurses based interface for
308 <application>nmcli</application>.
309 </para>
310 <indexterm zone="NetworkManager nmtui">
311 <primary sortas="b-nmtui">nmtui</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="nmtui-connect">
317 <term><command>nmtui-connect</command></term>
318 <listitem>
319 <para>
320 interactive ncurses based interface connection activate/deactivate.
321 </para>
322 <indexterm zone="NetworkManager nmtui-connect">
323 <primary sortas="b-nmtui-connect">nmtui-connect</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="nmtui-edit">
329 <term><command>nmtui-edit</command></term>
330 <listitem>
331 <para>
332 interactive ncurses based interface connection editor.
333 </para>
334 <indexterm zone="NetworkManager nmtui-edit">
335 <primary sortas="b-nmtui-edit">nmtui-edit</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 <varlistentry id="nmtui-hostname">
341 <term><command>nmtui-hostname</command></term>
342 <listitem>
343 <para>
344 interactive ncurses based interface hostname editor.
345 </para>
346 <indexterm zone="NetworkManager nmtui-hostname">
347 <primary sortas="b-nmtui-hostname">nmtui-hostname</primary>
348 </indexterm>
349 </listitem>
350 </varlistentry>
351
352 <varlistentry id="NetworkManager-prog">
353 <term><command>NetworkManager</command></term>
354 <listitem>
355 <para>
356 is the network management daemon.
357 </para>
358 <indexterm zone="NetworkManager NetworkManager-prog">
359 <primary sortas="b-NetworkManager">NetworkManager</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="libnm-glib">
365 <term><filename class="libraryfile">libnm-glib.so</filename></term>
366 <listitem>
367 <para>
368 contains functions used by <application>NetworkManager</application>.
369 </para>
370 <indexterm zone="NetworkManager libnm-glib">
371 <primary sortas="c-libnm-glib">libnm-glib.so</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="libnm-glib-vpn">
377 <term><filename class="libraryfile">libnm-glib-vpn.so</filename></term>
378 <listitem>
379 <para>
380 contains functions used by <application>NetworkManager</application>
381 VPN plugins.
382 </para>
383 <indexterm zone="NetworkManager libnm-glib-vpn">
384 <primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="libnm-util">
390 <term><filename class="libraryfile">libnm-util.so</filename></term>
391 <listitem>
392 <para>
393 contains functions used by <application>NetworkManager</application>
394 utils.
395 </para>
396 <indexterm zone="NetworkManager libnm-util">
397 <primary sortas="c-libnm-util">libnm-util.so</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 </variablelist>
403
404 </sect2>
405
406</sect1>
Note: See TracBrowser for help on using the repository browser.