Replace outdated ISC DHCP 3.0 with version 3.1 from the ports collection.

The extension .sh from the startup script was removed as well, see
the entry of 20060818 in /usr/ports/UPDATING for details.

PR:             docs/143120
Submitted by:   Denny Lin (dennylin93 at cnmc32 dot hs dot ntnu dot edu dot tw)
Discussed with: jkois
This commit is contained in:
Benedict Reuschling 2010-01-30 20:56:24 +00:00
parent 28a5593c29
commit c339446818
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=35278

View file

@ -2555,7 +2555,7 @@ nis_client_flags="-S <replaceable>NIS domain</replaceable>,<replaceable>server</
client-side program, <command>dhclient</command>, comes
integrated within FreeBSD, and the server-side portion is
available from the <filename
role="package">net/isc-dhcp3-server</filename> port. The
role="package">net/isc-dhcp31-server</filename> port. The
&man.dhclient.8;, &man.dhcp-options.5;, and
&man.dhclient.conf.5; manual pages, in addition to the
references below, are useful resources.</para>
@ -2665,7 +2665,7 @@ dhclient_flags=""</programlisting>
</indexterm>
<para>The DHCP server, <application>dhcpd</application>, is included
as part of the <filename
role="package">net/isc-dhcp3-server</filename> port in the ports
role="package">net/isc-dhcp31-server</filename> port in the ports
collection. This port contains the ISC DHCP server and
documentation.</para>
</sect2>
@ -2729,7 +2729,7 @@ dhclient_flags=""</programlisting>
<para>The server is not provided as part of
FreeBSD, and so you will need to install the
<filename role="package">net/isc-dhcp3-server</filename>
<filename role="package">net/isc-dhcp31-server</filename>
port to provide this service. See <xref linkend="ports"> for
more information on using the Ports Collection.</para>
</sect3>
@ -2768,7 +2768,7 @@ dhclient_flags=""</programlisting>
<para>The next thing that you will need to do is edit the sample
<filename>dhcpd.conf</filename> which was installed by the
<filename role="package">net/isc-dhcp3-server</filename> port.
<filename role="package">net/isc-dhcp31-server</filename> port.
By default, this will be
<filename>/usr/local/etc/dhcpd.conf.sample</filename>, and you
should copy this to
@ -2882,7 +2882,7 @@ dhcpd_ifaces="dc0"</programlisting>
<para>Then, you can proceed to start the server by issuing the
following command:</para>
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/isc-dhcpd.sh start</userinput></screen>
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/isc-dhcpd start</userinput></screen>
<para>Should you need to make changes to the configuration of your
server in the future, it is important to note that sending a
@ -2932,7 +2932,7 @@ dhcpd_ifaces="dc0"</programlisting>
environments where one DHCP server forwards a request from a
client to another DHCP server on a separate network. If you
require this functionality, then install the <filename
role="package">net/isc-dhcp3-relay</filename> port. The
role="package">net/isc-dhcp31-relay</filename> port. The
&man.dhcrelay.8; manual page provided with the
port contains more detail.</para>
</listitem>