Code: Select all
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.1 (stretch)
Release: 9.1
Codename: stretchCode: Select all
Mar 19 01:17:01pi CRON[11384]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 19 01:19:23 pi dhcpcd[481]: wlan0: carrier lost
Mar 19 01:19:23 pi dhcpcd[481]: wlan0: deleting default route via fe80::8226:89ff:fe51:fb0a
Mar 19 01:19:23 pi dhcpcd[481]: wlan0: deleting address fe80::9ec5:e1da:6fdf:cdf4
Mar 19 01:19:23 pi avahi-daemon[349]: Withdrawing address record for fe80::9ec5:e1da:6fdf:cdf4 on wlan0.
Mar 19 01:19:23 pi avahi-daemon[349]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::9ec5:e1da:6fdf:cdf4.
Mar 19 01:19:23 pi avahi-daemon[349]: Interface wlan0.IPv6 no longer relevant for mDNS.
Mar 19 01:19:23 pi dhcpcd[481]: eth0: adding default route
Mar 19 01:19:23 pi dhcpcd[481]: wlan0: deleting default route via 10.10.1.1
Mar 19 01:19:23 pi dhcpcd[481]: wlan0: deleting route to 10.0.0.0/8
Mar 19 01:19:23 pi avahi-daemon[349]: Withdrawing address record for 10.10.1.13 on wlan0.
Mar 19 01:19:23 pi avahi-daemon[349]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 10.10.1.13.
Mar 19 01:19:23 pi avahi-daemon[349]: Interface wlan0.IPv4 no longer relevant for mDNS.
Mar 19 01:20:01 pi CRON[11463]: (cb) CMD (/home/pi/mon/check.sh)
Mar 19 01:22:18 pi systemd-timesyncd[292]: Timed out waiting for reply from 10.10.1.2:123 (10.10.1.2).On boot, sometimes I have seen that the wlan0 wifi interface fails to bind the IP address, currently the wlan0 is configured to get the IP address from a WiFi router. Since its a headless setup, the only way I can connect to the RPi would be to login over a hardwire connection and reboot the RPI3. Is there a way I can make the /sbin/dhcpcd to keep retrying until the IP address is assigned to the wlan0 interface.
Cheers!