Hi,
I am trying to dry-run the dhclient program to request a lease from the
server for debugging purposes. At the same time, I am already holding a
lease on the same interface, which is why I don't want to release the
existing lease, as I have no decent access to the remote machine.
According to the man page, I should be able to run dhclient with "-n" to
do just that, but:
# dhclient -d -v -n -w wlp59s0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
No interfaces command -n and requested interface wlp59s0
Usage: dhclient [-4|-6] [-SNTPRI1dvrxi] [-nw] [-p <port>] [-D LL|LLT]
[--dad-wait-time <seconds>] [--prefix-len-hint <length>]
[--decline-wait-time <seconds>]
[--address-prefix-len <length>]
[-s server-addr] [-cf config-file]
[-df duid-file] [-lf lease-file]
[-pf pid-file] [--no-pid] [-e VAR=val]
[-sf script-file] [interface]*
dhclient {--version|--help|-h}
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
I originally stumbled over this bug on a different Linux distro, but
have no good way to report a problem there atm. But that way I am very
confident that this is an upstream problem.
Kind regards,
Toni