mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
f8d69eaffa
Suggested by: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
--- client/dhcpc.8.orig Mon Sep 11 21:54:16 1995
|
|
+++ client/dhcpc.8 Sun Oct 5 21:59:07 1997
|
|
@@ -5,7 +5,7 @@
|
|
.SH SYNOPSIS
|
|
.B dhcpc
|
|
[
|
|
-.B \-d
|
|
+.B \-drn
|
|
]
|
|
.I interface
|
|
.SH DESCRIPTION
|
|
@@ -26,7 +26,7 @@
|
|
requests server to assign the same address as before.
|
|
To get the same address,
|
|
.B dhcpc
|
|
-creates file named "/etc/dhcp_cache". This file name could be
|
|
+creates file named "/var/db/dhcp_cache". This file name could be
|
|
configured when it is compiled. But it is required that the file must
|
|
remains after the host reboot. For example, the /tmp directory is not
|
|
appropriate for this purpose.
|
|
@@ -37,6 +37,21 @@
|
|
.B dhcpc
|
|
runs in foreground and debugging mode.
|
|
.LP
|
|
+If the
|
|
+.B \-r
|
|
+option is specified, and if your DHCP server supplies the DNS address,
|
|
+.B dhcpc
|
|
+overwrites "/etc/resolv.conf" with supplied address.
|
|
+.LP
|
|
+If the
|
|
+.B \-n
|
|
+option is specified, and if your DHCP server supplies the hostname of
|
|
+the client,
|
|
+.B dhcpc
|
|
+call
|
|
+.B sethostname(3)
|
|
+with supplied name.
|
|
+.LP
|
|
The DHCP client can verify whether its assigned information is still
|
|
valid at any time.
|
|
.B dhcpc
|
|
@@ -64,8 +79,11 @@
|
|
.SH FILES
|
|
.PD 0
|
|
.TP 20
|
|
-.B /etc/dhcp_cache
|
|
+.B /var/db/dhcp_cache
|
|
The file to record previously assigned informations
|
|
+.TP
|
|
+.B /var/run/dhcpc.[interface name].pid
|
|
+File which includes process ID
|
|
.PD
|
|
.SH SEE ALSO
|
|
R. Droms,
|