source: networking/netutils/networkmanager.xml@ 697cb83f

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 697cb83f was 697cb83f, checked in by Krejzi <krejzi@…>, 9 years ago

ISC DHCP 4.2.4-P1 with bootscript and network service updates. Merged dhcp client configuration into dhcp page.

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

  • Property mode set to 100644
File size: 10.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/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 "85f9ed7fe08533a33c5117488f81e7ac">
12 <!ENTITY NetworkManager-size "1.9 MB">
13 <!ENTITY NetworkManager-buildsize "72 MB">
14 <!ENTITY NetworkManager-time "1.8 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 its available.
40 </para>
41
42 &lfs71_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="libnl"/>,
84 <xref linkend="nss"/>,
85 <xref linkend="udev"/> or <xref linkend="udev-extras"/> (for GUdev), and
86 <xref linkend="wireless_tools"/>
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"/> and
97 <xref linkend="polkit"/>
98 </para>
99
100 <bridgehead renderas="sect4">Optional</bridgehead>
101 <para role="optional">
102 <xref linkend="gtk-doc"/>,
103 <ulink url="http://ftp.gnome.org/pub/gnome/sources/ModemManager/">
104 ModemManager</ulink>,
105 <xref linkend="ppp"/> and
106 <xref linkend="wpa_supplicant"/> (Built with D-Bus support).
107 </para>
108
109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/NetworkManager"/>
111 </para>
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of NetworkManager</title>
116
117 <para>
118 Install <application>NetworkManager</application> by running the following
119 commands:
120 </para>
121
122<screen><userinput>./configure --prefix=/usr \
123 --sysconfdir=/etc \
124 --localstatedir=/var \
125 --libexecdir=/usr/lib/NetworkManager \
126 --without-systemdsystemunitdir \
127 --disable-ppp &amp;&amp;
128make</userinput></screen>
129
130 <para>
131 This package does not come with a testsuite.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>make install</userinput></screen>
139
140 </sect2>
141
142 <sect2 role="commands">
143 <title>Command Explanations</title>
144
145 <para>
146 <option>--without-systemdsystemunitdir</option>: This parameter is needed
147 to avoid <application>systemd</application> files being installed.
148 </para>
149
150 <para>
151 <option>--disable-ppp</option>: This parameter disables optional
152 <application>PPP</application> support in <application>NetworkManager</application>.
153 Omit if you have <xref linkend="ppp"/> installed.
154 </para>
155
156 <para>
157 <parameter>--with-distro=lfs</parameter>: This parameter is only needed if you
158 failed to create <filename>/etc/lfs-release</filename> when you installed LFS.
159 </para>
160
161 </sect2>
162
163 <sect2 role="configuration">
164 <title>Configuring NetworkManager</title>
165
166 <sect3 id="NetworkManager-config">
167 <title>Config Files</title>
168 <para>
169 <filename>/etc/NetworkManager/NetworkManager.conf</filename>
170 </para>
171
172 <indexterm zone="NetworkManager NetworkManager-config">
173 <primary
174 sortas="e-etc-NetworkManager-NetworkManager.conf">
175 /etc/NetworkManager/NetworkManager.conf</primary>
176 </indexterm>
177
178 </sect3>
179
180 <sect3><title>Configuration Information</title>
181
182 <para>
183 For <application>NetworkManager</application> to work, at least
184 minimal configuration file must be present. Such file is not
185 installed with <command>make install</command>. Issue following
186 command as the
187 <systemitem class="username">root</systemitem> user to create
188 minimal <filename>NetworkManager.conf</filename> file:
189 </para>
190
191<screen role="root"><userinput>cat &gt;&gt; /etc/NetworkManager/NetworkManager.conf &lt;&lt; "EOF"
192<literal>[main]
193plugins=keyfile</literal>
194EOF</userinput></screen>
195
196 <para>
197 See <command>man 5 NetworkManager.conf</command> for any additional options.
198 </para>
199
200 </sect3>
201
202 <sect3 id="NetworkManager-init">
203 <title>Boot Script</title>
204
205 <para>
206 To automatically start the <command>NetworkManager</command> daemon when the
207 system is rebooted, install the
208 <filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the
209 <xref linkend="bootscripts"/> package.
210 </para>
211
212 <indexterm zone="NetworkManager NetworkManager-init">
213 <primary sortas="f-NetworkManager">NetworkManager</primary>
214 </indexterm>
215
216<screen role="root"><userinput>make install-networkmanager</userinput></screen>
217 </sect3>
218
219 </sect2>
220
221 <sect2 role="content">
222 <title>Contents</title>
223
224 <segmentedlist>
225 <segtitle>Installed Programs</segtitle>
226 <segtitle>Installed Libraries</segtitle>
227 <segtitle>Installed Directories</segtitle>
228
229 <seglistitem>
230 <seg>
231 nmcli, nm-online, nm-tool and NetworkManager
232 </seg>
233 <seg>
234 libnm-glib.so, libnm-glib-vpn.so and libnm-util.so
235 </seg>
236 <seg>
237 /etc/NetworkManager,
238 /usr/include/libnm-glib,
239 /usr/include/NetworkManager,
240 /usr/lib/NetworkManager,
241 /usr/share/NetworkManager,
242 /var/lib/NetworkManager and
243 /var/run/NetworkManager
244 </seg>
245 </seglistitem>
246 </segmentedlist>
247
248 <variablelist>
249 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
250 <?dbfo list-presentation="list"?>
251 <?dbhtml list-presentation="table"?>
252
253 <varlistentry id="nmcli">
254 <term><command>nmcli</command></term>
255 <listitem>
256 <para>
257 is a command-line tool for controlling
258 <application>NetworkManager</application>
259 and getting its status.
260 </para>
261 <indexterm zone="NetworkManager nmcli">
262 <primary sortas="b-nmcli">nmcli</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="nm-online">
268 <term><command>nm-online</command></term>
269 <listitem>
270 <para>
271 is a utility to find out whether you are online.
272 </para>
273 <indexterm zone="NetworkManager nm-online">
274 <primary sortas="b-nm-online">nm-online</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="nm-tool">
280 <term><command>nm-tool</command></term>
281 <listitem>
282 <para>
283 is used to provide information about
284 <application>NetworkManager</application>,
285 device, and wireless networks.
286 </para>
287 <indexterm zone="NetworkManager nm-tool">
288 <primary sortas="b-nm-tool">nm-tool</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="NetworkManager-prog">
294 <term><command>NetworkManager</command></term>
295 <listitem>
296 <para>
297 is the network management daemon.
298 </para>
299 <indexterm zone="NetworkManager NetworkManager-prog">
300 <primary sortas="b-NetworkManager">NetworkManager</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="libnm-glib">
306 <term><filename class='libraryfile'>libnm-glib.so</filename></term>
307 <listitem>
308 <para>
309 contains functions used by <application>NetworkManager</application>.
310 </para>
311 <indexterm zone="NetworkManager libnm-glib">
312 <primary sortas="c-libnm-glib">libnm-glib.so</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="libnm-glib-vpn">
318 <term><filename class='libraryfile'>libnm-glib-vpn.so</filename></term>
319 <listitem>
320 <para>
321 contains functions used by <application>NetworkManager</application>
322 VPN plugins.
323 </para>
324 <indexterm zone="NetworkManager libnm-glib-vpn">
325 <primary sortas="c-libnm-glib-vpn">libnm-glib-vpn.so</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="libnm-util">
331 <term><filename class='libraryfile'>libnm-util.so</filename></term>
332 <listitem>
333 <para>
334 contains functions used by <application>NetworkManager</application>
335 utils.
336 </para>
337 <indexterm zone="NetworkManager libnm-util">
338 <primary sortas="c-libnm-util">libnm-util.so</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 </variablelist>
344
345 </sect2>
346
347</sect1>
Note: See TracBrowser for help on using the repository browser.