source: networking/netutils/networkmanager.xml@ 67cfca2

12.0 12.1 12.2 gimp3 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 67cfca2 was 194d47b, checked in by Douglas R. Reno <renodr@…>, 14 months ago

Archive ISC DHCP (and dhclient).

It's been succeeded by Kea for the server, and dhcpcd for the client.

  • Property mode set to 100644
File size: 25.6 KB
RevLine 
[e33ddee]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
[0d7900a]7 <!ENTITY NetworkManager-download-http
[eae0d6d1]8"&gnome-download-http;/NetworkManager/&NetworkManager-minor;/NetworkManager-&NetworkManager-version;.tar.xz">
[0d7900a]9 <!ENTITY NetworkManager-download-ftp
[eae0d6d1]10"&gnome-download-ftp;/NetworkManager/&NetworkManager-minor;/NetworkManager-&NetworkManager-version;.tar.xz">
[faacea4]11 <!ENTITY NetworkManager-md5sum "e496a6af920e788fd39710799f88721a">
[06d900b]12 <!ENTITY NetworkManager-size "6.4 MB">
[faacea4]13 <!ENTITY NetworkManager-buildsize "257 MB (with tests and documentation)">
14 <!ENTITY NetworkManager-time "0.7 SBU (with tests, using parallelism=4)">
[e33ddee]15]>
16
17<sect1 id="NetworkManager" xreflabel="NetworkManager-&NetworkManager-version;">
18 <?dbhtml filename="networkmanager.html"?>
19
20
21 <title>NetworkManager-&NetworkManager-version;</title>
22
23 <indexterm zone="NetworkManager">
24 <primary sortas="a-NetworkManager">NetworkManager</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to NetworkManager</title>
29
[7ded7e3]30 <para>
31 <application>NetworkManager</application> is a set of co-operative
[e130fead]32 tools that make networking simple and straightforward. Whether you use WiFi,
[8df33ae3]33 wired, 3G, or Bluetooth, NetworkManager allows you to quickly move from
34 one network to another: Once a network has been configured and joined
35 once, it can be detected and re-joined automatically the next time it's
36 available.
[7ded7e3]37 </para>
[e33ddee]38
[4b6e2b2]39 &lfs113_checked;
[e33ddee]40
[cec6657e]41 <note revision="systemd">
42 <para>
43 Make sure that you disable the <command>systemd-networkd</command>
44 service or configure it not to manage the interfaces you want to manage
45 with <application>NetworkManager</application>.
46 </para>
47 </note>
48
[e33ddee]49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
[7ded7e3]52 <para>
53 Download (HTTP): <ulink url="&NetworkManager-download-http;"/>
54 </para>
[e33ddee]55 </listitem>
56 <listitem>
[7ded7e3]57 <para>
58 Download (FTP): <ulink url="&NetworkManager-download-ftp;"/>
59 </para>
[e33ddee]60 </listitem>
61 <listitem>
[7ded7e3]62 <para>
63 Download MD5 sum: &NetworkManager-md5sum;
64 </para>
[e33ddee]65 </listitem>
66 <listitem>
[7ded7e3]67 <para>
68 Download size: &NetworkManager-size;
69 </para>
[e33ddee]70 </listitem>
71 <listitem>
[7ded7e3]72 <para>
73 Estimated disk space required: &NetworkManager-buildsize;
74 </para>
[e33ddee]75 </listitem>
76 <listitem>
[7ded7e3]77 <para>
78 Estimated build time: &NetworkManager-time;
79 </para>
[e33ddee]80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">NetworkManager Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
[d497e89]86 <para role="required">
[7be78b9a]87 <xref linkend="jansson"/> and
[d267a13]88 <xref linkend="libndp"/>
[d497e89]89 </para>
90
91 <bridgehead renderas="sect4">Recommended</bridgehead>
92 <para role="recommended">
[c4ae27ab]93 <xref linkend="curl"/>,
[194d47b]94 <xref linkend="dhcpcd"/>
[4b3c4b2]95 <xref linkend="gobject-introspection"/>,
[b7d1d2b]96 <xref linkend="iptables"/>,
[696fed8]97 <xref linkend="newt"/> (for <command>nmtui</command>),
[d267a13]98 <xref linkend="nss"/>,
[6e1616e2]99 <xref linkend="polkit"/>,
[b528d0f4]100 <xref linkend="pygobject3"/>,
[51dfb3e]101 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
[cec6657e]102 <phrase revision="systemd"><xref linkend="systemd"/>,</phrase>
[f3429309]103 <xref linkend="upower"/>,
[626bb04]104 <xref linkend="vala"/>, and
[9a381c8]105 <xref linkend="wpa_supplicant"/> (runtime, built with D-Bus support)
[d497e89]106 </para>
[e33ddee]107
[d0880dfa]108 <bridgehead renderas="sect4">Optional</bridgehead>
[d497e89]109 <para role="optional">
[d4f4107]110 <xref linkend="bluez"/>,
[e64cabd]111 <xref linkend="dbus-python"/> (for the test suite),
[4a9054a8]112 <!-- <xref linkend="firewalld"/> (For whenever firewalld is reintroduced) -->
[261fdeb]113 <xref linkend="gnutls"/> (can be used instead of <xref linkend="nss"/>),
[d497e89]114 <xref linkend="gtk-doc"/>,
[1ad3510e]115 <xref linkend="libpsl"/>,
[e4d2b8d]116 <xref linkend="qt5"/> (for examples),
[7d645679]117 <xref linkend="ModemManager"/>,
[acb3e9f]118 <xref linkend="valgrind"/>,
[75e3e09]119 <ulink url="https://thekelleys.org.uk/dnsmasq/doc.html">dnsmasq</ulink>,
[365c6fb]120 <ulink url="https://firewalld.org/">firewalld</ulink>,
[262a108]121 <ulink url="https://github.com/Distrotech/libaudit">libaudit</ulink>,
[4f5369a]122 <ulink url="https://github.com/jpirko/libteam">libteam</ulink>,
[01701da9]123 <ulink url="&gnome-download-http;/mobile-broadband-provider-info/">mobile-broadband-provider-info</ulink>,
[cec6657e]124 <ulink url="https://www.samba.org/ftp/ppp/">PPP</ulink>, and
[e130fead]125 <ulink url="https://dianne.skoll.ca/projects/rp-pppoe/">RP-PPPoE</ulink>
[d497e89]126 </para>
[d0880dfa]127
[e33ddee]128 </sect2>
129
[13b116c]130 <sect2 role="kernel" id="NetworkManager-kernel">
131 <title>Kernel Configuration</title>
132
133 <para>
[fc88f1f]134 If you wish to run the tests, check that at least the following options
135 are enabled in the kernel configuration. Those options have been
136 determined to be necessary, but may not be sufficient. Recompile the
137 kernel if necessary:
[13b116c]138 </para>
139
[8558044]140 <!-- Ethernet Teaming support is potentially optional, but I didn't
[13b116c]141 run the tests again to test that. It was needed to convince one of
142 the Linux Platform tests to move farther along because otherwise
143 RTNETLINK would respond with an Error 95 - unknown device type.
[fc88f1f]144 This would cause the test to fail early on in the process.
145
146 [pierre, Nov 2022]: I cannot tell whether these options are
147 the only ones that are needed. They are the options I had to add
148 in order to have some tests pass. But I already had some other
149 options set for packet filtering (iptables), that may not be
150 available by default and may be necessary. Even with the options
151 below still one test (test-route) fails.-->
152
[7ea158e]153<screen><literal>[*] Networking support---&gt; [CONFIG_NET]
[fc88f1f]154 Networking options---&gt;
155 [*] TCP/IP networking [CONFIG_INET]
156 &lt;*/M&gt; IP: tunelling [CONFIG_NET_IPIP]
157 &lt;*/M&gt; IP: GRE demultiplexer [CONFIG_NET_IPGRE_DEMUX]
158 &lt;*/M&gt; IP: GRE tunnels over IP [CONFIG_NET_IPGRE]
159 &lt;*&gt; The IPv6 protocol ---&gt; [CONFIG_IPV6]
160 &lt;*/M&gt; IPv6: IPv6-in-IPv4 tunnel (SIT driver) [CONFIG_IPV6_SIT]
161 &lt;*/M&gt; IPv6: GRE tunnel [CONFIG_IPV6_GRE]
162 [*] IPv6: Multiple Routing Tables [CONFIG_IPV6_MULTIPLE_TABLES]
163 [*] MPTCP: Multipath TCP [CONFIG_MPTCP]
164 [*] MPTCP: IPv6 support for Multipath TCP [CONFIG_MPTCP_IPV6]
165 &lt;*/M&gt; 802.1Q/802.1ad VLAN Support [CONFIG_VLAN_8021Q]
166 [*] QoS and/or fair queueing ---&gt; [CONFIG_NET_SCHED]
167 &lt;*/M&gt; Stochastic Fairness Queueing (SFQ) [CONFIG_NET_SCH_SFQ]
168 &lt;*/M&gt; Token Bucket Filter (TBF) [CONFIG_NET_SCH_TBF]
169 &lt;*/M&gt; Fair Queue Controlled Delay AQM (FQ_CODEL) [CONFIG_NET_SCH_FQ_CODEL]
170 &lt;*/M&gt; Ingress/classifier-action Qdisc [CONFIG_NET_SCH_INGRESS]
171 Device Drivers ---&gt;
172 [*] Network device support ---&gt; [CONFIG_NETDEVICES]
173 [*] Network core driver support [CONFIG_NET_CORE]
174 &lt;*&gt; Bonding driver support [CONFIG_BONDING]
175 &lt;*&gt; Dummy net driver support [CONFIG_DUMMY]
176 &lt;*&gt; Ethernet team driver support ---&gt; [CONFIG_NET_TEAM]
177 &lt;*&gt; MAC-VLAN support [CONFIG_MACVLAN]
178 &lt;*&gt; MAC-VLAN based tap driver [CONFIG_MACVTAP]
179 &lt;*&gt; IP-VLAN support [CONFIG_IPVLAN]
180 &lt;*&gt; Virtual eXtensible Local Area Network (VXLAN) [CONFIG_VXLAN]
181 &lt;*&gt; Virtual ethernet pair device [CONFIG_VETH]
[7ea158e]182 &lt;*&gt; Virtual Routing and Forwarding (Lite) [CONFIG_VRF]</literal></screen>
[13b116c]183
184 <indexterm zone="NetworkManager NetworkManager-kernel">
185 <primary sortas="d-NetworkManager">NetworkManager</primary>
186 </indexterm>
187 </sect2>
188
[e33ddee]189 <sect2 role="installation">
190 <title>Installation of NetworkManager</title>
191
[7c56ece]192 <para>
[8558044]193 If <xref linkend="qt5"/> is installed and the Qt based
[7c56ece]194 examples are desired, fix two meson.build files:
195 </para>
[e4d2b8d]196
[e022b07]197<screen><userinput>sed -e 's/-qt4/-qt5/' \
[e4d2b8d]198 -e 's/moc_location/host_bins/' \
[6573fc3]199 -i examples/C/qt/meson.build &amp;&amp;
[40d141f]200
[6573fc3]201sed -e 's/Qt/&amp;5/' \
202 -i meson.build</userinput></screen>
[d267a13]203
[f61c18e]204<!--
[d267a13]205 <para>
206 Fix a missing meson.build file for initrd hooks (not used in BLFS):
207 </para>
208
[4da49b9]209<screen><userinput>sed '/initrd/d' -i src/core/meson.build</userinput></screen>
[f61c18e]210-->
[e4d2b8d]211
[fdbfe39]212 <para>
213 Fix the python scripts so that they use <application>Python
214 3</application>:
215 </para>
216
217<screen><userinput>grep -rl '^#!.*python$' | xargs sed -i '1s/python/&amp;3/'</userinput></screen>
218
[7ded7e3]219 <para>
[7c4f32b]220 Install <application>NetworkManager</application> by running the
221 following commands:
[7ded7e3]222 </para>
[e33ddee]223
[d267a13]224<screen revision="sysv"><userinput>mkdir build &amp;&amp;
[7d07abd]225cd build &amp;&amp;
[d267a13]226
227CXXFLAGS+="-O2 -fPIC" \
[91318eb]228meson setup .. \
[4b6e2b2]229 --prefix=/usr \
[adf17153]230 --buildtype=release \
[d267a13]231 -Dlibaudit=no \
[39100371]232 -Dlibpsl=false \
233 -Dnmtui=true \
234 -Dovs=false \
235 -Dppp=false \
[d267a13]236 -Dselinux=false \
[51dfb3e]237 -Dsession_tracking=elogind \
[39100371]238 -Dmodem_manager=false \
[d267a13]239 -Dsystemdsystemunitdir=no \
240 -Dsystemd_journal=false \
[91318eb]241 -Dqt=false &amp;&amp;
[d267a13]242ninja</userinput></screen>
243
244<screen revision="systemd"><userinput>mkdir build &amp;&amp;
[7d07abd]245cd build &amp;&amp;
[d267a13]246
247CXXFLAGS+="-O2 -fPIC" \
[91318eb]248meson setup .. \
[4b6e2b2]249 --prefix=/usr \
[adf17153]250 --buildtype=release \
[d267a13]251 -Dlibaudit=no \
[39100371]252 -Dlibpsl=false \
253 -Dnmtui=true \
254 -Dovs=false \
255 -Dppp=false \
[d267a13]256 -Dselinux=false \
257 -Dqt=false \
258 -Dsession_tracking=systemd \
[91318eb]259 -Dmodem_manager=false &amp;&amp;
[d267a13]260ninja</userinput></screen>
[cec6657e]261
[7ded7e3]262 <para>
[0bfaca0]263 An already active graphical session with a bus address is necessary
264 to run the tests. To test the results, issue
265 <command>ninja test</command>.
[fc88f1f]266 </para>
267
268 <para>
269 A few tests may fail, depending on enabled kernel options.
[7ded7e3]270 </para>
[e33ddee]271
[7ded7e3]272 <para>
273 Now, as the <systemitem class="username">root</systemitem> user:
274 </para>
[e33ddee]275
[d267a13]276<screen role="root"><userinput>ninja install &amp;&amp;
277mv -v /usr/share/doc/NetworkManager{,-&NetworkManager-version;}</userinput></screen>
[e33ddee]278
[4d6a0e2]279 <para>
280 If you have not passed the <option>-Ddocs=true</option> option to
281 <command>meson</command>, you can install the pregenerated manual pages
282 with (as the &root; user):
283 </para>
284
285<screen role="root"><userinput>for file in $(echo ../man/*.[1578]); do
286 section=${file##*.} &amp;&amp;
287 install -vdm 755 /usr/share/man/man$section
288 install -vm 644 $file /usr/share/man/man$section/
289done</userinput></screen>
290
291 <para>
292 Still in case you have not used <option>-Ddocs=true</option>, the
293 pregenerated HTML documentation can also be installed with (as
294 the &root; user):
295 </para>
296
297<screen role="root"
298 remap="doc"><userinput>cp -Rv ../docs/{api,libnm} /usr/share/doc/NetworkManager-&NetworkManager-version;</userinput></screen>
299
[e33ddee]300 </sect2>
301
302 <sect2 role="commands">
303 <title>Command Explanations</title>
304
[e4d2b8d]305 <para>
[8558044]306 <envar>CXXFLAGS="-O2 -fPIC"</envar>: These compiler options are
[e4d2b8d]307 necessary to build the Qt5 based examples.
308 </para>
309
[adf17153]310 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
311 href="../../xincludes/meson-buildtype-release.xml"/>
312
[e64cabd]313 <para>
[fdbfe39]314 <option>-Ddocs=true</option>: Use this switch to enable building
[39100371]315 man pages and documentation if <xref linkend="gtk-doc"/> is installed.
[e64cabd]316 </para>
317
[7ded7e3]318 <para>
[d267a13]319 <parameter>-Dnmtui=true</parameter>: This parameter enables building
[acb3e9f]320 <command>nmtui</command>.
321 </para>
322
[d267a13]323 <para revision="sysv">
[51dfb3e]324 <parameter>-Dsystemdsystemunitdir=no</parameter> and
[d267a13]325 <parameter>-Dsystemd_journal=false</parameter>: systemd is not
326 used for sysv init systems.
327 </para>
328
[39100371]329 <para>
[21d18f7e]330 <parameter>-Dlibpsl=false</parameter> and
[e130fead]331 <parameter>-Dovs=false</parameter>: These switches disable building with the
[39100371]332 respective libraries. Remove if you have the needed libraries installed.
333 </para>
[8558044]334
[52c95143]335<!--
[39100371]336 <para>
[f759a25]337 <parameter>-Dlibpsl=false</parameter>: This switch is required if
338 <application>libpsl</application> is not installed. Omit this switch if
339 you have built <application>libpsl</application>.
340 </para>
[52c95143]341-->
[f759a25]342
343 <para>
[2c87187]344 <parameter>-Dmodem_manager=false</parameter>: This switch is required if
[39100371]345 <application>ModemManager</application> is not installed. Omit if you
[a406810]346 have built <application>ModemManager</application> and
347 <application>mobile-broadband-provider-info</application>.
[39100371]348 </para>
349
[51dfb3e]350 <para revision="sysv">
351 <parameter>-Dsession_tracking=elogind</parameter>: This switch
352 is used to set <command>elogind</command> as the default
353 program for session tracking.
354 </para>
355
[cec6657e]356 <para revision="systemd">
[d267a13]357 <parameter>-Dsession_tracking=systemd</parameter>: This switch
[cec6657e]358 is used to set <command>systemd-logind</command> as the default
359 program for session tracking.
360 </para>
361
362 <para revision="systemd">
[d267a13]363 <parameter>-Dsystemdsystemunitdir=/lib/systemd/system</parameter>:
[cec6657e]364 This switch is used to set the correct installation directory for
365 systemd units.
366 </para>
367
[acb3e9f]368 <para>
[d267a13]369 <parameter>-Dppp=false</parameter>: This parameter disables
[6e1616e2]370 <application>PPP</application> support in
371 <application>NetworkManager</application>.
[7ded7e3]372 </para>
[e33ddee]373
[8c7390c]374 <para>
[d267a13]375 <parameter>-Dlibaudit=no</parameter> and
376 <parameter>-Dselinux=false</parameter>: libaudit and SELinux are not used
377 in BLFS.
[d6e164b]378 </para>
[e33ddee]379
[b528d0f4]380 <para>
[d267a13]381 <parameter>-Dqt=false</parameter>: disables the
382 <application>QT</application> examples. Omit if you have
383 <application>QT</application> available and wish to install the examples.
[b528d0f4]384 </para>
385
[261fdeb]386 <para>
387 <option>-Dcrypto=gnutls</option>: Use this switch if you have GnuTLS
388 installed and want to use it for certificate and key operations in
389 NetworkManager, instead of using NSS (the default).
390 </para>
391
392 <para>
393 <option>-Dcrypto=null</option>: Use this switch if neither NSS nor
394 GnuTLS is installed but you want to build NetworkManager anyway. This
395 switch will make NetworkManager lack some features (for example
396 802.1X).
397 </para>
398
[e33ddee]399 </sect2>
400
[d497e89]401 <sect2 role="configuration">
402 <title>Configuring NetworkManager</title>
403
404 <sect3 id="NetworkManager-config">
405 <title>Config Files</title>
406 <para>
407 <filename>/etc/NetworkManager/NetworkManager.conf</filename>
408 </para>
409
410 <indexterm zone="NetworkManager NetworkManager-config">
411 <primary
412 sortas="e-etc-NetworkManager-NetworkManager.conf">
413 /etc/NetworkManager/NetworkManager.conf</primary>
414 </indexterm>
415
416 </sect3>
417
418 <sect3><title>Configuration Information</title>
419
420 <para>
421 For <application>NetworkManager</application> to work, at least
[21d18f7e]422 a minimal configuration file must be present. Such a file is not
[8df33ae3]423 installed with <command>make install</command>. Issue the following
424 command as the <systemitem class="username">root</systemitem> user to
[21d18f7e]425 create a minimal <filename>NetworkManager.conf</filename> file:
[d497e89]426 </para>
427
428<screen role="root"><userinput>cat &gt;&gt; /etc/NetworkManager/NetworkManager.conf &lt;&lt; "EOF"
429<literal>[main]
430plugins=keyfile</literal>
431EOF</userinput></screen>
432
433 <para>
[7fd06b0]434 This file should not be modified directly by users of the system.
435 Instead, system specific changes should be made using configuration
436 files in the
437 <filename class="directory">/etc/NetworkManager/conf.d</filename>
[21d18f7e]438 directory.
[7fd06b0]439 </para>
440
441 <para>
442 To allow polkit to manage authorizations, add the following
443 configuration file:
444 </para>
445
446<screen role="root"><userinput>cat &gt; /etc/NetworkManager/conf.d/polkit.conf &lt;&lt; "EOF"
447<literal>[main]
448auth-polkit=true</literal>
449EOF</userinput></screen>
450
451 <para>
452 To use something other than the built-in dhcp client (recommended if
453 using only <command>nmcli</command>), use the following configuration
[194d47b]454 (valid values include either dhcpcd or internal):
[7fd06b0]455 </para>
456
457<screen role="nodump"><userinput>cat &gt; /etc/NetworkManager/conf.d/dhcp.conf &lt;&lt; "EOF"
458<literal>[main]
[194d47b]459dhcp=</literal><replaceable>dhcpcd</replaceable>
[7fd06b0]460EOF</userinput></screen>
461
462 <para>
463 To prevent <application>NetworkManager</application> from updating the
464 <filename>/etc/resolv.conf</filename> file, add the following
465 configuration file:
466 </para>
467
468<screen role="nodump"><userinput>cat &gt; /etc/NetworkManager/conf.d/no-dns-update.conf &lt;&lt; "EOF"
469<literal>[main]
470dns=none</literal>
471EOF</userinput></screen>
472
473 <para>
[5f729f8]474 For additional configuration options, see
[7fd06b0]475 <command>man 5 NetworkManager.conf</command>.
[0d7900a]476 </para>
[d497e89]477
[8df33ae3]478 <para>
[21d18f7e]479 To allow regular users to configure network connections,
[8df33ae3]480 you should add them to the
481 <systemitem class="groupname">netdev</systemitem>
482 group, and create a <application>polkit</application> rule that grants
483 access. Run the following commands as the
484 <systemitem class="username">root</systemitem> user:
485 </para>
486
[a581662]487<screen role="root"><userinput>groupadd -fg 86 netdev &amp;&amp;
[b88584a]488/usr/sbin/usermod -a -G netdev <replaceable>&lt;username&gt;</replaceable>
[8df33ae3]489
490cat &gt; /usr/share/polkit-1/rules.d/org.freedesktop.NetworkManager.rules &lt;&lt; "EOF"
491<literal>polkit.addRule(function(action, subject) {
492 if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 &amp;&amp; subject.isInGroup("netdev")) {
493 return polkit.Result.YES;
494 }
495});</literal>
496EOF</userinput></screen>
497
[d497e89]498 </sect3>
499
500 <sect3 id="NetworkManager-init">
[cec6657e]501 <title><phrase revision="sysv">Boot Script</phrase>
502 <phrase revision="systemd">Systemd Unit</phrase></title>
503
504 <para revision="sysv">
505 To automatically start the <command>NetworkManager</command> daemon
506 when the system is rebooted, install the
[8558044]507 <filename>/etc/rc.d/init.d/networkmanager</filename>bootscript from the
[cec6657e]508 <xref linkend="bootscripts"/> package.
509 </para>
[d497e89]510
[cec6657e]511 <para revision="systemd">
512 To start the <command>NetworkManager</command> daemon at boot, enable
513 the previously installed systemd unit by running the following command
514 as the <systemitem class="username">root</systemitem> user:
[d497e89]515 </para>
516
[8df33ae3]517 <note>
518 <para>
519 If using <application>Network Manager</application> to manage
520 an interface, any previous configuration for that interface should be
521 removed, and the interface brought down prior to starting
522 <application>Network Manager</application>.
523 </para>
524 </note>
[8558044]525
[d497e89]526 <indexterm zone="NetworkManager NetworkManager-init">
527 <primary sortas="f-NetworkManager">NetworkManager</primary>
528 </indexterm>
529
[cec6657e]530<screen role="root" revision="sysv"><userinput>make install-networkmanager</userinput></screen>
531
532<screen role="root" revision="systemd"><userinput>systemctl enable NetworkManager</userinput></screen>
[e2a1442]533<!-- The below instruction is obsolete. NetworkManager-wait-online is now
534 enabled by default when enabling NetworkManager. -->
535<!--
[cec6657e]536 <para revision="systemd">
537 <application>NetworkManager</application> also ships a systemd unit
538 called <filename>NetworkManager-wait-online.service</filename> which
539 can be used to prevent services that require network connectivity
540 from starting until <application>NetworkManager</application> has
541 established the connection. To enable it, run the following command
542 as the <systemitem class="username">root</systemitem> user:
543 </para>
544
545<screen role="root" revision="systemd"><userinput>systemctl enable NetworkManager-wait-online</userinput></screen>
[e2a1442]546 -->
547 <!-- As such, let's now provide instructions on how to disable that
548 behavior, for those who wish to do so. -->
549 <para revision="systemd">
550 Starting in version 1.11.2 of <application>NetworkManager</application>,
551 a systemd unit named <filename>NetworkManager-wait-online.service</filename>
552 is enabled, which is used to prevent services that require network
553 connectivity from starting until <application>NetworkManager</application>
554 establishes a connection. To disable this behavior, run the following
555 command as the <systemitem class="username">root</systemitem> user:
556 </para>
557
558<screen role="root" revision="systemd"><userinput>systemctl disable NetworkManager-wait-online</userinput></screen>
[2cd1071]559
[d497e89]560 </sect3>
561
562 </sect2>
563
[e33ddee]564 <sect2 role="content">
565 <title>Contents</title>
566
567 <segmentedlist>
568 <segtitle>Installed Programs</segtitle>
569 <segtitle>Installed Libraries</segtitle>
570 <segtitle>Installed Directories</segtitle>
571
572 <seglistitem>
[d497e89]573 <seg>
[8c7390c]574 NetworkManager, nmcli, nm-online, nmtui, and, symlinked to nmtui:
575 nmtui-connect, nmtui-edit, and nmtui-hostname
[d497e89]576 </seg>
577 <seg>
[b9f17a8]578 libnm.so
[52c95143]579 and several modules under /usr/lib/NetworkManager
[d497e89]580 </seg>
581 <seg>
[5aa7dce]582 /etc/NetworkManager,
[05a433b]583 /usr/include/libnm,
[5aa7dce]584 /usr/lib/NetworkManager,
585 /usr/share/doc/NetworkManager-&NetworkManager-version;,
[b9f17a8]586 /usr/share/gtk-doc/html/{libnm,NetworkManager}
587 (if the documentation is built),
[5aa7dce]588 and
[262a108]589 /var/lib/NetworkManager
[d497e89]590 </seg>
[e33ddee]591 </seglistitem>
592 </segmentedlist>
593
594 <variablelist>
595 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
596 <?dbfo list-presentation="list"?>
597 <?dbhtml list-presentation="table"?>
598
[d497e89]599 <varlistentry id="nmcli">
600 <term><command>nmcli</command></term>
[e33ddee]601 <listitem>
[7ded7e3]602 <para>
603 is a command-line tool for controlling
[0d7900a]604 <application>NetworkManager</application>
[4c24eb0a]605 and getting its status
[7ded7e3]606 </para>
[d497e89]607 <indexterm zone="NetworkManager nmcli">
608 <primary sortas="b-nmcli">nmcli</primary>
[e33ddee]609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="nm-online">
614 <term><command>nm-online</command></term>
615 <listitem>
[7ded7e3]616 <para>
[4c24eb0a]617 is an utility to determine whether you are online
[7ded7e3]618 </para>
[e33ddee]619 <indexterm zone="NetworkManager nm-online">
620 <primary sortas="b-nm-online">nm-online</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
[acb3e9f]625 <varlistentry id="nmtui">
626 <term><command>nmtui</command></term>
627 <listitem>
628 <para>
[21d18f7e]629 is an interactive ncurses-based user interface for
[4c24eb0a]630 <application>nmcli</application>
[acb3e9f]631 </para>
632 <indexterm zone="NetworkManager nmtui">
633 <primary sortas="b-nmtui">nmtui</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="nmtui-connect">
639 <term><command>nmtui-connect</command></term>
640 <listitem>
641 <para>
[21d18f7e]642 is an interactive ncurses-based user interface to
[4c24eb0a]643 activate/deactivate connections
[acb3e9f]644 </para>
645 <indexterm zone="NetworkManager nmtui-connect">
646 <primary sortas="b-nmtui-connect">nmtui-connect</primary>
647 </indexterm>
648 </listitem>
649 </varlistentry>
650
651 <varlistentry id="nmtui-edit">
652 <term><command>nmtui-edit</command></term>
653 <listitem>
654 <para>
[4c24eb0a]655 is an interactive ncurses-based user interface to edit connections
[acb3e9f]656 </para>
657 <indexterm zone="NetworkManager nmtui-edit">
658 <primary sortas="b-nmtui-edit">nmtui-edit</primary>
659 </indexterm>
660 </listitem>
661 </varlistentry>
662
663 <varlistentry id="nmtui-hostname">
664 <term><command>nmtui-hostname</command></term>
[e33ddee]665 <listitem>
[7ded7e3]666 <para>
[4c24eb0a]667 is an interactive ncurses-based user interface to edit the hostname
[7ded7e3]668 </para>
[acb3e9f]669 <indexterm zone="NetworkManager nmtui-hostname">
670 <primary sortas="b-nmtui-hostname">nmtui-hostname</primary>
[e33ddee]671 </indexterm>
672 </listitem>
673 </varlistentry>
674
[d497e89]675 <varlistentry id="NetworkManager-prog">
676 <term><command>NetworkManager</command></term>
[e33ddee]677 <listitem>
[7ded7e3]678 <para>
[4c24eb0a]679 is the network management daemon
[7ded7e3]680 </para>
[d497e89]681 <indexterm zone="NetworkManager NetworkManager-prog">
[7ded7e3]682 <primary sortas="b-NetworkManager">NetworkManager</primary>
[e33ddee]683 </indexterm>
684 </listitem>
685 </varlistentry>
686
[262a108]687 <varlistentry id="libnm">
688 <term><filename class="libraryfile">libnm.so</filename></term>
[e33ddee]689 <listitem>
[7ded7e3]690 <para>
[4c24eb0a]691 contains functions used by <application>NetworkManager</application>
[7ded7e3]692 </para>
[262a108]693 <indexterm zone="NetworkManager libnm">
694 <primary sortas="c-libnm">libnm.so</primary>
[e33ddee]695 </indexterm>
696 </listitem>
697 </varlistentry>
698 </variablelist>
699
700 </sect2>
701
702</sect1>
Note: See TracBrowser for help on using the repository browser.