Skip to content
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

Confusing error message when checking for DHCP on IPv6 enabled raspbian #2355

Closed
mdehaas opened this issue Nov 23, 2020 · 6 comments
Closed
Assignees
Milestone

Comments

@mdehaas
Copy link

mdehaas commented Nov 23, 2020

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [ x ] I am running the latest version
  • [ x ] I checked the documentation and found no answer
  • [ x ] I checked to make sure that this issue has not already been filed

Issue Details

I have started with 0.104.0 (I think) in which I configured DHCP and it was working fine. Then came updates and trouble started in my home network. First I ran into the issue that checking for other DHCP was looping forever. Then came the most recent release in which the test for other DHCP gives me a a really confusing error:
dhcpv6: Couldn't resolve UDP address 192.168.2.1:546: address 192.168.2.1: no suitable address found
I would expect my configured IPv6 address there. besides that I do not see AGH binding to the mentioned port on IPv4 or IPv6 when starting AGH interactively. Since I didn't find any mention of this error using various searches this leads me to believe this is an error on my side. But I really want to use AGH as DHCP so I can use mu client configuration.
I have static IP's configured through dhcpcd.conf

I can't really find the place to post this on the forum so I'm sorry if I'm totally misplacing this.

  • Version of AdGuard Home server:
    • 0.104.3
  • How did you setup DNS configuration:
    • Trying to setup AGH as DHCP
  • If it's a router or IoT, please write device model:
    • Raspberry Pi 2 -->
  • Operating system and version:
    • Raspbian Latest

Expected Behavior

Get no error from check for other DHCP servers

Actual Behavior

Confusing error is given and no change in the interface to enable DHCP

Screenshots

Additional Information

@ameshkov ameshkov added this to the v0.105 milestone Nov 24, 2020
@ameshkov
Copy link
Member

@ainar-g what could it be?

@jakesteele
Copy link

I am also getting the same issue, Raspberry Pi 4, IPv4 and IPv6 enabled.

@ainar-g
Copy link
Contributor

ainar-g commented Nov 25, 2020

Hi, thanks for your report! The confusing error message is a bug I accidentally introduced in v0.104.1. Seems like an easy fix.

@ainar-g
Copy link
Contributor

ainar-g commented Nov 25, 2020

@mdehaas, @jakesteele, could you update your AGH to the latest edge snapshot (36c7735 or later) and see if the issue is still there?

@mdehaas
Copy link
Author

mdehaas commented Nov 25, 2020

@ainar-g the error is displayed correctly now. I see the IPv6 address in the error message. This issue can be closed as far as I'm concerned.
I hoped not to be getting an error but unfortunately the error persists. It seems Raspbian keeps the port in use for the DHCP Client. I tried to update the config to static using an interface file in /etc/network/interfaces.d but tah seems to have knocked my RPi of the network :'(. Time for bed now. Will start fresh tomorrow. Thanks for the support.

@ainar-g ainar-g closed this as completed Nov 27, 2020
@amrmzr
Copy link

amrmzr commented Feb 27, 2024

Hi Greetings!

Using Latest AGH 0.107.44 on raspbian OS pi4 model B getting this exact same error on enabling ipv6 Address. please fix it.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants