Neuinstallation: Download und Installation von FTL schlägt fehl

Hallo zusammen,

lange Jahre hatte ich pihole auf einem RPi Zero W laufen gehabt. Dieser hängt am USB Port einer FritzBox 7490. In letzter Zeit hat sich Pihole aber immer häufiger aufgehängt und ich musste den RPi durch Stromlosmachen neu starten. Daher habe ich mich entschieden, das System auf einer anderen SD-Karte neu aufzusetzen.

Die Installation des Betriebssystems verlief noch erfolgreich. Nutzerdaten und IP-Adresse habe ich vom Vorgänger übernommen. Ich wollte nach Möglichkeit in der Fritzbox nichts ändern.
OS ist:
Linux raspberrypi 6.12.25+rpt-rpi-v6 #1 Raspbian 1:6.12.25-1+rpt1 (2025-04-30) a rmv6l

Jedoch bricht die Installation von Pihole immer an dem Punkt ab, wo er FTL herunterladen und installieren will. Nach langer Zeit meldet sich PuTTY mit

Network error: Software caused connection abort.

In diversen Foren wird vermutet, dass ein falscher Nameserver in Linux hinterlegt ist.

Also habe ich in
/etc/resolv.conf
nachgesehen und dort stehen die Daten der Fritzbox drin:

search fritz.box
nameserver 192.168.178.1
nameserver fda0-Adresse
2001-Adresse

Meinem Verständnis nach ist das erstmal soweit OK.
Bei einem der vielen Versuche hatte ich auch mal die 4 Zeilen oben durch
nameserver 1.1.1.1
ersetzt, was aber auch erfolglos war.

Einstellungen an der FB:

Internet > Zugangsdaten > DNS-Server

  • IPv4: primär: Quad9 (9.9.9.9), sekundär: Cloudflare (1.1.1.1)
  • IPv6: Der DNSv6-Server wird vom Internetprovider zugewiesen.

Heimnetz > Netzwerk > Netzwerkeinstellungen

  • IPv4: lokaler DNS-Server = IP der FB
  • IPv6: DNSv6-Server im Heimnetz entspricht der fda0-Adresse oben aus resolv.conf)

Ich habe auch mal die IPv6-Unterstützung in der FB deaktiviert. Damit tauchen die IPv6-Adressen der Fritzbox nicht mehr in resolv.conf auf, jedoch bricht die Installation immer noch an der gleichen Stelle ab.

Die Fritzbox hatte ich damals mit dieser Hilfe als
Pi-hole als DNS Server via DHCP an Clients verteilen (LAN Seite)
eingerichtet.

  • Die Option, die DNS Anfragen mittels Filterregeln nur vom Pihole zu erlauben, habe ich nicht umgesetzt.
  • Allerdings habe ich seit pihole 6 die Priorisierung wie in der Anleitung beschrieben umgesetzt, da der Aufbau der Internetseiten sehr langsam war.
  • Auch habe ich den ULA Addressraum aktiviert, wie in dem Dokument angegeben.

Ich habe keine Idee mehr, woran es noch liegen könnte. In einem Beitrag im Internet habe ich gelesen, dass Github machmal sehr langsam ist und das der Grund für den Abbruch sein könnte.

Habt ihre eine Erklärung oder Hilfe für mich?

Danke.

Mit welcher Fehlermeldung bricht die Installation ab?

Das folgende Kommando protokolliert den Installationsprozess ausführlicher:

curl -sSL https://install.pi-hole.net | bash -x

Wie sehen die letzten ~30 Zeilen der Ausgabe aus, bevor die Installation bei Dir abbricht?

Leider genauso, wie die Male zuvor. Hier ein Screenshot inkl. der Fehlermeldung von PuTTY:

in Textform:

+ [[ 1000 -eq 0 ]]
+ printf '  %b %s\n' '[i]' 'Root user check'
  [i] Root user check
+ printf '  %b %bScript called with non-root privileges%b\n' '[i]' '\e[1;31m' '\e[0m'
  [i] Script called with non-root privileges
