Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/dhcp/client Pull up revision 1.14 (requested b...
details: https://anonhg.NetBSD.org/src/rev/e2ac157dc614
branches: netbsd-1-5
changeset: 491272:e2ac157dc614
user: he <he%NetBSD.org@localhost>
date: Sat Apr 21 19:45:44 2001 +0000
description:
Pull up revision 1.14 (requested by mellon):
Fixes PR#11078 (dhclient documentation inaccurate).
diffstat:
usr.sbin/dhcp/client/dhclient.8 | 24 ++++++++++++++++++++++--
1 files changed, 22 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r 8135b9aa85a3 -r e2ac157dc614 usr.sbin/dhcp/client/dhclient.8
--- a/usr.sbin/dhcp/client/dhclient.8 Sat Apr 21 19:44:43 2001 +0000
+++ b/usr.sbin/dhcp/client/dhclient.8 Sat Apr 21 19:45:44 2001 +0000
@@ -60,6 +60,13 @@
server
]
[
+.B -g
+relay
+]
+[
+.B -n
+]
+[
.B -w
]
[
@@ -160,6 +167,12 @@
.B -s
flag, followed by the IP address or domain name of the destination.
.PP
+For testing purposes, the giaddr field of all packets that the client
+sends can be set using the
+.B -g
+flag, followed by the IP address to send. This is only useful for testing,
+and should not be expected to work in any consistent or useful way.
+.PP
The DHCP client will normally run in the foreground until it has
configured an interface, and then will revert to running in the
background. To run force dhclient to always run as a foreground
@@ -226,10 +239,17 @@
.B -w
flag can be used to cause the client not to exit when it doesn't find
any such interfaces. The
-.B dhcpccp (8)
+.B omshell (8)
program can then be used to notify the client when a network interface
-has been added or removed, so that the client can configure an IP
+has been added or removed, so that the client can attempt to configure an IP
address on that interface.
+.PP
+The DHCP client can be directed not to attempt to configure any interfaces
+using the
+.B -n
+flag. This is most likely to be useful in combination with the
+.B -w
+flag.
.SH CONFIGURATION
The syntax of the dhclient.conf(5) file is discussed seperately.
.SH FILES
Home |
Main Index |
Thread Index |
Old Index