You are not logged in.

#1 2024-01-09 12:39:32

hully
Member
Registered: 2022-11-14
Posts: 164

[SOLVED] pihole is started too early

I installed pihole, standalone version, following these instructions

When I boot, insert BIOS password, insert LUKS password, an error message appears, pihole errored out. Then I insert user credentials, log in, start window manager, and internet doesn't work: hostname resolution fails.

Until I issue

sudo systemctl restart pihole-FTL

, then it starts working again.

I think pihole is started too early in the boot process, when the NIC / network is not configured yet.

Here is the relevant part from the journal:

Jan 09 12:24:01 hostname pihole-FTL[972]: [2024-01-09 12:24:01.987 972M] Successfully accessed setupVars.conf
Jan 09 12:24:01 hostname pihole-FTL[972]: [2024-01-09 12:24:01.988 972M] listening on 127.0.0.1 port 53
Jan 09 12:24:01 hostname pihole-FTL[972]: [2024-01-09 12:24:01.988 972M] listening on lo(#1): 127.0.0.1 port 53
Jan 09 12:24:01 hostname pihole-FTL[972]: [2024-01-09 12:24:01.988 972M] listening on ::1 port 53
Jan 09 12:24:01 hostname pihole-FTL[972]: [2024-01-09 12:24:01.988 972M] listening on lo(#1): ::1 port 53
Jan 09 12:24:01 hostname dnsmasq[972]: FAILED to start up
Jan 09 12:24:01 hostname pihole-FTL[972]: [2024-01-09 12:24:01.988 972M] FATAL ERROR in dnsmasq core: unknown interface wlo1
Jan 09 12:24:01 hostname pihole-FTL[972]: [2024-01-09 12:24:01.997 972M] ########## FTL terminated after 117ms  (code 1)! ##########
Jan 09 12:24:01 hostname systemd[1]: pihole-FTL.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 09 12:24:01 hostname systemd[1]: pihole-FTL.service: Failed with result 'exit-code'.

Last edited by hully (2024-01-09 13:06:05)

Offline

#2 2024-01-09 13:05:52

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [SOLVED] pihole is started too early

I solved it and added a section to the wiki: https://wiki.archlinux.org/title/Pi-hol … ole_starts

Offline

Board footer

Powered by FluxBB