+ printf '      The Pi-hole requires elevated privileges to install and run\n'
      The Pi-hole requires elevated privileges to install and run
+ printf '      Please check the installer for any concerns regarding this requirement\n'
      Please check the installer for any concerns regarding this requirement
+ printf '      Make sure to download this script from a trusted source\n\n'
      Make sure to download this script from a trusted source

+ printf '  %b Sudo utility check' '[i]'
  [i] Sudo utility check+ is_command sudo
+ local check_command=sudo
+ command -v sudo
+ printf '%b  %b Sudo utility check\n' '\r\033[K' '[\e[1;32m✓\e[0m]'
  [✓] Sudo utility check
+ [[ bash == \b\a\s\h ]]
+ exec curl -sSL https://install.pi-hole.net
+ sudo bash

  [✓] Root user check

        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [i] SELinux not detected
  [✓] Update local cache of available packages

  [✓] Checking apt-get for upgraded packages... 8 updates available
  [i] It is recommended to update your OS after installing the Pi-hole!

  [✓] Building dependency package pihole-meta.deb
  [✓] Installing Pi-hole dependency package

  [✓] Supported OS detected
  [i] IPv4 address: 192.168.178.30/24
  [i] Found IPv6 ULA address
  [i] IPv6 address: fda0:17d:188c:0:42e3:83f2:86f4:6164
  [i] Using upstream DNS: Quad9 (filtered, ECS, DNSSEC) (9.9.9.11, 149.112.112.11)
  [i] Installing StevenBlack's Unified Hosts List
  [i] Query Logging on.
  [i] Using privacy level: 0
  [✓] Check for existing repository in /etc/.pihole
  [i] Update repo in /etc/.pihole...HEAD is now at 0f7803b Pi-hole Core v6.0.6 (#6118)
  [✓] Update repo in /etc/.pihole

  [✓] Check for existing repository in /var/www/html/admin
  [i] Update repo in /var/www/html/admin...HEAD is now at 1eaddca Pi-hole Web v6.1 (#3354)
  [✓] Update repo in /var/www/html/admin

  [✓] Checking for user 'pihole'

  [i] FTL Checks...

  [✓] Detected ARMv6 architecture
  [i] Downloading and Installing FTL...

This sounds more like a Raspi or OS issue and the Pi-hole installer triggering the Putty disconnect.
Do you have an AC adapter to power the Pi0 instead of powering via the Fritzbox?

You could also inspect the systemd journal:

1 Like

I entered your journalctl commands, but honestly couldn't do anything with the output. So I just used a separate power supply and the installation completed without any issues.

Thank you very much.

As per your linked documentation the recommended current for the Pi Zero W is 1.2A and the typical consumption about 150mA.
The fritz.com knowledge data base states that the Fritzbox 7490 delivers up to 900mA.

Is this really not sufficient?

On the Internet, many people recommend to use the Fritzbox as power supply for the RPi Zero because it consumes so little power. In my case it worked flawlessly for many years.

I expected that if there is a power supply issue the RPi would reboot and be accessible again after reboot. But this never happened. Instead, it froze.

Should I give the Fritzbox another try or would you suggest to stick with a separate power supply?

1 Like

I suspect if the Pi is under heavy load and doing networking stuff, it wont be sufficient.
But thats just me guessing!

Make sure no USB or other peripherals are connected.
You could also try another USB cable for power.
Thicker and shorter is usually better.
This is also mentioned in that link.

Other Pi models have a low voltage detection circuitry which most of the times can log these events in the kernel ring buffer log (dmesg).
Those kernel messages can also be viewed with journalctl.
This makes diagnosing these events a bit easier.

EDIT: Oh I forgot, but sometimes AC adapters can degrade over time.
Including the one powering your Fritzbox.
Maybe its time is up :wink:

Thanks for your advice.

I'll give the Fritbox one more try with another USB cable. If it fails I will use a separate AC Adapter. Luckily I found an unused 10W adapter from an old mobile phone in the far corner of my drawer. :see_no_evil_monkey:

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.