I'm running archlinuxarm (most recent update status) on a raspberrypi, dhcpcd version 6.4.3-1
in many cases after a reboot I can't access the (headless) Raspberry Pi via network. Systemlog is full with the messages shown below. I've written a script which automatically starts a reboot after half an hour with no network connection. After this second reboot everything works fine. The dhcp-server is running on a dsl-router (Fritzbox).
I'm saving /var/lib/dhcpcd/dhcpcd-eth0.lease (last dhcp-offer from fritzbox ?) after every reboot, which seems to be identical in all cases independent of the problem.
Any idea what's going wrong or how to locate the problem?
Why is dhcpcd trying to connect to 192.168.0.254? This is not a valid ip-address in the address-space of the fritzbox, therefore the NAK is plausible.
I'm not an expert for dhcp, is there any debugging-option when starting dhcpcd ?
---------------------------------------------------------------------------------
hundreds of the following entries in the syslog:
Jan 1 01:10:51 mars dhcpcd[157]: eth0: soliciting a DHCP lease
Jan 1 01:10:51 mars dhcpcd[157]: eth0: offered 192.168.178.9 from 192.168.178.1
Jan 1 01:10:52 mars dhcpcd[157]: eth0: NAK: from 192.168.0.254
Jan 1 01:10:52 mars dhcpcd[157]: eth0: soliciting a DHCP lease
Jan 1 01:10:52 mars dhcpcd[157]: eth0: offered 192.168.178.9 from 192.168.178.1
Jan 1 01:10:52 mars dhcpcd[157]: eth0: NAK: from 192.168.0.254
Jan 1 01:10:53 mars dhcpcd[157]: eth0: soliciting a DHCP lease
Jan 1 01:10:53 mars dhcpcd[157]: eth0: offered 192.168.178.9 from 192.168.178.1
Jan 1 01:10:53 mars dhcpcd[157]: eth0: NAK: from 192.168.0.254