Ignore:
Timestamp:
07/29/2004 04:53:55 AM (20 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, 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:
912a09b6
Parents:
68df39bf
Message:

moved to new neworking setup in testing branch

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • connect/dhcp/dhcp-client.xml

    r68df39bf rafa198d  
    3030<screen><userinput><command>make install-service-dhclient</command></userinput></screen>
    3131
    32 <para>Next, create the <filename>ifconfig.eth0</filename>
    33 file with the following commands.  Adjust as necessary for additional
    34 interfaces.</para>
     32<para>Next, create the
     33<filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhclient</filename>
     34configuration file with the following commands.  Adjust as necessary for
     35additional interfaces.</para>
    3536
    36 <para><emphasis>Note</emphasis>: this will overwrite any existing file.</para>
    37 
    38 <screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</command>
    39 ONBOOT=yes
    40 DHCP_START="<replaceable>[place appropriate start parameters here]</replaceable>"
    41 DHCP_STOP="-r <replaceable>[add additional stop parameters here]</replaceable>"
    42 SERVICE=dhclient
     37<screen><userinput><command>install -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
     38cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0/dhclient &lt;&lt; "EOF"</command>
     39ONBOOT="yes"
     40SERVICE="dhclient"
     41DHCP_START="-q <replaceable>[add additional start parameters here]</replaceable>"
     42DHCP_STOP="-q -r <replaceable>[add additional stop parameters here]</replaceable>"
    4343<command>EOF</command></userinput></screen>
    4444
     
    4747values, examine the man page for <command>dhclient</command>.</para>
    4848
    49 <para> You should then create
    50 <filename>/etc/dhclient.conf</filename> using the following
    51 commands.  Append to the file if you have more than one interface:</para>
     49<para>Finally, you should create the
     50<filename>/etc/dhclient.conf</filename> file using the following
     51commands:</para> 
     52
     53<note>You'll need to add a second interface definition to the file if you
     54have more than one interface.</note>
    5255
    5356<screen><userinput><command>cat &gt; /etc/dhclient.conf &lt;&lt; "EOF"</command>
     
    6366<command>EOF</command></userinput></screen>
    6467
    65 <para>Finally, if the <acronym>DHCP</acronym> configured interface is
    66 used as your default gateway, you should remove the GATEWAY and GATEWAY_IF
    67 variables from <filename>/etc/sysconfig/network</filename>: </para>
    68 
    69 <screen><userinput><command>sed -i "s/GATEWAY/#GATEWAY/" /etc/sysconfig/network</command></userinput></screen>
    70 
    7168</sect1>
Note: See TracChangeset for help on using the changeset viewer.