Closed SzDavidHUN closed 3 days ago
Did you check your network setup in HA? Does the adapter have a static IP in HA? And did you specify the adapter you want in dhcp server configuration?
I have three network adapters in my HA and one runs my frigate cameras with the dhcp server. After the last update HA 'forgot' the routing and while I was trouble shooting, I temporarily had this message when dhcp adapter spelling did not match hassio selling. It works for me now, in the end all I had to do was add the broadcast manually via ip addr add .
Does the adapter have a static IP in HA?
Yes, I set static IP in HA.
And did you specify the adapter you want in dhcp server configuration?
I used the default configuration which is eth0
. I managed to completely skip that option, neither the documentation nor the UI gives that setting much attention, nor explains it how to get the correct value for it. I'm used to HA prompting me for settings that I must provide.
Maybe the documentation should be improved, or even a dropdown provided with the possible interfaces? (Like how AdGuard the addon does it)
Anyway, In Settings -> System -> Network -> Configure network interfaces, it has two interfaces: ENU1U1
and WLAN0
. Since this Raspberry Pi is connected via ethernet, therefore I think I need to use the first.
So this should be the valid configuration I'm looking for?
- broadcast: 192.168.255.255
gateway: 192.168.0.1
interface: enu1u1
netmask: 255.255.0.0
range_end: 192.168.4.1
range_start: 192.168.4.250
subnet: 192.168.0.0
If yes, I can give it a try later when I will have a bit more free time, and give feedback if the problem still exists.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the issue you are experiencing
Even after resetting config, reinstalling the addon, it would fail to start, even with the default configuration.
Two interesting log messages, there appears when I try to start the addon with the default config:
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
DHCP Server
What is the version of the add-on?
1.4.0
Steps to reproduce the issue
System Health information
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1397 Downloaded Repositories | 4 HACS Data | okHome Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 12.3 -- | -- update_channel | stable supervisor_version | supervisor-2024.05.1 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 28.6 GB disk_used | 9.1 GB healthy | true supported | true board | rpi3-64 supervisor_api | ok version_api | ok installed_addons | Advanced SSH & Web Terminal (18.0.0), Nginx Proxy Manager (1.0.1), MariaDB (2.7.1), phpMyAdmin (0.9.1), Mosquitto broker (6.4.1), Dnsmasq (1.8.1), AdGuard Home (5.1.0), DHCP server (1.4.0)Dashboards
dashboards | 4 -- | -- resources | 0 views | 6 mode | storageRecorder
oldest_recorder_run | May 24, 2024 at 14:22 -- | -- current_recorder_run | May 26, 2024 at 00:34 estimated_db_size | 92.93 MiB database_engine | sqlite database_version | 3.44.2Sonoff
version | 3.7.3 (e240aaf) -- | -- cloud_online | 1 / 2 local_online | 1 / 1Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
Additional information
Bit of backstory: I had trouble with AdGuard DHCP server, therefore I disabled it, and installed the Simple DHCP server addon. After I configured it, it failed to start with various errors (even though the UI found the config valid). To make it easier to find the errors, I removed some parts of the configuration, and eventually I just gave up, and used the "Reset to defaults" option in the configuration tab.