On 22.12.2022 01:57, Geoff Steckel wrote:
On 12/21/22 09:05, Crystal Kolipe wrote:
On Wed, Dec 21, 2022 at 01:39:47PM +0000, Rodrigo Readi wrote:
The command "dhclient -d run0" with or without "-d" seems to
demonize,
always, and is till now completely silent.
Is this new behaviour normal? How I get it the old way?
You might want to look at the commit message for version 1.727 of
dhclient.c:
http://cvsweb.openbsd.org/src/sbin/dhclient/dhclient.c
dhcpleased appears to be a useful & complete replacement
for dhclient for most users
Right now I run dhclient on my gateway machine.
I cut off its fingers when it tries to e.g. mess with routes or
resolv.conf.
I disable dhcpleased because I don't know -exactly- what it tries to
do.
dhcpleased.conf(5)
ignore routes
Ignore routes from leases on this interface. The default
is to
not ignore routes.
Replacing resolv.conf and configuring routes can be disabled in
dhcpleased.conf.
Are routes and resolv.conf the only things dhcpleased modifies beyond
configuring
the interface with the leased IP?
For instance, pair of sentences in dhcpleased(8) to the effect:
"dhcpleased inserts the DNS server information
from the DHCP server at the top of the existing /etc/resolv.conf.
It configures the default route via the interface being configured."
Where do you read that? That is no such sentence in either current or
7.2 and 7.1 man pages
Something like that is implied by using DHCP.
Are other routes changed or deleted?
Exactly what does the updated resolv.conf contain?
DHCP can configure other services. Does dhcpleased do any of that?
It's for clients. Replacement for dhclient(8). If you're not client
then you should have your own dhcpd(8) running serving what you need.
Or having static configuration completely.
If you do not like routes or DNS (this one you can alter with undwind(8)
too) from your ISP then you can avoid them with dhcpleased.conf(5)
thanks
Geoff Steckel