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