Why do I get the fallback IP instead of an IP via DHCP?

Chris Burton
2019-08-03 18:03

The time dhcpcd waits before using the fallback IP can be set in the configuration file.

Edit /etc/dhcpdcd.conf

Add a line containing "timeout 60" (increasing from the default of 30 seconds) to the start of the file so it looks like this.

# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

timeout 60

# Allow users of this group to interact with dhcpcd via the control socket
#controlgroup wheel

And then reboot.

If after a reboot you don't get any IP address on the Pi Zero(node) then you may need to increase the systemd timeout as it may be killing the service.

Average rating: 0 (0 Votes)

You cannot comment on this entry