source: networking/netutils/networkmanager.xml@ 28370fe

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 28370fe was 28370fe, checked in by Fernando de Oliveira <fernando@…>, 6 years ago
  • More short descriptions from Denis Mugnier.
  • Fix main menu display problem for LXQT from hykwok1.
  • fontforge-20150824: --enable-debug requires libspiro.
  • Update to firefox-40.0.3.
  • Update to libreoffice-5.0.1.
  • Update to NetworkManager-1.0.6 and network-manager-applet-1.0.6.
  • Update to unrar-5.3.3.
  • Update to NSPR-4.10.9.
  • Update to libassuan-2.3.0.
  • Update to xterm-320.

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

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