raspapd.service can not start dhcpcd.service due to it is not found #1422
Replies: 8 comments 7 replies
-
What is the output of systemctl status dhcpd? |
Beta Was this translation helpful? Give feedback.
-
Unit dhcpcd.service not found. |
Beta Was this translation helpful? Give feedback.
-
Hmmm, that's a tough one... |
Beta Was this translation helpful? Give feedback.
-
should I create a new directory in here named dhcpcd.service.d? |
Beta Was this translation helpful? Give feedback.
-
Then, if you create wait.conf there and write what you wrote earlier, it will work (Maybe) |
Beta Was this translation helpful? Give feedback.
-
dhcpcd is the default DHCP client used by RPi OS. If it isn't present on your system, or the systemd service doesn't exist, this is not a clean install.
You can save yourself some trouble by starting with a fresh OS. |
Beta Was this translation helpful? Give feedback.
-
The installer adds support for 32-bit Raspbian 12 (bookworm) Lite in the latest release. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to use as an access point my raspberry pi zero w. I started with fresh 32 bit lite raspberry pi image. I imaged by rpi imager and install raspap with quick installer and reboot the pi. When I check the wi-fi in my phone, I see raspap-webgui network and tried to connect it but I can't. My phone can not get an ip address. When I check the services (dnsmasq, hostapd and raspapd) I realized that raspapd.service can not start dhcpcd.service. These are raspapd.service logs
-- Boot 1cfd9105d7fd4a648d7ab3e408a433e8 --
Oct 17 08:54:40 raspberrypi systemd[1]: Starting raspapd.service - RaspAP Service Daemon...
Oct 17 08:54:41 raspberrypi bash[805]: Stopping network services...
Oct 17 08:55:10 raspberrypi bash[805]: Changing RaspAP Daemon --interface to uap0
Oct 17 08:55:11 raspberrypi bash[805]: Disabling systemd-networkd
Oct 17 08:55:21 raspberrypi bash[805]: Starting network services...
Oct 17 08:55:25 raspberrypi systemctl[881]: Failed to start dhcpcd.service: Unit dhcpcd.service not found.
Oct 17 08:55:39 raspberrypi bash[805]: RaspAP service start DONE
Oct 17 08:55:39 raspberrypi systemd[1]: raspapd.service: Deactivated successfully.
Oct 17 08:55:39 raspberrypi systemd[1]: Finished raspapd.service - RaspAP Service Daemon.
After that I tried to install dhcpcd with the command "sudo apt-get install dhcpcd5" even that didn’t help. Because there is no dhcpcd.service. There is dhcpcd.conf but no dhcpcd.service.
Also these are hostapd.service logs while the phone trying to connect
Oct 17 09:46:38 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 IEEE 802.11: disassociated
Oct 17 09:46:38 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 IEEE 802.11: disassociated
Oct 17 09:46:51 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 IEEE 802.11: associated
Oct 17 09:46:51 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 RADIUS: starting accounting session 79CCD6527C478A6F
Oct 17 09:46:51 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 WPA: pairwise key handshake completed (RSN)
Oct 17 09:47:27 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 IEEE 802.11: disassociated
Oct 17 09:47:27 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 IEEE 802.11: disassociated
Oct 17 09:47:31 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 IEEE 802.11: associated
Oct 17 09:47:31 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 RADIUS: starting accounting session 4D16C26D31DDA6F4
Oct 17 09:47:31 raspberrypi hostapd[1093]: wlan0: STA 04:b1:67:af:0f:a5 WPA: pairwise key handshake completed (RSN)
How can I fix it? Can you help me?
Beta Was this translation helpful? Give feedback.
All reactions