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

Wi-Fi clients seem to lose internet connection - Mostly testing iPhones - Switch to LTE and then back to Wi-Fi resolves #7564

Open
4 tasks done
brettstark73 opened this issue Jan 12, 2025 · 5 comments
Labels
cannot reproduce waiting for data Waiting for users to provide more data.

Comments

@brettstark73
Copy link

Prerequisites

Platform (OS and CPU architecture)

Darwin (aka macOS), AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.55

Action

browse the internet particularly from an iPhone app - Seem to see issue more at night or first thing in the morning but not sure if that has anything to do with it. Simply try to use like a news app, BBC or facebook or whatever to connect to the internet.

Expected result

apps/connection works as normal

Actual result

iphones seems not connected to the internet.
switching to LTE and back to Wi-Fi after some time, 15s or so seems to somehow resolve the issue.

Adguard is still installed on a mac mini. Everything is wireless including the mac mini. The mac mini has a fixed IP address and I have set my wi-fi router to point to the mac mini for DNS as described in the setup of AdGuard. I have set the mac-mini to use an app called amphetamine to 'stay awake' indefinitely. I assume that is working.

Additional information and/or screenshots

No response

@Dynamic5912
Copy link

So what's the question?

What troubleshooting have you carried out to point the issue to being AGH?

@tjharman
Copy link

tjharman commented Jan 12, 2025

Hi,
Please provide some logs or details as to why you think this is an AdguardHome issue. There are many of us, myself included, that use AdGuardHome and have many iPhone/iPad devices attached to it (indeed, this is how I control to a degree the websites/ads that my children are subject to) and there are no known issues here.

This sounds like either a problem with your MacMini going to sleep, losing its network connectivity, or some other issue where you MacMini is sometimes unable to contact the upstream DNS server(s) configured. Does your home router prehaps have a maximum number of clients allowed or similar?

The other problem I can think is your router is configured to hand out two different IPs for DNS resolution to your clients, but only one works, and when the client rotates to the other it starts to fail (and turning Wifi off and on again makes it resort to the first working IP again)

I will leave this ticket open for a little bit, but will close unless you can provide some more solid logs/evidence that this is an AGH issue.

Thanks!

@tjharman tjharman added cannot reproduce waiting for data Waiting for users to provide more data. labels Jan 12, 2025
@brettstark73
Copy link
Author

Hello - Thanks for responses. I am not sure what trouble shooting to try actually. Before installing AGH, i very very rarely had any internet connectivity issues. So, I guess I can uninstall AGH or at least just point my routers to the Comcast DNS servers again and see what happens then. I use TP Link DECO mesh routers. The settings are a bit strange because you can't just set the DNS settings to any internal LAN IP address. You have to change the DNS settings under the DHCP setting for some reason - described here - https://www.tp-link.com/us/support/faq/1855/

One thing I thought of doing is just put a comcast DNS as the 2nd DNS router setting in case for some reason my mac mini can not be reached./is asleep etc.

One question also thanks - in the DNS setting - should i set 127.0.0.1 or the IP address of my mac mini which hosts AdGuard? Currently I have it set to the IP address of my mac mini but perhaps I screwed up and it should be 127.x.

thx

@tjharman
Copy link

It should definetly be the IP address of your MacMini. 127.x is "host local" only.

@brettstark73
Copy link
Author

I will try to read AGH logging and see if i can attach the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce waiting for data Waiting for users to provide more data.
Projects
None yet
Development

No branches or pull requests

3 participants