Changeset e5f38d6b for networking


Ignore:
Timestamp:
01/10/2014 04:48:33 PM (10 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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, 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, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
16fe9f5
Parents:
b5e907b2
Message:

Update to dhcpcd-6.2.0.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/connect/dhcpcd.xml

    rb5e907b2 re5f38d6b  
    77  <!ENTITY dhcpcd-download-http "http://roy.marples.name/downloads/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">
    88  <!ENTITY dhcpcd-download-ftp  "ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">
    9   <!ENTITY dhcpcd-md5sum        "6070040c57492925af9ac6aed980de2a">
    10   <!ENTITY dhcpcd-size          "116 KB">
    11   <!ENTITY dhcpcd-buildsize     "2.0 MB">
     9  <!ENTITY dhcpcd-md5sum        "9a21b44992fa070c44160ad24106ff9e">
     10  <!ENTITY dhcpcd-size          "120 KB">
     11  <!ENTITY dhcpcd-buildsize     "1.8 MB">
    1212  <!ENTITY dhcpcd-time          "less than 0.1 SBU">
    1313]>
     
    107107
    108108    <sect3 id="dhcpcd-init">
    109       <title>Configuration Information</title>
     109      <title>General Configuration Information</title>
    110110
    111111      <para>To configure <command>dhcpcd</command>, you need to first install
     
    173173        <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
    174174      </indexterm>
     175    </sect3>
     176
     177    <sect3 id="dhcpcd-init2">
     178      <title>Configuration Information: fixed ip</title>
     179
     180      <para id="dhcpcd-config4">Although not usual, it is possible that you need
     181        to configure <application>dhcpcd</application> to use a fixed ip. Here,
     182        we give an example. As the
     183        <systemitem class="username">root</systemitem> user create the
     184        <filename>/etc/sysconfig/ifconfig.eth0</filename> configuration file
     185        using the following commands.  Adjust appropriately for additional
     186        interfaces and for the actual ip and router you need:</para>
     187
     188      <indexterm zone="dhcpcd dhcpcd-config4">
     189        <primary sortas="e-etc-sysconfig-dhcpcd">/etc/sysconfig/ifconfig.eth0 (dhcpcd)</primary>
     190      </indexterm>
     191
     192<screen role='root'><userinput>cat &gt; /etc/sysconfig/ifconfig.eth0 &lt;&lt; "EOF"
     193<literal>ONBOOT="yes"
     194IFACE="eth0"
     195SERVICE="dhcpcd"
     196DHCP_START="-b -q -S ip_address=192.168.0.10/24 -S routers=192.168.0.1"
     197DHCP_STOP="-k"</literal>
     198EOF</userinput></screen>
     199
     200      <para>For DNS, use your preferred servers in
     201        <filename>/etc/resolv.conf.head</filename>, eg:</para>
     202
     203<screen role='root'><userinput>cat &gt; /etc/resolv.conf.head &lt;&lt; "EOF"
     204<literal># OpenDNS servers
     205nameserver 208.67.222.222
     206nameserver 208.67.220.220</literal>
     207EOF</userinput></screen>
     208
    175209    </sect3>
    176210
Note: See TracChangeset for help on using the changeset viewer.