[issue413] Small fix for dhclient(8)

Francis GUDIN issues at chlamydia.fs.ei.tum.de
Tue Dec 19 03:11:53 PST 2006


New submission from Francis GUDIN <fgudin at nerim.net>:

dhclient(8) mentions omshell(8) instead of omshell(1).
The attached src/sbin/dhclient/client/dhclient.8.patch is updated to fixes it.

----------
files: dhclient.8.patch
messages: 1807
nosy: fgudin
priority: cleanup
status: unread
title: Small fix for dhclient(8)

_______________________________________________________
DragonFly issue tracker <issues at chlamydia.fs.ei.tum.de>
<http://bugs.dragonflybsd.org/issue413>
_______________________________________________________--- dhclient.8.orig	2006-12-19 11:29:36.000000000 +0100
+++ dhclient.8	2006-12-19 11:47:00.000000000 +0100
@@ -23,6 +23,10 @@
 .\"
 .\" $Id: dhclient.8,v 1.12.2.9 2004/09/29 23:01:46 dhankins Exp $
 .\"
+.\" Portions copyright (c) 2000 David E. O'Brien.
+.\" All rights reserved.
+.\" $FreeBSD: ports/net/isc-dhcp3-server/files/patch-client::dhclient.8,v 1.3 2004/03/22 23:33:09 des Exp $
+.\"
 .TH dhclient 8
 .SH NAME
 dhclient - Dynamic Host Configuration Protocol Client
@@ -33,12 +37,18 @@
 .I port
 ]
 [
+.B -D
+]
+[
 .B -d
 ]
 [
 .B -q
 ]
 [
+.B -v
+]
+[
 .B -1
 ]
 [
@@ -69,6 +79,10 @@
 relay
 ]
 [
+.B -i
+interval
+]
+[
 .B -n
 ]
 [
@@ -153,6 +167,15 @@
 configuration file or on the command line, and will ignore all other
 interfaces.
 .PP
+The
+.B -D
+flag causes
+.B dhclient
+to save the script it creates for use in conjunction with
+.B dhclient-script
+in
+.IR /tmp.
+.PP
 If the DHCP client should listen and transmit on a port other than the
 standard (port 68), the
 .B -p
@@ -176,6 +199,12 @@
 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
+On FreeBSD, dhclient can be enabled to automatically handle the
+link status of the network card. Normally polling is done every
+five seconds. The polling interval can be set using the
+.B -i
+flag, followed by the numbers of seconds. Minimum is one second.
+.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
@@ -193,6 +222,10 @@
 .B -q
 flag prevents any messages other than errors from being printed to the
 standard error descriptor.
+.B -v
+flag turns on all messages.
+Opposite of
+.B -q .
 .PP
 The client normally doesn't release the current lease as it is not
 required by the DHCP protocol.  Some cable ISPs require their clients
@@ -235,7 +268,7 @@
 .B -w
 flag can be used to cause the client not to exit when it doesn't find
 any such interfaces.   The
-.B omshell (8)
+.B omshell (1)
 program can then be used to notify the client when a network interface
 has been added or removed, so that the client can attempt to configure an IP
 address on that interface.




More information about the Bugs mailing list