Changeset b5ea3492 for connect/dhcp
- Timestamp:
- 03/21/2004 07:27:22 PM (20 years ago)
- 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_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- cc265e51
- Parents:
- f53f1b3c
- Location:
- connect/dhcp
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
connect/dhcp/dhcp-client.xml
rf53f1b3c rb5ea3492 16 16 (<command>dhclient</command>).</para> 17 17 18 <para>To configure <command>dhclient</command>, you need to create two files, 19 <filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename> and 20 <filename>/etc/dhclient.conf</filename>.</para> 18 <para>To configure <command>dhclient</command>, we need to first install 19 the network service script, 20 <filename>/etc/sysconfig/network-devices/services/dhclient</filename> 21 included in the <xref linkend="intro-important-bootscripts"/> package.</para> 21 22 22 <para>First, create the <filename>ifconfig.eth0</filename> 23 file with the following commands (note that this will overwrite any 24 existing file):</para> 23 <screen><userinput><command>make install-service-dhclient</command></userinput></screen> 25 24 26 <screen><userinput><command>cd /etc/sysconfig/network-devices && 27 cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</command> 25 <para>Next, create the <filename>ifconfig.eth0</filename> 26 file with the following commands. Adjust as necessary for additional 27 interfaces.</para> 28 29 <para><emphasis>Note</emphasis>: this will overwrite any existing file.</para> 30 31 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</command> 28 32 ONBOOT=yes 29 DHCP_ PROG=/sbin/dhclient30 DHCP_ST ART=<appropriate start parameters>31 DHCP_STOP=-r 33 DHCP_START="<place appropriate start parameters here>" 34 DHCP_STOP="-r <add additional stop parameters here>" 35 SERVICE=dhclient 32 36 <command>EOF</command></userinput></screen> 33 37 … … 36 40 values, examine the man page for <command>dhclient</command>.</para> 37 41 38 <para>Next, you should then create 39 the <filename>/etc/dhclient.conf</filename> using the following command:</para> 42 <para>Finally, you should then create 43 the <filename>/etc/dhclient.conf</filename> using the following 44 commands. Append to the file if you have more than one interface:</para> 40 45 41 46 <screen><userinput><command>cat > /etc/dhclient.conf << "EOF"</command> -
connect/dhcp/dhcp.xml
rf53f1b3c rb5ea3492 12 12 <para>We currently provide installation instructions for two 13 13 <acronym>DHCP</acronym> clients, <command>dhclient</command> (from the 14 <application>dhcp</application> package) and <command>dhcpcd</command>. We 15 begin with a page which shows how to alter the <acronym>LFS</acronym> 16 boot scripts for generic <acronym>DHCP</acronym> support. We then present the 17 two sets of installation instructions which also discuss 18 how to create an appropriate configuration file to work with the 19 <acronym>DHCP</acronym> client of your choice.</para> 14 <application>dhcp</application> package) and <command>dhcpcd</command>. 15 We present both sets of installation instructions which also discuss how 16 to create an appropriate service script to work with the 17 <command>network</command> bootscript and the <acronym>DHCP</acronym> 18 client of your choice.</para> 20 19 21 &connect-dhcp-bootscripts;22 20 &connect-dhcp-client; 23 21 &dhcpcd; -
connect/dhcp/dhcpcd/dhcpcd-config.xml
rf53f1b3c rb5ea3492 7 7 <sect3><title>Configuration Information</title> 8 8 9 <para>To configure <command>dhcpcd</command>, create the <filename> 10 ifconfig.eth0</filename> file with the following commands (note that this 11 will overwrite any existing file):</para> 9 <para>To configure <command>dhcpcd</command>, we need to first install 10 the network service script, 11 <filename>/etc/sysconfig/network-devices/services/dhcpcd</filename> 12 included in the <xref linkend="intro-important-bootscripts"/> package.</para> 12 13 13 <screen><userinput><command>cd /etc/sysconfig/network-devices && 14 cat > ifconfig.eth0 << "EOF"</command> 14 <screen><userinput><command>make install-service-dhcpcd</command></userinput></screen> 15 16 <para>Now create the <filename>ifconfig.eth0</filename> configuration 17 file using the following commands. Adjust appropriatly for additional 18 interfaces.</para> 19 20 <para><emphasis>Note:</emphasis> This will overwrite any existing file.</para> 21 22 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</command> 15 23 ONBOOT=yes 16 DHCP_ PROG=/sbin/dhcpcd17 DHCP_ST ART=<appropriate start parameters>18 DHCP_STOP=-k 24 DHCP_START="<insert appropriate start options here>" 25 DHCP_STOP="-k <insert other stop options here>" 26 SERVICE=dhcpcd 19 27 <command>EOF</command></userinput></screen> 20 28
Note:
See TracChangeset
for help on using the changeset viewer.