summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpleasectl/dhcpleasectl.8
blob: b68d592a25dead357e2a057c2026081821e15dc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.\"	$OpenBSD: dhcpleasectl.8,v 1.1 2021/02/26 16:16:37 florian Exp $
.\"
.\" Copyright (c) 2021 Florian Obser <florian@openbsd.org>
.\" Copyright (c) 2016 Kenneth R Westerback <kwesterback@gmail.com>
.\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: February 26 2021 $
.Dt DHCPLEASECTL 8
.Os
.Sh NAME
.Nm dhcpleasectl
.Nd control the dhcpleased daemon
.Sh SYNOPSIS
.Nm
.Op Fl s Ar socket
.Ar command
.Op Ar argument ...
.Sh DESCRIPTION
The
.Nm
program controls the
.Xr dhcpleased 8
daemon.
.Pp
The following options are available:
.Bl -tag -width Ds
.It Fl s Ar socket
Use
.Ar socket
instead of the default
.Pa /dev/dhcpleased.sock
to communicate with
.Xr dhcpleased 8 .
.El
.Pp
The following commands are available:
.Bl -tag -width Ds
.It Cm log brief
Disable verbose debug logging.
.It Cm log verbose
Enable verbose debug logging.
.It Cm send request Ar interfacename
Send a DHCP request on interface
.Ar interfacename
to force a renew of the lease.
.It Cm show interface Op Ar interfacename
Display status about network interfaces.
If
.Ar interfacename
is specified, only information relative to
.Ar interfacename
is shown.
Otherwise information on all interfaces is shown.
.El
.Sh FILES
.Bl -tag -width "/dev/dhcpleased.sockXX" -compact
.It Pa /dev/dhcpleased.sock
.Ux Ns -domain
socket used for communication with
.Xr dhcpleased 8 .
.El
.Sh SEE ALSO
.Xr dhcpleased 8
.Sh HISTORY
The
.Nm
program first appeared in
.Ox 6.9 .