-
Notifications
You must be signed in to change notification settings - Fork 1.8k
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHCP(v4 and v6) server not working #4903
Comments
@rishubn, hello, and thanks for a detailed request. It may be related to our recent changes to the DHCP message size calculation. Actully the regular log usually isn't very useful for troubleshooting the issue, so could you please collect a verbose one? You may send it to devteam@adguard.com. Btw, it's not really secure to publish the |
Sure, I will collect the log and email it. Thanks for the note, I have removed the yaml file and will change the passwords. Thankfully it was all temporary settings |
@rishubn, hello again. Could you please check the latest edge build as well? It should fix the issue if the message size is indeed causing it. |
@EugeneOne1 Where can I get a binary of the latest edge build? |
@rishubn, well, if you've used the README.md script to install the AGH, then you may simply specify the flag curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -r -c edge -v |
Thanks, I will email the logs in a few minutes |
Sent, for both builds DHCP did not work |
@EugeneOne1 HI, I just tested the edge build on an Ubuntu live cd and DHCPv4 worked. It seems like this is a fedora/selinux/firewalld issue. I will keep toying with it to see if I can resolve the problem. Does anyone on the team use RHEL/Centos/fedora? |
This started happening to me after updating to version .14. |
@rishubn, thanks for testing. FYI, the log files you've sent aren't actually contain any DHCP requests and responses. I suppose, there was no DHCP message exchange during capturing of the log. It ain't a distributive's issue most probably. I think, I can close the issue for now, please consider reopening it in case the device will stop accepting leases again. |
@thunderclap82, which piece of software has a version of |
@thunderclap82, I didn't get, you meant the beta version. Anyway, could you please try the edge build? It should fix the issue. |
I’m not sure how I got on the beta build but I believe it’s 108.0-b.14 I’m running on a Raspberry Pi, so how do I go about moving to an edge build? |
@thunderclap82, generally it depends on your current way of installation. Instances installed via Installing developer's Docker images is described here. |
Hi all, I was able to resolve this issue - it was an incorrect setting in firewalld. Thanks for your help @EugeneOne1 ! |
Merge in DNS/adguard-home from 4904-rm-padding to master Updates AdguardTeam#4904. Updates AdguardTeam#4903. Squashed commit of the following: commit 8533740 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Fri Sep 9 19:38:09 2022 +0300 dhcpd: return dhcp msg size
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question
Operating system type
Linux, Other (please mention the version in the description)
CPU architecture
x86
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.107.12
Description
What did you do?
Expected result
Expected clients to obtain DHCP lease from machine running AGH
Actual result
Clients do not get DHCP lease
Screenshots (if applicable)
Additional information
Running on Fedora 36. See attached logs and yaml. Seems like the binary has the correct SELinux tags and the adguard zone has the correct services and ports open according to firewalld
I set the IPv4 address in the network manager to manual and gave it the IP:
192.168.178.38
SubnetMask: 255.255.255.0
Gateway: 192.168.178.1
I did not set IPv6 because I am not familiar with how to assign it manually.
I got warnings in the AGH gui that an IPv6 DHCP port was already bound to my machine's IPv6 address. Should I assign a static IPv6 address as well?
Log
The text was updated successfully, but these errors were encountered: