# Pi Hole Ad Detection Display with PiTFT

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/056/462/medium800/adafruit_products_padd-ladyada-desk.png?1530194909)

We already have a guide on using [Pi-Hole with the Raspberry Pi Zero W](https://learn.adafruit.com/pi-hole-ad-blocker-with-pi-zero-w/overview-adafruit2)&nbsp;to send advertisements on your network into a black hole.

But, the PiOLED is&nbsp;_small_ and we want to monitor&nbsp;_more_&nbsp;statistics_&nbsp;_at a glance. While we could open the web console to monitor Pi-hole, we can't show that to friends easily. Plus, who doesn't want more shiny, blinky, networking hardware?

We're going to install&nbsp;[PADD](https://github.com/jpmck/PADD/wiki/FAQ)&nbsp;(Pi-hole Ad Detection Display) and [Pi-Hole](https://pi-hole.net/) on the Adafruit 2.8" or 3.5" PiTFT Plus to display useful and fun statistics such as _Amount of Pi-holed Advertisements,&nbsp;_and the top offending domain attempting to serve pesky advertisements to your network.

## What's Pi-hole?&nbsp;
[Pi-hole](https://pi-hole.net/)&nbsp;is an open-source project which let's your Pi act as a DNS (**Domain Name Server)**. While you may have an ad-blocker installed on your browser, do you have one on your phone? What about blocking in-application advertisements in your mobile games? On your Smart TV? On your smart&nbsp;_fridge?&nbsp;_

Pi-hole lets you block&nbsp;ads from&nbsp; **any device&nbsp;** configured to use it as a Domain Name Server. When an advertisement (i.e:&nbsp;_ads.adserver.com_) tries to resolve it's IP address, Pi-hole will return nothing back. You'll never connect to the advertisement server and the ad won't even load. This makes it quicker, faster, and use less data than conventional ad blockers.&nbsp;

# Parts
You'll need the following parts to get up-and-running with Pi-hole and PADD

You need a Raspberry Pi with built in wireless. The Raspberry Pi 3 line (3, 3 B, 3 B+) devices are wireless-ready without external configuration:

### Part: Raspberry Pi 3
quantity: 1
Model B+ - 1.4GHz Cortex-A53 with 1GB RAM
[Raspberry Pi 3](https://www.adafruit.com/product/3775)

You'll also need a power supply for your Pi and a MicroSD card for holding the Pi's OS and it's applications:

### Part: 5V 2.4A Power Supply
quantity: 1
5V 2.4A Switching Power Supply with 20AWG MicroUSB Cable
[5V 2.4A Power Supply](https://www.adafruit.com/product/1995)

### Part: 8GB MicroSD Card
quantity: 1
8GB Class 10 SD/MicroSD Memory Card - SD Adapter Included
[8GB MicroSD Card](https://www.adafruit.com/product/2692)

## PiTFT Display
Warning: 

If you're using a display smaller than 480x320,&nbsp;PADD will boot into a&nbsp;_mini&nbsp;_mode which displays way less statistics about the network. To view PADD, we suggest using the PiTFT Plus 3.5":

### PiTFT Plus 480x320 3.5" TFT+Touchscreen for Raspberry Pi

[PiTFT Plus 480x320 3.5" TFT+Touchscreen for Raspberry Pi](https://www.adafruit.com/product/2441)
Is this not the cutest, little display for the Raspberry Pi? It features a **3.5" display with 480x320** 16-bit color pixels and a resistive touch overlay [just like our popular original](https://www.adafruit.com/products/2097), but this one is engineered...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2441)
[Related Guides to the Product](https://learn.adafruit.com/products/2441/guides)
![Blue polished finger touching the PiTFT Plus 480x320 3.5" TFT+Touchscreen for Raspberry Pi. ](https://cdn-shop.adafruit.com/640x480/2441-10.jpg)

If you happen to have one of our [2.8" or 2.4" PiTFT](https://www.adafruit.com/?q=pitft)'s, those will work too

### PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchscreen

[PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchscreen](https://www.adafruit.com/product/2298)
Is this not the cutest little display for the Raspberry Pi? It features a 2.8" display with 320x240 16-bit color pixels and a resistive&nbsp;touch overlay. The plate uses the high speed SPI interface on the Pi and can use the mini display as a console, X window port, displaying images or...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2298)
[Related Guides to the Product](https://learn.adafruit.com/products/2298/guides)
![Red polished white finger touching the PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchscreen. ](https://cdn-shop.adafruit.com/640x480/2298-16.jpg)

### Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen

[Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen](https://www.adafruit.com/product/2423)
Is this not the cutest little display for the Raspberry Pi? It features a 2.8" display with 320x240 16-bit color pixels and a capacitive touch overlay.&nbsp;That's right, instead of a resistive touchscreen, which requires a fingernail or stylus, you can now use a fingerpad. The screen...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2423)
[Related Guides to the Product](https://learn.adafruit.com/products/2423/guides)
![Red polished nail touching the screen of a Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen. ](https://cdn-shop.adafruit.com/640x480/2423-14.jpg)

### Adafruit PiTFT 2.4" HAT Mini Kit - 320x240 TFT Touchscreen

[Adafruit PiTFT 2.4" HAT Mini Kit - 320x240 TFT Touchscreen](https://www.adafruit.com/product/2455)
Is this not the cutest little display for the Raspberry Pi? It features a 2.4" display with 320x240 16-bit color pixels and a resistive touch overlay. The HAT uses the high speed SPI interface on the Pi and can use the mini display as a console, X window port, displaying images or video...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2455)
[Related Guides to the Product](https://learn.adafruit.com/products/2455/guides)
![Black polished white finger touching Adafruit PiTFT 2.4" HAT display in a Adafruit PiTFT 2.4" HAT Mini Kit.](https://cdn-shop.adafruit.com/640x480/2455-08.jpg)

# Other Parts
We used a Pi 3 case to protect our Pi from aesthetics and to protect our Pi against scratches, bumps, and falls. The case also makes the Pi-hole look like a networking appliance.

### Adafruit Raspberry Pi B+ / Pi 2 / Pi 3 Case - Smoke Base

[Adafruit Raspberry Pi B+ / Pi 2 / Pi 3 Case - Smoke Base](https://www.adafruit.com/product/2258)
It took awhile to perfect&nbsp;-&nbsp;but that's okay&nbsp;since we can now safely say that the Adafruit case for Raspberry Pi Model B+ / Pi 2 / Pi 3&nbsp;is The Single&nbsp;Greatest Raspberry Pi Model B+ Case Ever.

This enclosure&nbsp;was designed by Mike Doell - just like our...

In Stock
[Buy Now](https://www.adafruit.com/product/2258)
[Related Guides to the Product](https://learn.adafruit.com/products/2258/guides)
![Angled shot of assembled black Pi Model B+ / Pi 2 / Pi 3 Case Base with a clear lid.](https://cdn-shop.adafruit.com/640x480/2258-01.jpg)

If you don't have a way to burn the OS image onto a&nbsp; **micro&nbsp;** sd card from your computer, we suggest picking up a USB MicroSD reader/writer.

# Pi Hole Ad Detection Display with PiTFT

## Raspberry Pi Setup

![](https://cdn-learn.adafruit.com/assets/assets/000/056/433/medium800/adafruit_products_pi3b.jpg?1530129040)

We'll need to set up the Pi with an operating system (OS), WiFi, and secure login (SSH) support before we install Pi Hole.

We have a guide on how to set up your Pi Zero W 'headless' which is how we recommend you get started. The Pi 3 (and up) and the Pi Zero W both have built in WiFi, so our guide can be used for both platforms:

[Set up your Pi](https://learn.adafruit.com/raspberry-pi-zero-creation/overview)
Warning: 

Here's the quick-start for people with some experience:

1. Download the&nbsp;[latest&nbsp; **'Lite'** &nbsp;Raspbian](https://www.raspberrypi.org/downloads/raspbian/)&nbsp;to your computer
2. [Burn the Lite Raspbian to your MicroSD card](https://learn.adafruit.com/adafruit-raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi)&nbsp;using your computer
3. [Re-plug the SD card into your computer (don't use your Pi yet!) and set up your wifi connection by editing supplicant.conf](https://learn.adafruit.com/raspberry-pi-zero-creation/text-file-editing)
4. [Activate SSH support](https://learn.adafruit.com/raspberry-pi-zero-creation/text-file-editing)
5. Plug the SD card into the Pi 3
6. If you have an HDMI monitor we recommend connecting it so you can see that the Pi is booting OK
7. Plug in power to the Pi 3 - you will see the green LED flicker a little. The Pi 3 will reboot while it sets up so wait a good 10 minutes
8. [If you are running Windows on your computer, install Bonjour support so you can use&nbsp; **.local** &nbsp;names, you'll need to reboot Windows after installation](https://learn.adafruit.com/bonjour-zeroconf-networking-for-windows-and-linux#microsoft-windows)
9. [You can then&nbsp; **ssh** &nbsp;into&nbsp; **raspberrypi.local**](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-6-using-ssh)

# Pi Hole Ad Detection Display with PiTFT

## Install Pi Hole

Use the following instructions to install Pi Hole:

[https://github.com/pi-hole/pi-hole/#one-step-automated-install](https://github.com/pi-hole/pi-hole/#one-step-automated-install)

# Pre-Check

OK once you have set your Pi up and the WiFi is connecting to your home or office network, and you can `ssh` into it, continue with these easy steps! If you cannot connect via `ssh` yet, go back and read some of our guides until&nbsp; you are able to log into your Pi.

![](https://cdn-learn.adafruit.com/assets/assets/000/045/316/medium800/raspberry_pi_ssh.png?1502845158)

# Change Hostname

I like to do this first so I don't get confused between all the different Pi's in the house.

The hostname can be set in the imager before you get started, but if you forgot or you'd like to change it afterwards, just edit the hostname with&nbsp; **sudo nano /etc/hostname** and put something else on that first line, like **pi-hole**

![](https://cdn-learn.adafruit.com/assets/assets/000/045/317/medium800/raspberry_pi_hostname.png?1502845247)

Also change it in the hosts file with **sudo nano /etc/hosts** to match the same name. It's probably the last line:

![](https://cdn-learn.adafruit.com/assets/assets/000/073/755/medium800/adafruit_products_Screenshot_from_2019-03-27_16-09-58.png?1553728471)

Reboot and when you ssh in again, use **pi-hole.local**

Now's also a good time to change the Pi's password with **passwd**

# Run Pi Hole Installer

There's more information on how installation at [https://pi-hole.net/](https://pi-hole.net/) - as of the writing of this guide, its easier to just run:

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

It will take quite a while to install, and may seem to 'hang' at points. Just let it do its thing for about 20 minutes!

Danger: The screenshots below are based on the 5.18.2 release of Pi-Hole. The latest version may have slightly different screens and options, but generally accepting defaults to everything should be OK.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/282/medium800/adafruit_products_Screenshot_2024-04-09_at_2.17.05_PM.png?1712700509)

![](https://cdn-learn.adafruit.com/assets/assets/000/129/283/medium800/adafruit_products_Screenshot_2024-04-09_at_2.13.14_PM.png?1712700542)

# Configuration
The installer may complain about needing a requiring IP address, which is recommended. This is because DHCP reservations can expire. However, in practice, if the pi stays in communication with your DHCP server, it usually just keeps renewing the same IP address, which works well enough. if you have an advanced network set up, you can configure a custom IP address

![adafruit_products_Screenshot_2024-04-09_at_2.17.37_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/284/medium640/adafruit_products_Screenshot_2024-04-09_at_2.17.37_PM.png?1712700635)

If you have your pi has multiple network interfaces such as WiFi and an ethernet adapter, it will ask you which one you would like to use.

![adafruit_products_Screenshot_2024-04-09_at_2.18.00_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/285/medium640/adafruit_products_Screenshot_2024-04-09_at_2.18.00_PM.png?1712700942)

Pick who will be the upstream DNS (for non-ad blocked sites) - Google is fine and will probably be up all the time

![adafruit_products_Screenshot_2024-04-09_at_2.18.18_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/286/medium640/adafruit_products_Screenshot_2024-04-09_at_2.18.18_PM.png?1712701063)

You can add any additional third party lists here or you can just use the default.

![adafruit_products_Screenshot_2024-04-09_at_2.18.31_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/287/medium640/adafruit_products_Screenshot_2024-04-09_at_2.18.31_PM.png?1712701140)

The Web Interface is kinda cool, and is password protected. We'll be showing most of the stats on the little OLED but we still need the API to be running so install this.

You'll also need a web interface running, so select this as well unless you already have another one installed.

![adafruit_products_Screenshot_2024-04-09_at_2.18.47_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/288/medium640/adafruit_products_Screenshot_2024-04-09_at_2.18.47_PM.png?1712701216)

![adafruit_products_Screenshot_2024-04-09_at_2.18.56_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/289/medium640/adafruit_products_Screenshot_2024-04-09_at_2.18.56_PM.png?1712701297)

If you'd like to retain a log of the ads that are blocked, you can enable query logging. If you enable it, you'll also be asked about the amount of content that you'd like logged.

![adafruit_products_Screenshot_2024-04-09_at_2.19.03_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/290/medium640/adafruit_products_Screenshot_2024-04-09_at_2.19.03_PM.png?1712701363)

![adafruit_products_Screenshot_2024-04-09_at_2.19.25_PM.png](https://cdn-learn.adafruit.com/assets/assets/000/129/291/medium640/adafruit_products_Screenshot_2024-04-09_at_2.19.25_PM.png?1712701449)

It will keep installing! Just hold tight...

![](https://cdn-learn.adafruit.com/assets/assets/000/129/296/medium800/adafruit_products_Screenshot_2024-04-09_at_3.06.35_PM.png?1712701743)

When its done you'll get this final config screen! Copy & paste the password into another window for now

![](https://cdn-learn.adafruit.com/assets/assets/000/129/294/medium800/adafruit_products_Screenshot_2024-04-09_at_3.02.47_PM.png?1712701699)

# Test Admin Page

On your desktop computer or tablet, visit [http://pi.hole/admin](http://pi.hole/admin) or if that doesn't work, try [http://[your-ip]/admin](http:/127.0.0.1/admin) (replacing [your-ip] with you IP address) and you should see an administration panel!

![](https://cdn-learn.adafruit.com/assets/assets/000/045/327/medium800/raspberry_pi_admin.png?1502846397)

# Test Blocking
On your tablet, phone, computer, etc - Set up your **DNS** server in the network settings to be the IP address of the Pi

![](https://cdn-learn.adafruit.com/assets/assets/000/045/341/medium800/raspberry_pi_djs.png?1502855696)

You _may_ need to restart your network or browser to have it kick in, also there may be some cached ads so don't worry if not everything is blocked. Visit your favorite site with ads (not adafruit.com cuz we don't have any! :) and see the difference!

![](https://cdn-learn.adafruit.com/assets/assets/000/045/342/medium800thumb/raspberry_pi_adfade.jpg?1502855755)

Now that you've got that done, lets continue and install the display!

# Pi Hole Ad Detection Display with PiTFT

## PiTFT Configuration

# Assembly
If you are using a case like the [Adafruit Raspberry Pi Case](https://www.adafruit.com/product/2258), snap-fit the Pi into the case:

![](https://cdn-learn.adafruit.com/assets/assets/000/056/426/medium800thumb/adafruit_products_SHORTER_Pi_Into_Case_GIF.jpg?1530126718)

Leave the clear top off, we'll need to access the GPIO header for the PiTFT.&nbsp;

The PiTFT's four mounting ears can be used to attach the display to a bezel. But, we'll be snapping them off with pliers (they're perforated) for a flush-fit with the case/&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/056/428/medium800/adafruit_products_pitft-snap-headers.jpg?1530127215)

Position the PiTFT over the 2x20 GPIO connector and press downwards. Make sure the PiTFT's header is flush against the GPIO header.

![](https://cdn-learn.adafruit.com/assets/assets/000/056/469/medium800/adafruit_products_pressdown.png?1530198084)

Now that our PiTFT is assembled, let's configure the display to work with our Pi.

# PiTFT Configuration
![](https://cdn-learn.adafruit.com/assets/assets/000/056/425/medium800/adafruit_products_2441-18.jpg?1530126517)

You'll need to perform some configuration to get the PiTFT up and running. We'll do this through the PiTFT installer script.

This script will do all the work for you, and install both device tree overlay support as well as configure rotation and any HDMI mirroring. PiTFT no longer needs any custom kernels or modules, so you can continue to update/upgrade your Pi and it will work with the most recent releases.

To download the script, click the link below and come back to this page when you're done:

[Download PiTFT Easy Install ](https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/easy-install-2#installer-script-2038256-6)
## Easy Single Command Install

The latest script allows you to specify all of your options within the command so you can sit back and watch the installation. Once the **virtual environment has been setup and activated** (from guide linked above), for the&nbsp; **PiTFT** &nbsp; **3.5" Resistive touchscreen** with a rotation of 270 degrees (so the PiTFT can sit on your desk while the USB cable is plugged in), use the following command:

```python
sudo -E env PATH=$PATH python3 adafruit-pitft.py --display=35r --rotation=270 --install-type=console
```

Danger: 

Say&nbsp; **Yes&nbsp;** to the question&nbsp;`Would you like the console to appear on the PiTFT display`

![](https://cdn-learn.adafruit.com/assets/assets/000/099/206/medium800/adafruit_products_Console_to_Appear.png?1612371847)

Then, reboot the Pi. You'll see the console appear on the Pi. Don't worry if the Pi-hole doesn't display, we're going to configure that next.

# Pi Hole Ad Detection Display with PiTFT

## Install PADD

![](https://cdn-learn.adafruit.com/assets/assets/000/056/401/medium800/adafruit_products_padd.png?1530120243)

Next we're going to install [PADD](https://github.com/jpmck/PADD), the Pi-hole Ad Detection Display. This application displays statistics about advertisements, your Pi's status, network configuration and system statistics on your PiTFT.

[It is written and maintained by Jim McKenna who did an awesome job!](https://github.com/jpmck)

In the SSH session with your Pi, navigate to your home directory:

```
cd ~
```

Grab a copy of PADD:

```
wget -N https://raw.githubusercontent.com/jpmck/PADD/master/padd.sh

```

Make PADD executable by running:

```
sudo chmod +x padd.sh

```

For authentication ([more info](https://github.com/pi-hole/PADD#authentication)), add the user **pi** to the group **pihole** by running:

```auto
sudo adduser pi pihole
```

## Open PADD at Pi Bootup
Next, we're going to set PADD to open automatically on your PiTFT when we start our Pi.

Open `~/.bashrc`:

```
nano ~/.bashrc
```

Navigate to the end of the file (by pressing the **down arrow key** ) and add the following text:

```
# Run PADD
# If we're on the PiTFT screen (ssh is xterm)
if [ "$TERM" == "linux" ] ; then
  while :
  do
    ./padd.sh
    sleep 1
  done
fi
```

![](https://cdn-learn.adafruit.com/assets/assets/000/056/402/medium800thumb/adafruit_products_paddconfig.jpg?1530120778)

Save ( **control+O** ) the configuration and exit ( **control+X** ) nano to be brought back to the terminal.

## Turn off the PiTFT at Night
The PiTFT is **bright&nbsp;** and doesn't need to be powered-on at night, so let's put it to sleep until we wake up.

Edit cron as root:

```
sudo crontab -e
```

Select nano as an editor by pressing the&nbsp; **2&nbsp;** key.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/056/405/medium800/adafruit_products_crontab.png?1530121071)

Scroll beneath the commented&nbsp;text (#) and enter the following:

```
# PADD Sleep
# Turn off the PiTFT+ at midnight
00 00 * * * sh -c 'echo "0" &gt; /sys/class/backlight/soc\:backlight/brightness'
# Turn on the PiTFT+ at 8:00 am
00 08 * * * sh -c 'echo "1" &gt; /sys/class/backlight/soc\:backlight/brightness'
```

![](https://cdn-learn.adafruit.com/assets/assets/000/056/408/medium800/adafruit_products_crontab2.png?1530121267)

Save ( **control+O** ) the configuration and exit ( **control+X** ) nano to be brought back to the terminal.

Reboot the Pi to apply the new changes by running:

```
sudo reboot
```

When your Pi reboots, the TFT should boot into PADD:

![](https://cdn-learn.adafruit.com/assets/assets/000/056/411/medium800/adafruit_products_padd-ladyada-desk.png?1530121598)

After PADD starts, it should go into display mode. If your PADD is displaying statistics about your network, congrats! We're all set up and ready to test our advertisement-blocking-pi.

![](https://cdn-learn.adafruit.com/assets/assets/000/056/413/medium800/adafruit_products_IMG_4263.jpg?1530121714)

## Smaller Pi Displays
You can also use this guide with smaller displays, like the [PiTFT 2.8"](https://www.adafruit.com/product/2423). The full PADD display is unsupported by this screen - but don't worry - it'll automatically display a smaller, **mini PADD** interface.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/056/412/medium800/adafruit_products_paddmini.png?1530121657)

# Pi Hole Ad Detection Display with PiTFT

## Using PADD and Pi Hole

## Configure and Test Ad Blocking
PADD will display the Pi-hole's IP address underneath its&nbsp;_Network_ tab:

![](https://cdn-learn.adafruit.com/assets/assets/000/056/435/medium800/adafruit_products_padd-highlight-ip.png?1530129378)

On your tablet, phone, computer, etc - Set up your&nbsp; **DNS** &nbsp;server in the network settings to be the IP address of the Pi:

![](https://cdn-learn.adafruit.com/assets/assets/000/056/436/medium800thumb/adafruit_products_dns-setup.jpg?1530129578)

You&nbsp;_may_&nbsp;need to restart your network or browser to have it kick in, also there may be some cached ads so don't worry if not everything is blocked.&nbsp;

Not sure if your Pi-hole is configured properly? Visit [blockads.fivefilters.org](https://blockads.fivefilters.org/?pihole)&nbsp;from the device you're configuring to test Pi-hole functionality.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/056/438/medium800/adafruit_products_Screenshot-2018-04-01-13.10.36.png?1530129899)

You can also visit some of your favorite sites or load a mobile application which would normally have in-application advertisements to test your Pi-hole.

## Router Configuration for Pi-Hole
![](https://cdn-learn.adafruit.com/assets/assets/000/056/439/medium800/adafruit_products_Screenshot-2017-02-23-20.23.07.png?1530130149 src: https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245)

Don't want to configure each device on your network separately? Have a device that doesn't allow you to enter DNS settings? [You can configure your router's DHCP options to force clients to use Pi-hole as their DNS server.](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245)

 **Want to switch back to a terminal?&nbsp;** Hit _CTRL+C_

## Updating PADD
If your PADD displays&nbsp;_Update avail.,&nbsp;_you'll need to update it. PADD only uses stable builds of Pi-hole and FTLDNS, so you can rest assured that your internet won't break.

We can do this easily by SSH'ing into our Pi-Hole:

```
ssh pi@pi-hole.local
```

Log in. Then, navigate to our home directory:

```
cd ~
```

And update the version of PADD on your Pi by running:

```
wget -N https://raw.githubusercontent.com/jpmck/PADD/master/padd.sh

```

After the update completes, restart your Pi by running:

```
sudo reboot
```

Once restarted, PADD should display _"Pi-hole is up-to-date"._

## Enable Console Auto-Login

To keep your Raspberry Pi from not booting into Pi-Hole or PADD, you need to enable console auto-login. To do this, navigate to System Options \> Boot / Auto Login and then select **Console Autologin**.

## Troubleshooting
### 

Enter&nbsp;the following in your terminal to launch raspi-config:

`sudo raspi-config`

From the menu, select:&nbsp; **Localization Options** &nbsp;-\>&nbsp; **Change Locale.**

**Select Generate** &nbsp; **en\_US.UTF-8 UTF-8** &nbsp;, and walk through the prompts.


## Featured Products

### Raspberry Pi 3 - Model B+ - 1.4GHz Cortex-A53 with 1GB RAM

[Raspberry Pi 3 - Model B+ - 1.4GHz Cortex-A53 with 1GB RAM](https://www.adafruit.com/product/3775)
The Raspberry Pi 3 Model B is the most popular Raspberry Pi computer made, and the Pi Foundation knows you can always make a good thing _better_! And what could make the Pi 3 better? How about a&nbsp;_faster_ processor, 5 GHz WiFi, and updated Ethernet chip with PoE capability?...

In Stock
[Buy Now](https://www.adafruit.com/product/3775)
[Related Guides to the Product](https://learn.adafruit.com/products/3775/guides)
### PiTFT Plus 480x320 3.5" TFT+Touchscreen for Raspberry Pi

[PiTFT Plus 480x320 3.5" TFT+Touchscreen for Raspberry Pi](https://www.adafruit.com/product/2441)
Is this not the cutest, little display for the Raspberry Pi? It features a **3.5" display with 480x320** 16-bit color pixels and a resistive touch overlay [just like our popular original](https://www.adafruit.com/products/2097), but this one is engineered...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2441)
[Related Guides to the Product](https://learn.adafruit.com/products/2441/guides)
### 5V 2.5A Switching Power Supply with 20AWG MicroUSB Cable

[5V 2.5A Switching Power Supply with 20AWG MicroUSB Cable](https://www.adafruit.com/product/1995)
Our all-in-one 5V 2.5 Amp + MicroUSB cable power adapter is the perfect choice for powering single-board computers like Raspberry Pi, BeagleBone, or anything else that's power-hungry!

This adapter was specifically designed to provide 5.25V, not 5V, but we still call it a 5V USB...

In Stock
[Buy Now](https://www.adafruit.com/product/1995)
[Related Guides to the Product](https://learn.adafruit.com/products/1995/guides)
### 8GB Class 10 SD/MicroSD Memory Card - SD Adapter Included

[8GB Class 10 SD/MicroSD Memory Card - SD Adapter Included](https://www.adafruit.com/product/2692)
Add mega-storage in a jiffy using this 8 GB micro-SD card. It comes with a SD adapter so you can use it with any of our shields or adapters! Preformatted to FAT so it works out of the box with our projects. Tested and works great with our [Wave...](http://www.adafruit.com/products/94)

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2692)
[Related Guides to the Product](https://learn.adafruit.com/products/2692/guides)
### Adafruit Raspberry Pi B+ / Pi 2 / Pi 3 Case - Smoke Base

[Adafruit Raspberry Pi B+ / Pi 2 / Pi 3 Case - Smoke Base](https://www.adafruit.com/product/2258)
It took awhile to perfect&nbsp;-&nbsp;but that's okay&nbsp;since we can now safely say that the Adafruit case for Raspberry Pi Model B+ / Pi 2 / Pi 3&nbsp;is The Single&nbsp;Greatest Raspberry Pi Model B+ Case Ever.

This enclosure&nbsp;was designed by Mike Doell - just like our...

In Stock
[Buy Now](https://www.adafruit.com/product/2258)
[Related Guides to the Product](https://learn.adafruit.com/products/2258/guides)
### USB MicroSD Card Reader/Writer - microSD / microSDHC / microSDXC

[USB MicroSD Card Reader/Writer - microSD / microSDHC / microSDXC](https://www.adafruit.com/product/939)
This is the cutest little microSD card reader/writer - but don't be fooled by its adorableness! It's wicked fast and supports up to 64 GB SDXC cards! Simply slide the card into the edge and plug it into your computer. No drivers are required, it shows up as a standard 'Mass...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/939)
[Related Guides to the Product](https://learn.adafruit.com/products/939/guides)
### Raspberry Pi 3 - Model B - ARMv8 with 1G RAM

[Raspberry Pi 3 - Model B - ARMv8 with 1G RAM](https://www.adafruit.com/product/3055)
Did you really think the Raspberry Pi would stop getting better? At this point, we sound like a broken record, extolling on the new Pi’s myriad improvements like we’re surprised that the folks at the Raspberry Pi Foundation are continuously making their flagship board better.&nbsp;...

In Stock
[Buy Now](https://www.adafruit.com/product/3055)
[Related Guides to the Product](https://learn.adafruit.com/products/3055/guides)
### Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen

[Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen](https://www.adafruit.com/product/2423)
Is this not the cutest little display for the Raspberry Pi? It features a 2.8" display with 320x240 16-bit color pixels and a capacitive touch overlay.&nbsp;That's right, instead of a resistive touchscreen, which requires a fingernail or stylus, you can now use a fingerpad. The screen...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2423)
[Related Guides to the Product](https://learn.adafruit.com/products/2423/guides)

## Related Guides

- [SnapPiCam Raspberry Pi Camera](https://learn.adafruit.com/snappicam-raspberry-pi-camera.md)
- [Monitor PiCam and temperature on a PiTFT via adafruit.io](https://learn.adafruit.com/monitor-picam-and-temperature-on-a-pitft-via-adafruit-dot-io.md)
- [Onion Pi](https://learn.adafruit.com/onion-pi.md)
- [Kali Linux on the Raspberry Pi with the PiTFT](https://learn.adafruit.com/kali-linux-on-the-raspberry-pi-with-the-pitft.md)
- [RasPipe: A Raspberry Pi Pipeline Viewer, Part 2](https://learn.adafruit.com/raspipe-a-raspberry-pi-pipeline-viewer-part-2.md)
- [Adafruit 2.4" PiTFT HAT with Resistive Touchscreen Mini Kit](https://learn.adafruit.com/adafruit-2-4-pitft-hat-with-resistive-touchscreen-mini-kit.md)
- [Processing on the Raspberry Pi & PiTFT](https://learn.adafruit.com/processing-on-the-raspberry-pi-and-pitft.md)
- [AstroPrint 3D Printing](https://learn.adafruit.com/astroprint-3d-printing.md)
- [Running OpenGL-based Games & Emulators on Adafruit PiTFT Displays](https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-displays.md)
- [PiGRRL - Raspberry Pi Gameboy](https://learn.adafruit.com/pigrrl-raspberry-pi-gameboy.md)
- [OpenClaw on Raspberry Pi](https://learn.adafruit.com/openclaw-on-raspberry-pi.md)
- [Analog Knobs on Raspberry Pi 400 with CYBERDECK Hat](https://learn.adafruit.com/analog-knobs-on-raspberrypi-400-with-cyberdeck-hat.md)
- [TFT Spirit Board](https://learn.adafruit.com/tft-spirit-board.md)
- [Scrambled Number Security Keypad](https://learn.adafruit.com/scrambled-number-security-keypad.md)
- [Adafruit ESP32-S3 Reverse TFT Feather](https://learn.adafruit.com/esp32-s3-reverse-tft-feather.md)
