Changeset b5ea3492 for connect/dhcp/dhcp-client.xml
- 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
- File:
-
- 1 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>
Note:
See TracChangeset
for help on using the changeset viewer.