This guide will show you how to setup and configure your Pi hole to display the pi hole system status and ads blocked using the Pi Supply Media Center HAT. The Pi Supply Media Center HAT is a 2.8″ TFT display that connects to your Raspberry Pi, and includes other feature such as IR receiver, restive touch and navigation buttons that can be soldered to the PCB.
What you need
- Raspberry Pi computer
- microSD card
- Power Supply
- Mouse & Keyboard (initial configuration)
- Media Center HAT
- Media Center HAT Case (optional)
Step 1 – First you need to assemble your hardware. Connect the Media Center HAT on top of the Raspberry Pi, making sure that the header is pushed down firmly on the Raspberry Pi’s GPIO header.
If you are going to use the Media Center HAT case then insert the Raspberry Pi and Media Center HAT into the bottom half of the case, making sure that both boards align up with the groves/slots within the case.
Finally add the top half of the case.
Step 2 – Connect your peripherals. Before you power up the Pi hole connect all your peripherals such as Ethernet cable, HDMI cable, Keyboard & Mouse and also insert the micro SD card into the Raspberry Pi.
Finally apply power to the Raspberry Pi to boot up your pi hole.
Step 3 – If you have already installed the Pi hole software then you can skip to the next step. Open up a terminal window or from the command line type in the following to setup and configure the Pi hole:
curl -sSL https://install.pi-hole.net | bash
Step 4 – Install the Media Center HAT software. We want to display the main output on the TFT display only, from the command line type in the following:
sudo su -c "bash <(wget -qO- https://pisupp.ly/test)" root
When prompted make sure you select TFT as the output and also ensure you activate the boot to console.