In accordance with man dhcpcd.conf
I used the inform
option to set a static IP address. Using this option seems to cause my DHCP client dhcpcd
to flood my logfile with useless messages. Here is a sample:
# After adding line: `inform 192.168.1.199/24` to `/etc/dhcpcd.conf` on my wifi interface # and rebooting, `journalctl` is showing approx *8 log entries per second*:
$ journalctl -f | grep wlan0
Mar 26 07:15:17 raspberrypi0w dhcpcd[568]: wlan0: received approval for 192.168.1.199
Mar 26 07:15:17 raspberrypi0w dhcpcd[568]: wlan0: received approval for 192.168.1.199
Mar 26 07:15:17 raspberrypi0w dhcpcd[568]: wlan0: received approval for 192.168.1.199
... ad infinitum at a rate of 4-8 per second
The request
option (similar to inform
) exhibits no such behavior. Before choosing my static IP, I reviewed the settings of the DHCP server for my network: I verified that my chosen IP address was not an active lease. I even took the additional (but unnecessary) step of choosing an IP address that was outside the available range/pool of dynamic addresses configured on my DHCP server.
My system is bullseye
, and dhcpcd
version is 8.1.2
. buster
uses the same version of dhcpcd
, and exhibits the same behavior. And same behavior for wired (eth0) and wireless (wlan0
) interfaces.
What is the problem, and how do I fix this?
"But this doesn't really help downstreams to update dhcpcd :("
. More details here ICYI. And yeah - I only learned of his cancer earlier today - it was a shock. – Seamus Apr 17 '22 at 08:00