Changeset 791e96fa
- Timestamp:
- 02/10/2005 03:49:22 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 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, ken/inkscape-core-mods, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- e51a0eb2
- Parents:
- 9be6d17
- Location:
- connect
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
connect/dhcp/dhcp-client.xml
r9be6d17 r791e96fa 32 32 to first install the network service script, 33 33 <filename>/etc/sysconfig/network-devices/services/dhclient</filename> 34 included in the <xref linkend="intro-important-bootscripts"/> package.</para> 34 included in the <xref linkend="intro-important-bootscripts"/> package 35 (as root).</para> 35 36 <indexterm zone="dhcp-client dhclient-service"> 36 37 <primary sortas="f-dhclient">dhclient (service script)</primary></indexterm> 37 38 38 <screen><userinput ><command>make install-service-dhclient</command></userinput></screen>39 <screen><userinput role='root'><command>make install-service-dhclient</command></userinput></screen> 39 40 40 41 <para id="dhclient-config1">Next, create the 41 42 <filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhclient</filename> 42 configuration file with the following commands . Adjust as necessary for43 additional interfaces.</para>43 configuration file with the following commands as the root user. Adjust as 44 necessary for additional interfaces.</para> 44 45 <indexterm zone="dhcp-client dhclient-config1"> 45 46 <primary … … 47 48 </indexterm> 48 49 49 <screen><userinput ><command>install -d /etc/sysconfig/network-devices/ifconfig.eth0 &&50 <screen><userinput role='root'><command>install -d /etc/sysconfig/network-devices/ifconfig.eth0 && 50 51 cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhclient << "EOF"</command> 51 52 ONBOOT="yes" … … 61 62 <para id="dhclient-config2">Finally, you should create the 62 63 <filename>/etc/dhclient.conf</filename> file using the following 63 commands :</para>64 commands as the root user:</para> 64 65 <indexterm zone="dhcp-client dhclient-config2"> 65 66 <primary sortas="e-etc-dhclient.conf">/etc/dhclient.conf</primary></indexterm> … … 68 69 have more than one interface.</para></note> 69 70 70 <screen><userinput ><command>cat > /etc/dhclient.conf << "EOF"</command>71 <screen><userinput role='root'><command>cat > /etc/dhclient.conf << "EOF"</command> 71 72 # dhclient.conf 72 73 -
connect/dhcp/dhcpcd.xml
r9be6d17 r791e96fa 7 7 <!ENTITY dhcpcd-download-http "http://www.phystech.com/ftp/dhcpcd-&dhcpcd-version;.tar.gz"> 8 8 <!ENTITY dhcpcd-download-ftp "ftp://ftp.phystech.com/pub/dhcpcd-&dhcpcd-version;.tar.gz"> 9 <!ENTITY dhcpcd-md5sum "dd627a121e43835bead3ffef5b1a72fd"> 9 10 <!ENTITY dhcpcd-size "145 KB"> 10 <!ENTITY dhcpcd-buildsize " 868KB">11 <!ENTITY dhcpcd-buildsize "944 KB"> 11 12 <!ENTITY dhcpcd-time "0.04 SBU"> 12 13 ]> … … 19 20 <?dbhtml filename="dhcpcd.html"?> 20 21 <title>dhcpcd-&dhcpcd-version;</title> 22 <indexterm zone="dhcpcd"> 23 <primary sortas="a-Dhcpcd">Dhcpcd</primary></indexterm> 21 24 22 25 <sect2> … … 25 28 <para>The <application>dhcpcd</application> package contains the 26 29 <command>dhcpcd</command> client. This is useful for connecting your computer 27 to a network which uses <acronym>DHCP</acronym> to assign network addresses.28 </para>30 to a network which uses <acronym>DHCP</acronym> to assign network 31 addresses.</para> 29 32 30 33 <sect3><title>Package information</title> … … 34 37 <listitem><para>Download (FTP): <ulink 35 38 url="&dhcpcd-download-ftp;"/></para></listitem> 39 <listitem><para>Download MD5 sum: &dhcpcd-md5sum;</para></listitem> 36 40 <listitem><para>Download size: &dhcpcd-size;</para></listitem> 37 41 <listitem><para>Estimated disk space required: … … 43 47 <sect3><title>Additional downloads</title> 44 48 <itemizedlist spacing='compact'> 45 <listitem><para>Required Patch: 49 <listitem><para>Required Patch: 46 50 <ulink url="&patch-root;/dhcpcd-&dhcpcd-version;-fhs-1.patch"/></para> 47 51 </listitem> … … 60 64 ./configure --prefix="" --sysconfdir=/var/lib \ 61 65 --mandir=/usr/share/man && 62 make && 63 make install</command></userinput></screen> 66 make</command></userinput></screen> 67 68 <para>Now, as the root user:</para> 69 70 <screen><userinput role='root'><command>make install</command></userinput></screen> 64 71 65 72 </sect2> … … 68 75 <title>Command explanations</title> 69 76 70 <para><command>patch -Np1 -i ../dhcpcd-&dhcpcd-version;-fhs-1.patch 71 </command>: <application>Dhcpcd</application> unpatched puts all configuration 72 and temporary files in <filename>/etc/dhcpc</filename>. This becomes very 73 annoying when <application>dhcpcd</application> tells you it's running and it's 74 not. You look in <filename class="directory">/var/run</filename> for 75 the <filename>PID</filename> file, but it's not 76 there, the <filename>PID</filename> file that needs deleting is in 77 <filename class="directory">/etc/dhcpc</filename>. 78 This patch brings this program into <acronym>FHS</acronym> compliance, but more 79 importantly, puts files where you expect them to be.</para> 77 <para><command>patch -Np1 -i ../dhcpcd-&dhcpcd-version;-fhs-1.patch</command>: 78 <application>dhcpcd</application> unpatched puts all configuration 79 and temporary files in <filename class='directory'>/etc/dhcpc</filename>. This 80 becomes very annoying when <application>dhcpcd</application> tells you it's 81 running and it's not. You look in 82 <filename class="directory">/var/run</filename> for the 83 <filename>PID</filename> file, but it's not there, the 84 <filename>PID</filename> file that needs deleting is in 85 <filename class="directory">/etc/dhcpc</filename>. This patch brings this 86 program into <acronym>FHS</acronym> compliance, but more importantly, puts 87 files where you expect them to be.</para> 80 88 81 89 <para><parameter>--prefix=""</parameter>: There may be a good reason for … … 84 92 <acronym>DHCP</acronym>, it is likely that it is 85 93 required during the boot process and 86 <filename class="directory">/usr</filename> may be network 87 mounted, in which case <command>dhcpcd</command> wouldn't be available due to88 being on the network! Therefore, depending on your situation, you may want it89 to beinstalled in <filename class="directory">/sbin</filename> or90 <filename class="directory">/usr/sbin</filename>. 94 <filename class="directory">/usr</filename> may be network mounted, in which 95 case <command>dhcpcd</command> wouldn't be available due to being on the 96 network! Therefore, depending on your situation, you may want it to be 97 installed in <filename class="directory">/sbin</filename> or 98 <filename class="directory">/usr/sbin</filename>. This command installs to 91 99 <filename class="directory">/sbin</filename>.</para> 92 100 … … 104 112 <title>Configuring <application>dhcpcd</application></title> 105 113 106 <sect3><title>Config files</title> 107 <para><filename>/var/lib/dhcpc/*</filename></para></sect3> 108 109 <sect3><title>Configuration Information</title> 114 <sect3 id="dhcpcd-config"><title>Config files</title> 115 <para><filename>/var/lib/dhcpc/*</filename></para> 116 <indexterm zone="dhcpcd dhcpcd-config"> 117 <primary sortas="e-var-lib-dhcpc">/var/lib/dhcpc/*</primary></indexterm> 118 </sect3> 119 120 <sect3 id="dhcpcd-init"><title>Configuration Information</title> 110 121 111 122 <para>To configure <command>dhcpcd</command>, you need to first install 112 123 the network service script, 113 124 <filename>/etc/sysconfig/network-devices/services/dhcpcd</filename> 114 included in the <xref linkend="intro-important-bootscripts"/> package.</para> 115 116 <screen><userinput><command>make install-service-dhcpcd</command></userinput></screen> 117 118 <para>Finally, create the 125 included in the <xref linkend="intro-important-bootscripts"/> package 126 (as user root).</para> 127 <indexterm zone="dhcpcd dhcpcd-init"> 128 <primary sortas="f-dhcpcd">dhcpcd (service script)</primary></indexterm> 129 130 <screen><userinput role='root'><command>make install-service-dhcpcd</command></userinput></screen> 131 132 <para id="dhcpcd-config2">Finally, as the root user create the 119 133 <filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd</filename> 120 134 configuration file using the following commands. Adjust appropriately 121 135 for additional interfaces.</para> 122 123 <screen><userinput><command>install -d /etc/sysconfig/network-devices/ifconfig.eth0 && 136 <indexterm zone="dhcpcd dhcpcd-config2"> 137 <primary sortas="e-etc-sysconfig-dhcpcd">/etc/sysconfig/.../dhcpcd</primary></indexterm> 138 139 <screen><userinput role='root'><command>install -d /etc/sysconfig/network-devices/ifconfig.eth0 && 124 140 cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd << "EOF"</command> 125 141 ONBOOT="yes" … … 137 153 <command>EOF</command></userinput></screen> 138 154 139 <para>For more information on the appropriate 140 <envar>DHCP_START</envar> and <envar>DHCP_STOP</envar> 141 values, examine the man page for <command>dhcpcd</command>.</para> 142 143 <note><para>The default behavior of <command>dhcpcd</command> is to overwrite 144 (after making backup copies) <filename>/etc/resolv.conf</filename>, 145 <filename>/etc/yp.conf</filename> and <filename>/etc/ntp.conf</filename> 146 with new files containing information from the <acronym>DHCP</acronym> 147 server. If this is undesirable, review the <command>dhcpcd</command> 148 man page for switches to add to the <envar>DHCP_START</envar> 149 value.</para></note> 155 <para>For more information on the appropriate <envar>DHCP_START</envar> and 156 <envar>DHCP_STOP</envar> values, examine the man page for 157 <command>dhcpcd</command>.</para> 158 159 <note><para id="dhcpcd-config3">The default behavior of 160 <command>dhcpcd</command> is to overwrite (after making backup copies) 161 <filename>/etc/resolv.conf</filename>, <filename>/etc/yp.conf</filename> and 162 <filename>/etc/ntp.conf</filename> with new files containing information from 163 the <acronym>DHCP</acronym> server. If this is undesirable, review the 164 <command>dhcpcd</command> man page for switches to add to the 165 <envar>DHCP_START</envar> value.</para></note> 166 <indexterm zone="dhcpcd dhcpcd-config3"> 167 <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary></indexterm> 168 <indexterm zone="dhcpcd dhcpcd-config3"> 169 <primary sortas="e-etc-yp.conf">/etc/yp.conf</primary></indexterm> 170 <indexterm zone="dhcpcd dhcpcd-config3"> 171 <primary sortas="e-etc-ntp.conf">/etc/ntp.conf</primary></indexterm> 150 172 151 173 </sect3> … … 156 178 <title>Contents</title> 157 179 158 <para>The <application>dhcpcd</application> package contains 159 <command>dhcpcd</command>.</para> 160 161 </sect2> 162 163 <sect2><title>Description</title> 164 165 <sect3><title>dhcpcd</title> 166 <para><command>dhcpcd</command> is an implementation of the 167 <acronym>DHCP</acronym> client specified in <acronym>RFC</acronym>2131 and 168 <acronym>RFC</acronym>1541 (depending on which options are specified).</para> 169 </sect3> 180 <segmentedlist> 181 <segtitle>Installed Program</segtitle> 182 <segtitle>Installed Libraries</segtitle> 183 <segtitle>Installed Directories</segtitle> 184 185 <seglistitem> 186 <seg>dhcpcd</seg> 187 <seg>None</seg> 188 <seg>/var/lib/dhcpc</seg> 189 </seglistitem> 190 </segmentedlist> 191 192 <variablelist> 193 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 194 <?dbfo list-presentation="list"?> 195 196 <varlistentry id="dhcpcd-prog"> 197 <term><command>dhcpcd</command></term> 198 <listitem><para>is an implementation of the <acronym>DHCP</acronym> client 199 specified in <acronym>RFC</acronym>2131 and <acronym>RFC</acronym>1541 200 (depending on which options are specified).</para> 201 <indexterm zone="dhcpcd dhcpcd-prog"> 202 <primary sortas="b-dhcpcd">dhcpcd</primary> 203 </indexterm></listitem> 204 </varlistentry> 205 </variablelist> 170 206 171 207 </sect2> -
connect/dialup/wvdial.xml
r9be6d17 r791e96fa 117 117 <seg>wvdial and wvdialconf</seg> 118 118 <seg>None</seg> 119 <seg>/etc/ppp </seg>119 <seg>/etc/ppp/peers</seg> 120 120 </seglistitem> 121 121 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.