- Package:
- dhcpcd-base
- Source:
- dhcpcd-base
- Description:
- DHCPv4 and DHCPv6 dual-stack client (binaries and exit hooks)
- Submitter:
- Thorsten Glaser
- Date:
- 2025-07-07 10:59:01 UTC
- Severity:
- normal
In contrast to earlier Debian releases with ISC dhcp-client, a “sudo ifup wlan0” with DHCP enabled runs the post-up command from /etc/network/interfaces and returns to the shell (consider “sudo ifup wlan0 && sudo rdate -nv ntpserver”) before the network interface is ready: rdate tells me no connection to host, and a few seconds later only it works. Please ensure to only return to ifupdown once the network is *actually* usable. Thanks.
ma 7.7.2025 klo 13.47 Thorsten Glaser (tg@mirbsd.de) kirjoitti: Unless I'm mistaken, this is because dhcpcd forks to the background and dynamically switches between IPv4LL and DHCP/RA addresses as needed. I'm not sure whether changing this behavior is remotely desirable. However, I do agree that if this makes ifupdown presume that an external IP has succesfully been acquired and the boot process continue to steps that launch network-dependant services, it is problematic. Martin-Éric