www.usr.com/support/gpl/USR9107_release.1.4.tar.gz
[bcm963xx.git] / userapps / opensource / udhcp / udhcpc.8
1 .TH UDHCPC 8 2001-09-26 GNU/Linux "GNU/Linux Administrator's Manual"
2 .SH NAME
3 udhcpc \- very small DHCP client
4 .SH SYNOPSIS
5 .B udhcpc
6 .RI [ OPTION ]...
7 .SH DESCRIPTION
8 The uDHCP client negotiates a lease with the DHCP server and
9 executes a script when it is obtained or lost.
10 .SH OPTIONS
11 .TP
12 .BI \-c\  CLIENTID ,\ \-\-clientid= CLIENTID
13 Send the client identifier
14 .IR CLIENTID .
15 .TP
16 .BR -f ,\  \-\-foreground
17 Do not fork after obtaining a lease.
18 .TP
19 .BI \-H\  HOSTNAME ,\ \-\-hostname= HOSTNAME
20 Send the client hostname
21 .IR HOSTNAME .
22 .TP
23 .BI \-i\  INTERFACE ,\ \-\-interface= INTERFACE
24 Configure
25 .IR INTERFACE .
26 .TP
27 .BR -n ,\  \-\-now
28 Exit with failure if a lease cannot be obtained.
29 .TP
30 .BI \-p\  FILE ,\ \-\-pidfile= FILE
31 Write the process ID of the daemon to
32 .IR FILE .
33 .TP
34 .BR -q ,\  \-\-quit
35 Exit after obtaining a lease.
36 .TP
37 .BI \-r\  ADDRESS ,\ \-\-request= ADDRESS
38 Request IP address
39 .IR ADDRESS .
40 .TP
41 .BI \-s\  FILE ,\ \-\-script= FILE
42 Use script
43 .IR FILE .
44 .TP
45 .BR -v ,\  \-\-version
46 Display version.
47 .SH FILES
48 .TP
49 .I /usr/share/udhcpc/default.script
50 Script run when leases are obtained or lost.