Pi Hole Ad Blocker with Pi Zero W (2024)

198

Updated

Intermediate

Project guide

Install Pi Hole

Use the following instructions to install Pi Hole:

https://github.com/pi-hole/pi-hole/#one-step-automated-install

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 you are able to log into your Pi.

Pi Hole Ad Blocker with Pi Zero W (1)

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 withsudo nano /etc/hostname and put something else on that first line, like pi-hole

Pi Hole Ad Blocker with Pi Zero W (2)

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

Pi Hole Ad Blocker with Pi Zero W (3)

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

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

Download File

Copy Code

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!

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.

Pi Hole Ad Blocker with Pi Zero W (4)

Pi Hole Ad Blocker with Pi Zero W (5)

Pi Hole Ad Blocker with Pi Zero W (6)

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

Pi Hole Ad Blocker with Pi Zero W (7)

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.

Pi Hole Ad Blocker with Pi Zero W (8)

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

Pi Hole Ad Blocker with Pi Zero W (9)

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

Pi Hole Ad Blocker with Pi Zero W (10)

Pi Hole Ad Blocker with Pi Zero W (11)

Pi Hole Ad Blocker with Pi Zero W (12)

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.

Pi Hole Ad Blocker with Pi Zero W (13)

Pi Hole Ad Blocker with Pi Zero W (14)

Pi Hole Ad Blocker with Pi Zero W (15)

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.

It will keep installing! Just hold tight...

Pi Hole Ad Blocker with Pi Zero W (16)

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

Pi Hole Ad Blocker with Pi Zero W (17)

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

Pi Hole Ad Blocker with Pi Zero W (18)

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

Pi Hole Ad Blocker with Pi Zero W (19)

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!

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

Text editor powered by tinymce.

Pi Hole Ad Blocker with Pi Zero W (2024)
Top Articles
Read "Unit Manufacturing Processes: Issues and Opportunities in Research" at NAP.edu
OnePlus says it’ll suspend ‘X-ray’ camera that can see through plastic
Acts 16 Nkjv
Paula Deen Italian Cream Cake
Buckaroo Blog
Espn Expert Picks Week 2
Tamilblasters 2023
Ave Bradley, Global SVP of design and creative director at Kimpton Hotels & Restaurants | Hospitality Interiors
Vichatter Gifs
zopiclon | Apotheek.nl
Watch TV shows online - JustWatch
Ivegore Machete Mutolation
Housework 2 Jab
Q Management Inc
Xomissmandi
Weepinbell Gen 3 Learnset
Universal Stone Llc - Slab Warehouse & Fabrication
Craigslist Apartments Baltimore
Knock At The Cabin Showtimes Near Alamo Drafthouse Raleigh
Everything To Know About N Scale Model Trains - My Hobby Models
Move Relearner Infinite Fusion
Restored Republic June 16 2023
Phantom Fireworks Of Delaware Watergap Photos
480-467-2273
Jesus Revolution Showtimes Near Regal Stonecrest
Costco Jobs San Diego
Worthington Industries Red Jacket
Page 2383 – Christianity Today
Tire Pro Candler
Mrstryst
Calculator Souo
Flaky Fish Meat Rdr2
Bratislava | Location, Map, History, Culture, & Facts
Daily Journal Obituary Kankakee
Royals op zondag - "Een advertentie voor Center Parcs" of wat moeten we denken van de laatste video van prinses Kate?
Caderno 2 Aulas Medicina - Matemática
Regis Sectional Havertys
Jail View Sumter
Gifford Christmas Craft Show 2022
Letter of Credit: What It Is, Examples, and How One Is Used
“To be able to” and “to be allowed to” – Ersatzformen von “can” | sofatutor.com
All Obituaries | Sneath Strilchuk Funeral Services | Funeral Home Roblin Dauphin Ste Rose McCreary MB
Best GoMovies Alternatives
Anderson Tribute Center Hood River
Joey Gentile Lpsg
Avatar: The Way Of Water Showtimes Near Jasper 8 Theatres
4Chan Zelda Totk
Shannon Sharpe Pointing Gif
Sml Wikia
라이키 유출
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 6363

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.