-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Client has not been added to Clients (runtime) but it is present in DHCP #1378
Comments
@ameshkov I was using DHCP in AGH on OpenWrt platform several weeks ago but had to disable the DHCP in AGH because it was causing random crashes in AGH that was crashing the entire AdGuardHome binary, thus DNS filtering and all would also cease to function. Could this issue be part of what was causing the crashes? I am willing to try DHCP functionality again on AGH, possibly after the next AGH beta release, and do some verbose logging to see if I can capture anything worthwhile. Should I create a new issue report? |
I doubt it is. Do you have AGH logs from one of such crashes? It'd be extremely useful |
@ameshkov While my crashes were only happening when AGH DHCP was enabled, it does not seem to be related to this issue. However, I wanted to follow up just in case this is beneficial in any way. I could run AGH with DNS filtering for days and have zero crashes. But with AGH DHCP enabled, on OpenWrt specifically, I had dozens of random crashes. I don't have crash logs though because I have been trying to reproduce the crashes with DHCP enabled again, but no success in reproducing. However I have narrowed it down to two possibilities: 1. NTP failing to obtain correct system time
2. Conflicting IP Addresses
Overall: Therefore, I assume that my dozens of random AGH crashes when DHCP was enabled likely had to do with the System Time not reaching NTP servers therefore having a System Time in the year 2026 and the issue of Conflicting IP Addresses. So my AGH crashes was likely caused by one of those issues or both combined, potentially. Anyway, it is unrelated to this issue but I wanted to follow up with you. My issues with AGH DHCP crashing randomly has been resolved by fixing the two issues that I mentioned above. No crashes since. Thank you for your time. I think that you and your dev team is doing excellent work here with AdGuardHome and excellent work with and for the community in general. Cheers! |
@WildByDesign If AGH crashes, it usually writes information to log files - can you try to find this info in your AGH logs? Or if maybe you have some time - try to reproduce just the issue#1 once again? This way we can at least narrow it down to 1 issue, instead of 2. |
It should write it to syslog if it's installed as a service |
@szolin @ameshkov Part of my problem here is that I have not been able to install AGH as a service. There had been an issue specific to installing AGH as a service on OpenWrt. I know that you have fixed this issue now on master, but a beta build containing these latest OpenWrt-related fixes has not been compiled yet. Would you guys be willing to fire up a new Beta build for testing? There is some important fixes that I am anxious to test out, particularly the OpenWrt service related. I have not been able to compile AGH on Windows yet. I have tried WSL1 on latest Windows 10, but my Linux skills are severely lacking. It would be great one day if someone can provide some instructions on compiling AGH on Windows 10, whether its directly in Windows or WSL1 or WSL2. Thank you. I will try to reproduce my issue # 1 in the next day or so and I will report back to you guys. Since it was several weeks ago, I don't have syslogs anymore, so I will try to reproduce it soon. |
@szolin how stable is the version from the |
@WildByDesign the first beta is out |
Using our test openwrt device: I am connected to the network, but I don't see myself in the Clients (runtime) section.
Additionally, check what happens if the DHCP lease has been changed.
The text was updated successfully, but these errors were encountered: