1999-02-07 19:46:13 +00:00
|
|
|
--- client/dhcpc.8.orig Sat Jan 9 20:54:01 1999
|
|
|
|
+++ client/dhcpc.8 Sun Feb 7 11:27:29 1999
|
1997-04-04 02:37:13 +00:00
|
|
|
@@ -5,7 +5,7 @@
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B dhcpc
|
|
|
|
[
|
|
|
|
-.B \-d
|
|
|
|
+.B \-drn
|
|
|
|
]
|
|
|
|
.I interface
|
|
|
|
.SH DESCRIPTION
|
1997-10-06 05:08:14 +00:00
|
|
|
@@ -26,7 +26,7 @@
|
|
|
|
requests server to assign the same address as before.
|
|
|
|
To get the same address,
|
|
|
|
.B dhcpc
|
1999-02-07 19:46:13 +00:00
|
|
|
-creates file named /etc/dhcpc_cache.interface
|
|
|
|
+creates file named /var/db/dhcpc_cache.interface
|
|
|
|
(or /var/db/dhcpc_cache.interface for BSD/OS and FreeBSD). 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
|
|
|
|
@@ -38,6 +38,21 @@
|
1997-04-04 02:37:13 +00:00
|
|
|
.B dhcpc
|
|
|
|
runs in foreground and debugging mode.
|
1997-05-30 18:31:22 +00:00
|
|
|
.LP
|
1997-04-04 02:37:13 +00:00
|
|
|
+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.
|
1997-05-30 18:31:22 +00:00
|
|
|
+.LP
|
1997-04-04 02:37:13 +00:00
|
|
|
The DHCP client can verify whether its assigned information is still
|
|
|
|
valid at any time.
|
1997-05-30 18:31:22 +00:00
|
|
|
.B dhcpc
|
1999-02-07 19:46:13 +00:00
|
|
|
@@ -70,6 +85,10 @@
|
|
|
|
.TP
|
|
|
|
.B /etc/dhcpc_cache.interface
|
|
|
|
The file to record previously assigned informations (for others)
|
1997-05-30 18:31:22 +00:00
|
|
|
+.TP
|
|
|
|
+.B /var/run/dhcpc.[interface name].pid
|
|
|
|
+File which includes process ID
|
1999-02-07 19:46:13 +00:00
|
|
|
+.PD
|
1997-05-30 18:31:22 +00:00
|
|
|
.PD
|
|
|
|
.SH SEE ALSO
|
|
|
|
R. Droms,
|