Skip to content

JohanBrwrts/pihole-on-tanix-tx3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Pi-hole on a Tanix TX3 TV-box

A complete, hands-on installation guide for running Pi-hole on a Tanix TX3 (or similar Amlogic S905X3 TV-box) using devmfc's Debian Trixie image.

Why this guide?

Pi-hole tutorials on the internet overwhelmingly assume you're using a Raspberry Pi. But cheap S905X3 TV-boxes have everything you need — quad-core ARM64 CPU, gigabit ethernet, 4 GB RAM — and they're often already lying in a drawer collecting dust after being replaced by a newer streaming device. Repurposing them as a Pi-hole appliance is a nice way to keep them useful, and it frees up your Raspberry Pi for other projects.

The catch: getting Linux running smoothly on these boxes is its own adventure. This guide walks through the complete setup, including several gotchas that aren't well-documented elsewhere:

  • The right boot.config entry for the Tanix TX3
  • A silent installer hang caused by an invisible /etc/logrotate.conf conffile prompt — explained, prevented, and recovery documented (root cause confirmed by devmfc)
  • Pi-hole's gravity blocklist not blocking immediately after install (and the simple one-line fix)
  • Reverse-DNS limitations on stock Netgear router firmware
  • iOS/Android private MAC quirks affecting Pi-hole's client visibility

What's in this repo

The guide includes:

  • Configuration variables to adapt to your own network
  • Hardware and software prerequisites
  • Image flashing and boot configuration
  • Router DHCP setup with reservation outside the DHCP range
  • Initial system configuration (hostname, timezone, network)
  • System updates with handling of common dpkg prompts
  • Pi-hole installation, with explicit handling of image-specific quirks
  • Pi-hole tuning (blocklists, conditional forwarding, DNS settings)
  • Verification and rollout to network clients
  • Optional appendices: SSH key auth, log management, troubleshooting, recovery procedures for known image-specific issues

Who is this for?

  • You have an unused Amlogic S905X3 TV-box (Tanix TX3 specifically tested; similar boxes likely work with adjusted boot.config)
  • You want network-wide ad and tracker blocking
  • You're comfortable with SSH and a Linux terminal
  • You want to understand why each step is there, not just blindly copy-paste commands

Hardware tested

Component Detail
TV-box Tanix TX3-H (S905X3, board CS_905X3_TX95_B4_QZ_V1.2A)
RAM/Storage 4 GB / 64 GB eMMC (eMMC unused; boot from USB)
Ethernet Gigabit (RTL8211F PHY)
OS image devmfc Debian Trixie, kernel 6.12.56-meson64
Boot medium USB stick (~8 GB minimum, 16 GB recommended)
Router Netgear R7800 stock firmware V1.0.3.92

The procedure should work on any Tanix TX3 variant and likely on similar S905X3 boxes (X96, TX95) with the appropriate boot.config entry. Other boxes may work with minor adjustments — the devmfc README has the full compatibility list.

Status

Verified through three clean installs. The original dnsutils workaround is no longer needed — fixed upstream in PR #6444. The remaining quirks (logrotate prompt, gravity load timing) are handled in the procedure itself.

Contributing

Found a step that doesn't work on your hardware? An updated package name? A clearer way to explain something? Issues and pull requests welcome. Please mention your hardware (TV-box model, image version) and what you observed.

License

Copyright (c) 2026 Johan Bierwerts

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

See LICENSE for the full legal text.

Related projects

Acknowledgements

This guide builds on the work of:

  • devmfc for maintaining debian-on-amlogic, which makes running modern Debian on Amlogic TV-boxes straightforward, and for responsive engagement on the logrotate diagnosis
  • The Pi-hole team for the software itself, and for fixing the Trixie compatibility issue upstream
  • StevenBlack, OISD, HaGeZi and other blocklist maintainers
  • The various GitHub issue and forum threads that helped along the way

About

Step-by-step guide to install Pi-hole on a Tanix TX3 (Amlogic S905X3) TV-box using devmfc's Debian Trixie image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors