source: networking/netutils/networkmanager.xml@ 92c1c66

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 92c1c66 was 92c1c66, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

More doc directory corrections

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

  • Property mode set to 100644
File size: 13.2 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/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
9 <!ENTITY NetworkManager-download-ftp
10 "&gnome-download-ftp;/NetworkManager/0.9/NetworkManager-&NetworkManager-version;.tar.xz">
11 <!ENTITY NetworkManager-md5sum "21b9051dbbd6434df4624a90ca9d71b6">
12 <!ENTITY NetworkManager-size "2.5 MB">
13 <!ENTITY NetworkManager-buildsize "127 MB (additional 10 MB for the tests)">
14 <!ENTITY NetworkManager-time "1.5 SBU">
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 &lfs76_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="libndp"/>,
84 <xref linkend="libnl"/>,
85 <xref linkend="nss"/>,
86 (or <xref linkend="gnutls"/>), and
87 <xref linkend="udev-extras"/> (for GUdev)
88 </para>
89
90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
92 <xref linkend="consolekit"/>,
93 <xref linkend="dhcpcd"/> or
94 <xref linkend="dhcp"/> (client only),
95 <xref linkend="gobject-introspection"/>,
96 <xref linkend="iptables"/>,
97 <xref linkend="libsoup"/>,
98 <xref linkend="newt"/> (for <command>nmtui</command>),
99 <xref linkend="polkit"/>,
100 <xref linkend="upower"/>, and
101 <xref linkend="vala"/>
102 </para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
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 If <xref linkend="qt4"/> and <xref linkend="qt5"/> are installed, you
125 need to choose <application>Qt4</application> with
126 <command>source setqt4</command>, before starting. Install
127 <application>NetworkManager</application> by running the following
128 commands:
129 </para>
130
131<screen><userinput>./configure --prefix=/usr \
132 --sysconfdir=/etc \
133 --localstatedir=/var \
134 --with-nmtui \
135 --disable-ppp \
136 --with-systemdsystemunitdir=no \
137 --docdir=/usr/share/doc/network-manager-&NetworkManager-version; &amp;&amp;
138make</userinput></screen>
139
140 <para>
141 An already active graphical session with bus address is necessary to run
142 the tests. To test the results, issue: <command>make check</command>.
143 </para>
144
145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
148
149<screen role="root"><userinput>make install</userinput></screen>
150
151 </sect2>
152
153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
156 <para>
157 <parameter>--with-nmtui</parameter>: This parameter enables build of
158 <command>nmtui</command>.
159 </para>
160
161 <para>
162 <parameter>--with-systemdsystemunitdir=no</parameter>: This parameter is
163 used for sysv init systems. If you use systemd, replace "no" by the
164 proper directory.
165 </para>
166
167 <para>
168 <parameter>--disable-ppp</parameter>: This parameter disables parameteral
169 <application>PPP</application> support in
170 <application>NetworkManager</application>.
171 </para>
172
173 <para>
174 <option>--enable-gtk-doc</option>: Use this switch if you have installed
175 <xref linkend="gtk-doc"/> and wish to build the API manuals.
176 </para>
177
178 <para>
179 <option>--without-iptables</option>: Use this switch if you don't have
180 <application>Iptables</application> installed.
181 </para>
182
183 </sect2>
184
185 <sect2 role="configuration">
186 <title>Configuring NetworkManager</title>
187
188 <sect3 id="NetworkManager-config">
189 <title>Config Files</title>
190 <para>
191 <filename>/etc/NetworkManager/NetworkManager.conf</filename>
192 </para>
193
194 <indexterm zone="NetworkManager NetworkManager-config">
195 <primary
196 sortas="e-etc-NetworkManager-NetworkManager.conf">
197 /etc/NetworkManager/NetworkManager.conf</primary>
198 </indexterm>
199
200 </sect3>
201
202 <sect3><title>Configuration Information</title>
203
204 <para>
205 For <application>NetworkManager</application> to work, at least
206 minimal configuration file must be present. Such file is not
207 installed with <command>make install</command>. Issue following
208 command as the
209 <systemitem class="username">root</systemitem> user to create
210 minimal <filename>NetworkManager.conf</filename> file:
211 </para>
212
213<screen role="root"><userinput>cat &gt;&gt; /etc/NetworkManager/NetworkManager.conf &lt;&lt; "EOF"
214<literal>[main]
215plugins=keyfile</literal>
216EOF</userinput></screen>
217
218 <para>
219 You can add <option>dns=none</option> to suppress changes to
220 <filename>/etc/resolv.conf</filename>. See
221 <command>man 5 NetworkManager.conf</command>
222 for any additional options.
223 </para>
224
225 </sect3>
226
227 <sect3 id="NetworkManager-init">
228 <title>Boot Script</title>
229
230 <para>
231 To automatically start the <command>NetworkManager</command> daemon when the
232 system is rebooted, install the
233 <filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the
234 <xref linkend="bootscripts"/> package.
235 </para>
236
237 <indexterm zone="NetworkManager NetworkManager-init">
238 <primary sortas="f-NetworkManager">NetworkManager</primary>
239 </indexterm>
240
241<screen role="root"><userinput>make install-networkmanager</userinput></screen>
242
243 </sect3>
244
245 </sect2>
246
247 <sect2 role="content">
248 <title>Contents</title>
249
250 <segmentedlist>
251 <segtitle>Installed Programs</segtitle>
252 <segtitle>Installed Libraries</segtitle>
253 <segtitle>Installed Directories</segtitle>
254
255 <seglistitem>
256 <seg>
257 NetworkManager, nm-avahi-autoipd.action, nm-dhcp-helper,
258 nm-dispatcher, nm-online, nmcli, and, hardlinked to each other:
259 nmtui, nmtui-connect, nmtui-edit, and nmtui-hostname
260 </seg>
261 <seg>
262 libnm-glib.so, libnm-glib-vpn.so, libnm-util.so, and
263 modules under /usr/lib/NetworkManager
264 </seg>
265 <seg>
266 /etc/NetworkManager,
267 /usr/include/libnm-glib,
268 /usr/include/NetworkManager,
269 /usr/lib/NetworkManager,
270 /usr/share/doc/NetworkManager,
271 /usr/share/gtk-doc/html/libnm-glib,
272 /usr/share/gtk-doc/html/libnm-util,
273 /usr/share/gtk-doc/html/NetworkManager,
274 /var/lib/NetworkManager, and
275 /var/run/NetworkManager
276 </seg>
277 </seglistitem>
278 </segmentedlist>
279
280 <variablelist>
281 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
282 <?dbfo list-presentation="list"?>
283 <?dbhtml list-presentation="table"?>
284
285 <varlistentry id="nmcli">
286 <term><command>nmcli</command></term>
287 <listitem>
288 <para>
289 is a command-line tool for controlling
290 <application>NetworkManager</application>
291 and getting its status.
292 </para>
293 <indexterm zone="NetworkManager nmcli">
294 <primary sortas="b-nmcli">nmcli</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="nm-online">
300 <term><command>nm-online</command></term>
301 <listitem>
302 <para>
303 is a utility to find out whether you are online.
304 </para>
305 <indexterm zone="NetworkManager nm-online">
306 <primary sortas="b-nm-online">nm-online</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="nmtui">
312 <term><command>nmtui</command></term>
313 <listitem>
314 <para>
315 interactive ncurses based interface for
316 <application>nmcli</application>.
317 </para>
318 <indexterm zone="NetworkManager nmtui">
319 <primary sortas="b-nmtui">nmtui</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="nmtui-connect">
325 <term><command>nmtui-connect</command></term>
326 <listitem>
327 <para>
328 interactive ncurses based interface connection activate/deactivate.
329 </para>
330 <indexterm zone="NetworkManager nmtui-connect">
331 <primary sortas="b-nmtui-connect">nmtui-connect</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="nmtui-edit">
337 <term><command>nmtui-edit</command></term>
338 <listitem>
339 <para>
340 interactive ncurses based interface connection editor.
341 </para>
342 <indexterm zone="NetworkManager nmtui-edit">
343 <primary sortas="b-nmtui-edit">nmtui-edit</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="nmtui-hostname">
349 <term><command>nmtui-hostname</command></term>
350 <listitem>
351 <para>
352 interactive ncurses based interface hostname editor.
353 </para>
354 <indexterm zone="NetworkManager nmtui-hostname">
355 <primary sortas="b-nmtui-hostname">nmtui-hostname</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="NetworkManager-prog">
361 <term><command>NetworkManager</command></term>
362 <listitem>
363 <para>
364 is the network management daemon.
365 </para>
366 <indexterm zone="NetworkManager NetworkManager-prog">
367 <primary sortas="b-NetworkManager">NetworkManager</primary>
368 </indexterm>
369 </listitem>
370 </varlistentry>
371
372 <varlistentry id="libnm-glib">
373 <term><filename class="libraryfile">libnm-glib.so</filename></term>
374 <listitem>
375 <para>
376 contains functions used by <application>NetworkManager</application>.
377 </para>
378 <indexterm zone="NetworkManager libnm-glib">
379 <primary sortas="c-libnm-glib">libnm-glib.so</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="libnm-glib-vpn">
385 <term><filename class="libraryfile">libnm-glib-vpn.so</filename></term>
386 <listitem>
387 <para>
388 contains functions used by <application>NetworkManager</application>
389 VPN plugins.
390 </para>
391 <indexterm zone="NetworkManager libnm-glib-vpn">
392 <primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="libnm-util">
398 <term><filename class="libraryfile">libnm-util.so</filename></term>
399 <listitem>
400 <para>
401 contains functions used by <application>NetworkManager</application>
402 utils.
403 </para>
404 <indexterm zone="NetworkManager libnm-util">
405 <primary sortas="c-libnm-util">libnm-util.so</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 </variablelist>
411
412 </sect2>
413
414</sect1>
Note: See TracBrowser for help on using the repository browser.