I am using /etc/dhcpd.conf to configure static IP for the Pi.
epoch1970 was right, isc-dhcp-server startup had to be delayed.
This is the change which made it work:
Code: Select all
root@raspberrypi:/etc# git diff --cached init.d/isc-dhcp-server
diff --git a/init.d/isc-dhcp-server b/init.d/isc-dhcp-server
index 37f899f..3d461b8 100755
@@ -136,8 +136,18 @@ stop_daemon()
+ while [ ! -f "/var/run/dhcpcd.pid" ]; do
+ echo "waiting for dhcpd to start"
+ sleep 1
+ sleep 10
case "$1" in
if test -n "$INTERFACES" -a -z "$INTERFACESv4"; then
echo "DHCPv4 interfaces are no longer set by the INTERFACES variable in" >&2
echo "/etc/default/isc-dhcp-server. Please use INTERFACESv4 instead." >&2
thank you for your help, guys.
This seems wrong though, vanilla installation should just work, and I am not sure the above solution is the most elegant possible.