mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
No internet connection after each power loss #1997
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#1997
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 @adizag on GitHub (Oct 3, 2020).
Issue Details
Version of AdGuard Home server:
0.103.3
How did you setup DNS configuration:
router
If it's a router or IoT, please write device model:
Router - Orbi, Adguard is running on RPI3b+
Operating system and version:
Raspbian GNU/Linux 10 (buster), Kernel:Linux 5.4.51-v7+
Expected Behavior
After power loss, the modem, router, and adguardhome (on RPI) are rebooted. The internet is working.
Actual Behavior
Adguardhome is loaded and accessible, but there is no internet connection, only internal network.
I have to reboot the RPI running AGH in order to have the router get access to the internet.
Screenshots
N/A
Additional Information
Internet setup - only AGH is defined as DNS server.
AGH is the DHCP server as well.
@ameshkov commented on GitHub (Oct 5, 2020):
I am not sure what could be the issue here, not enough details.
What do you mean? There are many reasons why there could be no internet connection, it would help to know what exactly is the reason in your case.
Also, try enabling verbose log in AdGuard Home and check for errors there:
log_fileverbosetoTrue@adizag commented on GitHub (Oct 9, 2020):
It happens every power loss.
internal network is working but not external. I have to reboot the RPI of ADH in order to have internet connection.
did the log file- It is 75 MB.
How can I send it to you?
@ameshkov commented on GitHub (Oct 13, 2020):
First of all, archive it (use zip or something like this).
You can send it to
devteam at adguard.com- mention this issue in the email please.@adizag commented on GitHub (Oct 13, 2020):
Sent by mail.
TNX!
"יש המטביעים את צרותיהם - ויש המלמדים אותן לשחות..."
"אין מקום שהוא רחוק מדי"
On Tue, 13 Oct 2020 at 13:14, Andrey Meshkov notifications@github.com
wrote:
@ameshkov commented on GitHub (Oct 14, 2020):
Hm, I don't see it. Plz try my personal email (am at adguard.com)
@adizag commented on GitHub (Oct 14, 2020):
Just did.
Tell me if you got it?
בתאריך יום ד׳, 14 באוק׳ 2020, 14:38, מאת Andrey Meshkov <
notifications@github.com>:
@ameshkov commented on GitHub (Oct 18, 2020):
@adizag I did, thank you.
I suppose the issue is caused by this:
For some reason, AdGuard Home service is initialized too early, before your network is initialized.
I am not sure why, it is specified in AdGuard Home service that it needs to be initialized after network:
After=syslog.target network-online.targetTry inspecting your systemd services configuration, something is wrong with it.
@adizag commented on GitHub (Nov 7, 2020):
@ameshkov
it is already defined as you mentioned, so it didn't solve my problem...
`[Unit]
Description=AdGuard Home: Network-level blocker
ConditionFileIsExecutable=/home/pi/AdGuardHome/AdGuardHome
After=syslog.target network-online.target
[Service]
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/home/pi/AdGuardHome/AdGuardHome "-s" "run"
WorkingDirectory=/home/pi/AdGuardHome
StandardOutput=file:/var/log/AdGuardHome.out
StandardError=file:/var/log/AdGuardHome.err
Restart=always
RestartSec=10
EnvironmentFile=-/etc/sysconfig/AdGuardHome
[Install]
WantedBy=multi-user.target`