mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
UI "Enable DHCP server" is inactive forever #637
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#637
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mveplus on GitHub (Apr 4, 2019).
Originally assigned to: @IldarKamalov, @szolin on GitHub.
Done a quick search but could not find the issue, mentioned anywhere in the results.
Steps to reproduce
Another minor issue when there is another active DHCP server on the network - the info message below "Enable DHCP server" should change but it does not appear so.

The message "No active DHCP servers, found on the network...." is not correct either.
It looks like click on the "Check for DHCP servers" button sends dhcpc broadcast message to discover active DHCP servers and the message is received back on the network adapter but does not seems to change the "No active DHCP servers..."
tcpdump port 68 or port 69
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
18:56:28.497586 IP x.mvend.loc.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 46:4f:f8:88:e1:19 (oui Unknown), length 280
18:56:47.184346 IP x.mvend.loc.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 46:4f:f8:88:e1:19 (oui Unknown), length 280
Expected behavior
"Enable DHCP server" should be greyed out and inactive only if another server is active, this needs to be revalidated each time "Save config" or "Check for DHCP servers" is pressed or AGH restarted.
Actual behavior
Restarting AGH does not make a difference. regardless of the secondary active DHCP server off or on.
"Enable DHCP server" is inactive.
Your environment
@ameshkov commented on GitHub (Apr 6, 2019):
This seems to be a UI bug, @szolin plz confirm
@szolin commented on GitHub (Apr 15, 2019):
The issue with the button "Enable DHCP server" being always inactive will be resolved in #686.
But detection of another DHCP server doesn't work indeed - for some reason it doesn't receive the response from DHCP server.
@mveplus commented on GitHub (Apr 21, 2019):
@szolin I've done some test on it, I'm not sure if this could be related but there are two issues with "Check for DHCP server" detection.
The bad checksum can be related to my setup thou, it can be mitigated by turning off ethernet interface offloading:
However, this is not an option for the "loopback" interface.