Changeset 7fd06b0 for networking


Ignore:
Timestamp:
12/16/2018 08:39:36 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c261b9c
Parents:
5ac58b54
Message:

Clarify modular configuration of NetworkManager with examples of common and recommended configurations.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netutils/networkmanager.xml

    r5ac58b54 r7fd06b0  
    302302
    303303      <para>
    304         You can add <option>dns=none</option> to suppress changes to
    305          <filename>/etc/resolv.conf</filename>. See
    306          <command>man 5 NetworkManager.conf</command>
    307          for any additional options.
     304        This file should not be modified directly by users of the system.
     305        Instead, system specific changes should be made using configuration
     306        files in the
     307        <filename class="directory">/etc/NetworkManager/conf.d</filename>
     308        direcotry.
     309      </para>
     310
     311      <para>
     312        To allow polkit to manage authorizations, add the following
     313        configuration file:
     314      </para>
     315
     316<screen role="root"><userinput>cat &gt; /etc/NetworkManager/conf.d/polkit.conf &lt;&lt; "EOF"
     317<literal>[main]
     318auth-polkit=true</literal>
     319EOF</userinput></screen>
     320
     321      <para>
     322        To use something other than the built-in dhcp client (recommended if
     323        using only <command>nmcli</command>), use the following configuration
     324       (valid values are dhclient, dhcpcd, and internal):
     325      </para>
     326
     327<screen role="nodump"><userinput>cat &gt; /etc/NetworkManager/conf.d/dhcp.conf &lt;&lt; "EOF"
     328<literal>[main]
     329dhcp=</literal><replaceable>dhclient</replaceable>
     330EOF</userinput></screen>
     331
     332      <para>
     333        To prevent <application>NetworkManager</application> from updating the
     334        <filename>/etc/resolv.conf</filename> file, add the following
     335        configuration file:
     336      </para>
     337
     338<screen role="nodump"><userinput>cat &gt; /etc/NetworkManager/conf.d/no-dns-update.conf &lt;&lt; "EOF"
     339<literal>[main]
     340dns=none</literal>
     341EOF</userinput></screen>
     342
     343      <para>
     344        For additional configuation options, see
     345        <command>man 5 NetworkManager.conf</command>.
    308346      </para>
    309347
Note: See TracChangeset for help on using the changeset viewer.