error message “failed to start dhcpd on all interfaces”
I installed openhabian on the raspberrypi. I installed with ethernet. Then I switched over to wlan with the openhabian-config. When rebooting I saw the message “failed to start dhcpd on all interfaces; See systemctl status dhcpcd.service for details”.
When using the command “systemctl status dhcpcd.service” I get the message “dhcpd.service: control process exited, code=exited status 6”
The wifi connections works so far. For setting up the wifi, I just used openhabian-config. What does the error message mean and how do I get rid of it?
If you own a RPi3, a RPi0W, a Pine A64, or a compatible Wi-Fi dongle you can set up and use openHABian purely via Wi-Fi. For the setup on Wi-Fi, you’ll need to make your SSID and password known to the system before the first boot. Additionally to the setup instructions given above, the following steps are needed:
Flash the system image to your micro SD card as described, do not remove the SD card yet
Access the first SD card partition from the file explorer of your choice (e.g. Windows file explorer)
Open the file openhabian.conf in a text editor
Uncomment and fill in wifi_ssid="My Wi-Fi SSID" and wifi_psk="password123"
Save, Unmount, Insert, Boot
The documentation may be outdated as it’s odd to have the wifi option in the config tool so I’ll keep searching.
I didnt install with wifi in the first place, because after I prepared the config files on microsd card for wifi installation (like you quoted the documentation before), I got some error because it couldn’t establish a wifi connection. I have some special characters in my wifi password, so I was thinking that is the reason. After installing sucessfully over ethernet I used the configuration tool to change to wifi (correct timezone and also correct location, although I didnt change the system locales). Wifi works. But somehow I get this error message. I am still not sure what that error means actually.
I am just starting, so far I installed Mqtt and InfluxDB+Grafana. But didnt use anything of it so far.
Ok just now I disabled the wifi by removing password and SSID and still get the error message.So it seems the error is not dependend on the wifi device, but comes also when using only ethernet?
I just formatted/erased the sdcard/system, and tried to install it with wifi. I put in the boot config file the ssid and the password (I changed in my router the password to a password without special characters, I have a fritzbox7430 with wpa+wp2 enabled). Also I set the locase in the boot config file.
When trying to install openhabian with wifi I get the follwoing error message:
**Starting the openHabian initial setup.
Storing configuration... OK
Changing default username and password.... SKIPPED
Setting up Wi-Fi connection... OK
Ensuring network connectivity... FAILED
I was not able to connect to the configured Wi-Fi.
Please try again with your correct SSID and password. Also check your signal quality.
Available Wi-Fi networks:
wlan0 Interface doesn't support scanning: Network is down
Initial setup exiting with an error!**
So what is going on here. Why can’t it connect to the network? The router is 3 meters away of the raspberryPi. I already changed SSID and password. Any ideas?