Pi-Hole auf einem Raspberry Pi Zero

Guten Tag,

ich habe mein Pi-Hole bisher auf einem Raspberry Pi 3 laufen lassen. Da ich diesen nun aber gerne für ein anderes Projekt nutzen möchte dachte ich mir ich nutzte ein Pi Zero der noch bei mir rumfliegt...

Also habe ich die Speicherkarte in den Zero gesteckt, das Wlan Konfiguriert und Verbunden.

Der Zero läuft auch hoch, die Pi-Hole Homepage ist verfügbar aber nur halb nutzbar...

Im Terminal sehe ich folgendes, kann ich nicht wirklich etwas mit anfangen...

Was mache ich Falsch?

[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.3.27-1~deb10u1
[i] Performing unattended setup, no whiptail dialogs will be displayed

[✓] Checking apt-get for upgraded packages... up to date!

[i] Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[✓] Checking for dnsutils

[✗] Retrieval of supported OS list failed. dig failed with return code 10.
Unable to determine if the detected OS (Raspbian 10) is supported
Possible causes for this include:
- Firewall blocking certain DNS lookups from Pi-hole device
- ns1.pi-hole.net being blocked (required to obtain TXT record from versions.pi-hole.net containing supported operating systems)
- Other internet connectivity issues

  https://docs.pi-hole.net/main/prerequesites/#supported-operating-systems

  If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:

  e.g: If you are seeing this message on a fresh install, you can run:
         curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash

       If you are seeing this message after having run pihole -up:
         PIHOLE_SKIP_OS_CHECK=true sudo -E pihole -r
       (In this case, your previous run of pihole -up will have already updated the local repository)

  It is possible that the installation will still fail at this stage due to an unsupported configuration.
  If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
  https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/

Unable to complete update, please contact Pi-hole Support
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock directory /var/cache/apt/archives/
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Have you checked these?

RPi 3 und Zero verwenden unterschiedliche CPUs mit unterschiedlichen Architekturen (BCM2837xx/Cortex A-53/armv7 vs. BCM2835/ARM1176JZF-S/armv6).
.
Da pihole-FTL spezifisch für die CPU-Architektur kompiliert wird, ist die Binärdatei des 3er auf dem Zero prinzipiell nicht lauffähig.

Du könntest versuchen, über

pihole -r

und Repair den Download der korrekten Version für den Zero zu veranlassen.

Sofern Du allerdings ausser Pi-hole noch weitere, CPU-spezifische Software auf dem Zero laufen lässt, wird das nicht ausreichen.
In einem solchen Falle wäre das komplette Neuaufsetzen des Systems in Betracht zu ziehen.

Danke, mir war nicht so bewußt das der Zero sich so sehr vom Pi3 unterscheidet. Bisher hatte ich nie Probleme die Speicherkarte zwischen den Geräten zu wechseln.

Die Reparatur funktioniert jedenfalls nicht, ich werde es einmal mit der Neu Installation versuchen

Nach einer kompletten Neuinstallation gleich auf dem Zero klappt alles. Danke

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