Ignore:
Timestamp:
09/21/2003 03:11:22 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b2a9f85
Parents:
110ec35a
Message:

update intro to ppp

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

File:
1 edited

Legend:

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

    r110ec35a r36f9a23  
    33<title>dhcp-&dhcp-version;</title>
    44
    5 <para>The dhcp package comes with both a client (called dhclient) and a
    6 server program for using DHCP.  If you want to install this package,
     5<para>The <application>dhcp</application> package comes with both a client
     6(called <command>dhclient</command>) and a server program for using
     7<acronym>DHCP</acronym>.  If you want to install this package,
    78the instructions can be found at <xref linkend="dhcp"/>. 
    89Note that if you only want to use the client, you
    910do <emphasis>not</emphasis> need to run the server and so do not need
    1011the startup script and links provided for the server daemon.
    11 You only need to run the DHCP server if you're providing this
    12 service to a network, and it's likely that you'll know if that's the
     12You only need to run the <acronym>DHCP</acronym> server if you're providing
     13this service to a network, and it's likely that you'll know if that's the
    1314case; if it isn't, don't run the server!  Once you have installed the
    1415package, return here for information on how to configure the client
    15 (dhclient).</para>
     16(<command>dhclient</command>).</para>
    1617
    17 <para>To configure dhclient, you need to create two files,
     18<para>To configure <command>dhclient</command>, you need to create two files,
    1819<filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename> and
    1920<filename>/etc/dhclient.conf</filename>.</para>
     
    2324existing file):</para>
    2425
    25 <para><screen><userinput>cd /etc/sysconfig/network-devices &amp;&amp;
    26 cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</userinput>
     26<screen><userinput><command>cd /etc/sysconfig/network-devices &amp;&amp;
     27cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</command>
    2728ONBOOT=yes
    2829DHCP_PROG=/sbin/dhclient
    2930DHCP_START=&lt;appropriate start parameters&gt;
    3031DHCP_STOP=-r
    31 <userinput>EOF</userinput></screen></para>
     32<command>EOF</command></userinput></screen>
    3233
    3334<para>For more information on the appropriate
    3435<envar>DHCP_START</envar> and <envar>DHCP_STOP</envar>
    35 values, examine the man page for dhclient.</para>
     36values, examine the man page for <command>dhclient</command>.</para>
    3637
    3738<para>Next, you should then create
    3839the <filename>/etc/dhclient.conf</filename> using the following command:</para>
    3940
    40 <para><screen><userinput>cat &gt; /etc/dhclient.conf &lt;&lt; "EOF"</userinput>
     41<screen><userinput><command>cat &gt; /etc/dhclient.conf &lt;&lt; "EOF"</command>
    4142# dhclient.conf
    4243
     
    4849}
    4950# end dhclient.conf
    50 <userinput>EOF</userinput></screen></para>
     51<command>EOF</command></userinput></screen>
    5152
    5253</sect1>
Note: See TracChangeset for help on using the changeset viewer.