AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Failed to start DHCP service

Open Anser-y opened this issue 1 year ago • 4 comments

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Other (please mention in the description)

Setup

On one machine

AdGuard Home version

Docker

Action

I deployed AD via docker. I want to enable the DHCP service as a DHCP server, but whether it is a bridged network or a host network, when enabled, it will prompt to check whether it is a static IP (I have always had a static IP)

Expected result

none

Actual result

none Snipaste_2024-12-25_23-17-26

Additional information and/or screenshots

No response

Anser-y avatar Dec 25 '24 15:12 Anser-y

Installed via wget on Ubuntu 24.04 VM on proxmox. Same result

gwyncm avatar Dec 28 '24 10:12 gwyncm

The static-IP warning here matches the broader detection limitation tracked in #3640.

On current master, Linux detection still parses dhcpcd.conf and /etc/network/interfaces; it cannot infer every NetworkManager, systemd, VM, or container configuration. At the same time, the DHCP API explicitly treats ErrNoStaticIPInfo as advisory, so the warning by itself should not prevent the server from being enabled. The focused current test TestIfaceHasStaticIP also passes under the race detector.

I suggest consolidating the detection limitation under #3640. To determine whether this issue also contains a separate enable failure, the missing evidence is the exact response from /control/dhcp/find_active_dhcp, the exact response from the enable request, current AdGuard Home version, interface name/address, Docker network mode and capabilities, and the corresponding server log lines.

Sil3ntVip3r avatar Aug 05 '26 01:08 Sil3ntVip3r

Hello. As @Sil3ntVip3r mentioned, this error should not prevent you from enabling DHCP.

sofvaskina avatar Sep 02 '26 11:09 sofvaskina

Closed due not reply

GulnazSalakhova avatar Sep 28 '26 12:09 GulnazSalakhova