Talk:Dhcpcd

From ArchWiki
Jump to navigation Jump to search

Lease file

Since /var/lib/dhcpcd/dhcpcd-*.lease is a binary file, users need a way to dump/view the contents.

—This unsigned comment is by Duanev (talk) 20:57, 23 March 2017‎. Please sign your posts with ~~~~!

Doesn't that is what --dumplease interface for? Qouting dhcpcd(8):
-U, --dumplease interface
Dumps the last lease for the interface to stdout. If omitted, standard input is used to read a DHCP wire formatted message. Use the -4 or -6 flags to specify an address family.
Regid (talk) 01:35, 2 January 2019 (UTC)