Changeset afa198d for connect/dhcp/dhcp-client.xml
- Timestamp:
- 07/29/2004 04:53:55 AM (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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 912a09b6
- Parents:
- 68df39bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
connect/dhcp/dhcp-client.xml
r68df39bf rafa198d 30 30 <screen><userinput><command>make install-service-dhclient</command></userinput></screen> 31 31 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> 34 configuration file with the following commands. Adjust as necessary for 35 additional interfaces.</para> 35 36 36 <para><emphasis>Note</emphasis>: this will overwrite any existing file.</para> 37 38 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "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 && 38 cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhclient << "EOF"</command> 39 ONBOOT="yes" 40 SERVICE="dhclient" 41 DHCP_START="-q <replaceable>[add additional start parameters here]</replaceable>" 42 DHCP_STOP="-q -r <replaceable>[add additional stop parameters here]</replaceable>" 43 43 <command>EOF</command></userinput></screen> 44 44 … … 47 47 values, examine the man page for <command>dhclient</command>.</para> 48 48 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 51 commands:</para> 52 53 <note>You'll need to add a second interface definition to the file if you 54 have more than one interface.</note> 52 55 53 56 <screen><userinput><command>cat > /etc/dhclient.conf << "EOF"</command> … … 63 66 <command>EOF</command></userinput></screen> 64 67 65 <para>Finally, if the <acronym>DHCP</acronym> configured interface is66 used as your default gateway, you should remove the GATEWAY and GATEWAY_IF67 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 71 68 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.