Giter Site home page Giter Site logo

pihole-gen's Introduction

pihole-gen

Dieses Projekt soll es vereinfachen ein Raspberry Pi image für Pi-hole zu generieren. Zusätzlich zur standard Blockliste werden auch die Listen von RPiList/specials hinzugefügt. Auch werden die regex Einträge von RPiList/specials hinzugefügt und können nach Bedarf aktiviert/deaktiviert werden.

Zusätzlich zu pi-hole wird auch noch unbound installiert und ist auf Port 5335 erreichbar. Um unbound verwenden zu können, müssen die DNS-Einstellungen im pi-hole nach dem ersten boot angepasst werden (https://docs.pi-hole.net/guides/dns/unbound/).

Um ein bootfähiges Image zu erzeugen wird das Tool pi-gen verwendet, welches auch die offiziellen Raspberry Pi OS Images erzeugt.

Installation

Dieses Tool wurde mit Debian 10 32 Bit in QEMU/KVM getestet, da pi-gen Probleme beim Erzeugen von Images auf 64 Bit Systemen hat (siehe issue #271).

Um ein Image zu erzeugen ist weiters die installation von weiteren Paketen notwendig:

apt-get install coreutils quilt parted qemu-user-static debootstrap zerofree zip \
dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc \
qemu-utils kpartx gpg pigz

Repository clonen:

git clone --recursive https://github.com/hubertWasTaken/pihole-gen.git
cd pihole-gen

Die Erstellung des Images kann nun mit dem Befehl ./prepare-and-build.sh gestartet werden. Alternativ kann das Image auch mittles Docker erstellt werden ./prepare-and-build.sh --docker (weitere Infos hier).

Nach erfolgreicher Erstellung befindet sich das fertige Image in pi-gen/deploy.

Weitere Informationen zum Pi-gen Tool sind auf der github-Seite von pi-gen zu finden.

Disclaimer

This entire project is in no way affiliated with Pi-hole, which can be found at https://pi-hole.net We only offer a simple way to create an image file for your Raspberry Pi.

pihole-gen's People

Contributors

hubertwastaken avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.