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
Boston 25 Mobile and Smart TV Apps for News and Weather – Boston 25 News
Should I leave a job for more money?
How To Fix Epson Printer Error Code 0x9e
Joliet Patch Arrests Today
Kevin Cox Picks
Chicago Neighborhoods: Lincoln Square & Ravenswood - Chicago Moms
Team 1 Elite Club Invite
Google Sites Classroom 6X
Sprague Brook Park Camping Reservations
Jesus Revolution Showtimes Near Chisholm Trail 8
Elle Daily Horoscope Virgo
Simple Steamed Purple Sweet Potatoes
Hope Swinimer Net Worth
1Win - инновационное онлайн-казино и букмекерская контора
Regal Stone Pokemon Gaia
Chris Hipkins Fue Juramentado Como El Nuevo Primer Ministro De...
Premier Reward Token Rs3
Jvid Rina Sauce
Lima Funeral Home Bristol Ri Obituaries
Mbta Commuter Rail Lowell Line Schedule
Destiny 2 Salvage Activity (How to Complete, Rewards & Mission)
Spergo Net Worth 2022
Everything We Know About Gladiator 2
Amazing deals for DKoldies on Goodshop!
Craigslist Pinellas County Rentals
Earl David Worden Military Service
Pokemon Unbound Shiny Stone Location
The Weather Channel Local Weather Forecast
Contracts for May 28, 2020
Ice Dodo Unblocked 76
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
Wics News Springfield Il
Ihub Fnma Message Board
Utexas Iot Wifi
WRMJ.COM
Kristy Ann Spillane
Obsidian Guard's Skullsplitter
Metro By T Mobile Sign In
Leland Nc Craigslist
Hermann Memorial Urgent Care Near Me
A Man Called Otto Showtimes Near Amc Muncie 12
Andhra Jyothi Telugu News Paper
Ukg Dimensions Urmc
Craigslist Jobs Brownsville Tx
Legit Ticket Sites - Seatgeek vs Stubhub [Fees, Customer Service, Security]
60 X 60 Christmas Tablecloths
511Pa
Big Reactors Best Coolant
Deezy Jamaican Food
Room For Easels And Canvas Crossword Clue
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.