connect to dhcpcd lost

1 .check waln0

ifconfig wlan0 up

2.check dhcpd

systemctl status dhcpd


nano /etc/network/interfaces

resolve the error & restart

systemctl restart dhcpcd

3. interfaces

nano /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d