Setting Up A Pi-hole Network Ad Blocker On A Raspberry Pi Zero W, Step by Step

  Рет қаралды 187,021

Michael Klements

Michael Klements

3 жыл бұрын

In this video, I'll show you, step-by-step, how to assemble and set up a Pi-Hole ad blocker on your home WiFi network using a Raspberry Pi Zero W. Pi-Hole is a fantastic piece of software to create a network-wide ad blocker without the need for browser plugins, apps or any other software on the devices on the network. It'll block ads, improve your network speed, and save data if you're on a limited data plan.
Here's a step by step written guide - www.the-diy-life.com/setting-...
You can find out more about the Pi-Hole software here - pi-hole.net/
What You Need For This Project
Raspberry Pi Zero W Complete Kit - amzn.to/3kNfIgh
Alternately -
Raspberry Pi Zero W - amzn.to/34KlMAv
32GD Micro SD Card - amzn.to/3mJ4Q3m
Raspberry Pi Zero Case - amzn.to/325DOeJ
Power Supply - amzn.to/2JmjMpH
If you've got any ideas for Raspberry Pi, Arduino, or other tech and electronics projects, let me know in the comments section.

Пікірлер: 382
@MA6manalac
@MA6manalac 3 жыл бұрын
this video's ads are the last ads I'll ever watch again!
@LighteningOne
@LighteningOne 3 жыл бұрын
No you won't. Pi-hole does not block youtube ads because these are shown through the same video stream link from where the video is being streamed. Try U-origin.
@TF12191
@TF12191 3 жыл бұрын
@@LighteningOne brave browser, on any device ;)
@patricklomasney
@patricklomasney 3 жыл бұрын
@@TF12191 or KZfaq Vanced
@biljoe209
@biljoe209 2 жыл бұрын
lol, lmao
@abac6404
@abac6404 6 ай бұрын
​@@LighteningOne😢
@Maxplanar1
@Maxplanar1 2 жыл бұрын
This is a model for how all tech setup videos should be done. Excellent video Michael, thank you.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thank you for the great feedback!
@4209211vikash
@4209211vikash Жыл бұрын
Instantly subscribed. This is the first video I have seen from you and it was precisely the kind of video audiences wants. NO beating around the bush, cut to the chase, focused tutorial. Keep up the good work mate.
@MichaelKlements
@MichaelKlements Жыл бұрын
Thank you for the great feedback!
@barrykruyssen
@barrykruyssen 2 жыл бұрын
Great tutorial. Good pace, no extraneous content (bullsh1t) . Precise and to the point. Your my number one Pi source now.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thanks Barry!
@ryanmerkel4832
@ryanmerkel4832 3 жыл бұрын
Great tutorial. Thank you! Was super simple and worked flawlessly!
@delubiod1970
@delubiod1970 2 жыл бұрын
I tried at least 6 tutorials before bumping into your tutorial. Those two files to add to the partition boot was missing in all of the 6 tutorials I watched. I was not able to make it to work. Now is working like a charm.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
That's great to hear, enjoy your Pi-hole!
@harbirsaini665
@harbirsaini665 3 жыл бұрын
Thanks I was looking for this , can’t wait for my pi zero w to arrive
@shimon8139
@shimon8139 Жыл бұрын
BTW Michael thank you for the tutorial. very straight to the point and easy to understand.
@MrAlan0151
@MrAlan0151 2 жыл бұрын
Works great thank you for all your advice, your a star.
@AzizLomigora
@AzizLomigora 2 жыл бұрын
Amazing tutorial, thank you so much!
@TimothyEdDoran
@TimothyEdDoran 3 жыл бұрын
Thanks for the great instructions. It has worked perfectly for me.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
That’s great Tim!
@sammyy1105
@sammyy1105 Жыл бұрын
very easy to follow thanks!
@Gandalfnation
@Gandalfnation 3 жыл бұрын
very good tutorial thank you!
@AdamSmith-oe3hu
@AdamSmith-oe3hu 3 жыл бұрын
Amazing work Michael, thank you for making this process so simple to understand
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Glad it was useful to you!
@andriusvitalis1701
@andriusvitalis1701 2 жыл бұрын
this works so good! thanks dude
@winstonwolf2981
@winstonwolf2981 3 жыл бұрын
Thanks, very helpful
@gringotom242
@gringotom242 3 жыл бұрын
Thanks mate great guide!
@PetriJarvenpaa
@PetriJarvenpaa Жыл бұрын
Really helpful, thank you!
@gabrieltoothman7534
@gabrieltoothman7534 2 жыл бұрын
Best tutorial out there👍
@kaaneris2757
@kaaneris2757 2 жыл бұрын
Great tutorial!
@moo00se
@moo00se 2 жыл бұрын
Thanks a lot! Easy to follow. I totally dig the written piece to go along with the video as well. Liked & subcribed. :D
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thank you, glad you find it useful!
@TheKickboxingCommunity
@TheKickboxingCommunity 2 жыл бұрын
It works! But some ads still come through, so I hope you have tutorials for this also ( to add more domains on the blocklist etc )
@terriblegamer9267
@terriblegamer9267 3 жыл бұрын
THANKYOU SIR!
@anonymous39400
@anonymous39400 3 жыл бұрын
very nice, very clear. Thanks so much.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Glad it was helpful!
@ozbayalperen1
@ozbayalperen1 3 жыл бұрын
thanks for tutorial
@samuelfarrar8954
@samuelfarrar8954 3 жыл бұрын
thank you so much
@Hexavelli
@Hexavelli 11 ай бұрын
*Thank You.*
@Cevans3535
@Cevans3535 3 жыл бұрын
Thank you very much for your time creating this easy to follow video!
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Thanks for the great feedback, glad you managed to get yours running!
@techdiyer5290
@techdiyer5290 3 жыл бұрын
Thanks!! i couldn't find out which text that was.
@Ice_2192
@Ice_2192 3 жыл бұрын
Setting a static ip is SUPER IMPORTANT. I didn't do that first time and my router thought my mac mini and pi were the same person and immediately took down my access to the internet.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes you really need to set a fixed IP address for a Pi-hole.
@lrellim7269
@lrellim7269 2 жыл бұрын
@@MichaelKlements and how do you do that? Can you set up a static even if your internet provider doesnt allow
@PedroNuno
@PedroNuno 2 жыл бұрын
Just done it will test now :-)
@uknowme1811
@uknowme1811 3 жыл бұрын
I set a music sserver and pi holle on my 0..no issues works great.
@onegalaxyplay
@onegalaxyplay 2 жыл бұрын
Ok I will also do that than.
@krishnakanthcake
@krishnakanthcake 3 жыл бұрын
thanks man
@DD8842
@DD8842 2 жыл бұрын
The best part is that they named it "pi hole" god I hope that never changes.
@alexandernewman331
@alexandernewman331 3 жыл бұрын
just wanted to say thanks and give a heads up on an issue I had for others. some provided gateways from ISPs will not let you change the DNS server in their settings and the DNS server is actually hardcoded in the gateway. you can get around this by changing the preferred DNS server in each of your device's settings or I have read you can also use the raspberry pi built-in DHCP server to get around it(haven't tried this).
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Thanks for the tip!
@cobra646
@cobra646 2 жыл бұрын
This is correct. I have used a Huawei B593 4G modem/router with a firmware that did not allow for changing the DNS. So I did it manually on the devices used in the network and it worked fine. Just meant going around and finding all the phones/tablets/laptops around the house.
@LorenzoDeSousa
@LorenzoDeSousa 3 жыл бұрын
got my pi hole running as a docker container inside open media vault , works great just use the raspberry pie ip and port that specified to access the web gui, the reason i like this is one pi 4 runs a mini nas, pi-hole and is my torrent box :P
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Great idea Lorenzo! Docker is great for creating multi-function Pi's, especially for network applications.
@itsjfam
@itsjfam Жыл бұрын
Can confirm this will work on a pi 1, and I used a ethernet cable and just skipped the wireless.txt part. also have it plugged into the modem, everything seems to be working just fine.
@ShyneflowLC
@ShyneflowLC 3 жыл бұрын
My Pi zero w is on the way!
@ShyneflowLC
@ShyneflowLC 3 жыл бұрын
Ended up doing it with a different pi zero w case that was clear and made it look cool
@DJDashzn
@DJDashzn 2 жыл бұрын
Fantastic tutorial. Do you know where we can get South Africa black list or regex
@hanac5586
@hanac5586 Жыл бұрын
awesome
@Backedone-ss5vw
@Backedone-ss5vw 5 ай бұрын
Hi man , much appreciated Any new updates March 2024 on the topic?
@ckmoore101
@ckmoore101 19 күн бұрын
My next project, but currently evaluating whether Pi-hole, or Adguard Home is the best choice. So many opinions on which is better. So far the edge seems to be for Adguard...
@IBurnThings90
@IBurnThings90 11 ай бұрын
It won't show up on my network at all.
@johnhusband924
@johnhusband924 2 жыл бұрын
Hi Michael great video and thank you for sharing. My network consists of a virgin hub 3 modem and a Archer A7 router connected by ethernet cable. I am assuming I need to change my DNS settings on the Virgin router and Archer router A7. I am assuming I do not need to change any setting on devices connecting to the Wi Fi from the Archer router A7.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thanks John! You'd most likely need to update the DNS settings in your virgin hub 3 modem - but this depends on how your network is set up. Yes, if you modify the DNS settings in your modem then this will be applied to all devices accessing the internet through this modem, you don't need to do it on the devices as well.
@winandd8649
@winandd8649 2 жыл бұрын
No problem to use a smaller SD card than 16Gb. Rpi OS lite and PiHole only takes up 3 Gb..
@carokann1802
@carokann1802 2 жыл бұрын
I heard you have to think about the log files that will be created. ofc you can define how long logs are kept and whether you want to log in the first place. if you accept recommended options during the configuration the pi will log ... a lot ...
@YXHYX
@YXHYX 2 жыл бұрын
Why it don't block KZfaq ads on Android and laptop even after I set up the DNS Configuration but it works on speed test
@ahtzee9078
@ahtzee9078 3 жыл бұрын
The irony of the mid rolls in this tutorial...
@Lazerscythe
@Lazerscythe 3 жыл бұрын
It is so you can check if your Pi Hole works ;)
@realcartoongirl
@realcartoongirl 3 жыл бұрын
but pihole doesn't block video youtube ads since its from same domain
@fotografm
@fotografm 3 жыл бұрын
That was very helpful. Thank you !!! One thing I may have missed and needed to look up elsewhere was how to change the passord supplied for the pihole. This is done via the ssh command line and "pihole -a -p (password)".
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Thanks for the tip, I'll add this to the blog post.
@timothyvo3749
@timothyvo3749 2 жыл бұрын
Great helpful video! Really easy to follow, but I found out my Xfinity modem/router won't let me change DNS, is there a work around besides using my own modem?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
You can set the DNS at device level. It’s a lot more effort but is a work-around in this case. So point each device (iPhone, computer etc) to the Pi for its DNS
@acorchia
@acorchia 2 жыл бұрын
Thanks Michael! This was a great vid to follow up on! I think if I leave some secondary dns it should be a good backup in the rare case the pi doesn't come up, right?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yes if your router allows for it that'll be good. Just be aware that some routers just use the two interchangeably, so it doesn't try the primary and if that fails it tries the secondary, it just sends some requests to the primary and some to the secondary.
@acorchia
@acorchia 2 жыл бұрын
@@MichaelKlements Thanks for the extra info!
@valeriopampanoni3573
@valeriopampanoni3573 3 жыл бұрын
Thanks, I set everything up in roughly half an hour following your guide. I used an old 8GB microSD, and I can confirm that it's enough for the purpose.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
That’s great!
@einhalbesbrot
@einhalbesbrot Жыл бұрын
Thank you so much i was wondering since i heard 4 should also be enough and in the video he says 16. Im gonna buy a bunch of 8 GBs now
@joeschmo622
@joeschmo622 2 жыл бұрын
Noice! I saw a few tutorials to make a PiHole out of a 3, etc., but wondered if I could just do it on a 0W. You answered that question, thanks!
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Definitely give it a try!
@MikeWeids
@MikeWeids 2 жыл бұрын
Thanks for the tutorial! The only problem now is actually finding a Zero W to use for it :) Any reason you opted for wireless vs wired (with an ethernet attachment)? Have you experienced any notable decrease in speeds or WiFi connectivity issues after installing?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
I don't have an USB Ethernet dongle, so tried with the WiFi connection and it has worked really well. I haven't had any issues with it or noticed any decrease in internet speed since installing it. The DNS lookup portion of a page load is miiliseconds, so even if the wireless connection is half as fast as wired, you likely won't notice the extra 50-100 or so milliseconds added to the load speed.
@chubbyelf5094
@chubbyelf5094 2 жыл бұрын
Hey, thanks for the video, but you are missing a direct link to the wpa_supplicant text file in the video description. Had to jump through some hoops to find it on your personal website, it would be better in the description!
@maman89
@maman89 2 жыл бұрын
Thanks man. Was thinking about getting the pi 4 but the pricing is stupid in my country. Around 120USD for 4GB and almost 200USD for the 8GB version
@MichaelKlements
@MichaelKlements 2 жыл бұрын
They've become really expensive around the world, unfortunately re-sellers are capitalizing on the shortage by selling them way over their recommended price
@VagabondGFG
@VagabondGFG 2 жыл бұрын
Thanks for the clear tutorial. Will an 8 GB SD card be enough?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
16GB is usually recommended by you might be able to use an 8GB with an install of Raspberry Pi OS Lite
@WakeUpAmerican000s
@WakeUpAmerican000s 3 жыл бұрын
Great video, thank-you. What is the process to enhance and update the block lists? The Pi is only as effective as the currency and completeness of the block lists used and there doesn't seem to be a lot of info on where to get block lists to beef up one's Pi-hole.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You just need to go to settings in the UI and you can add and remove lists there. It's as simple as pasting the web address for the new list and clicking save. Lists are auto-updated every Sunday morning by default. There are loads of forums which provide resources for additional lists and recommendations, the Pi-hole Reddit group is a good place to start.
@WakeUpAmerican000s
@WakeUpAmerican000s 3 жыл бұрын
@@MichaelKlements - Thank you for your reply. I've seen references to installing a database on the Pi to handle the blacklists etc. so wasn't sure how complex it is. Waiting for my hardware to arrive now and I'm sure it'll all come clear once I actually start playing with it. Thank you again for your efforts.
@SpaceMarshalGyorni
@SpaceMarshalGyorni 21 күн бұрын
Fantastic video, thanks a lot! Neat and to the point. Small side note: There's plain text credentials visible at 7:06, you might want to blur that or something.
@MichaelKlements
@MichaelKlements 20 күн бұрын
Thank you! The credentials were all just generated for this tutorial video, I don't use this setup on my netowrk.
@madeautonomous
@madeautonomous 3 жыл бұрын
Great short video and gets to the point. I was successful in setting up my pi-hole, but after few days I was not able to login to my pi zero...(reinstalled the OS again and setup for SSH...then my Putty just shows inactive of pi zero and aborts...)
@madeautonomous
@madeautonomous 3 жыл бұрын
Also, some internet company who provides 2.4 and 5 GHz...may actually be more troublesome because you can't block both...and pi zero does not work on 5 GHz...
@MichaelKlements
@MichaelKlements 3 жыл бұрын
What SD card are you using? I've seen a couple of people say that their Pi-holes ran for a few days or weeks and then froze or crashed due to failure of the SD card.
@WakeUpAmerican000s
@WakeUpAmerican000s 3 жыл бұрын
@@madeautonomous - I would personally not use a wireless connection to do this. Spend an extra $10 to get a Pi 3 or 4 and connect a CAT 6 cable from your router to the Pi-hole device. It'll cut your latency for every (of thousands) of DNS queries by two-thirds or more.
@savourymilkman8147
@savourymilkman8147 3 жыл бұрын
@@WakeUpAmerican000s you know, or a dongle....
@kazte
@kazte 2 ай бұрын
Hi man, ty for the tutorial. I have a question, does the DNS only work for WiFi connections or, for example, does it also work for my desktop computer that is connected via Ethernet cable?
@summerbee80
@summerbee80 Жыл бұрын
can i use the new RISC-V mango as an addblocker?
@YouTubeDave-tp7ij
@YouTubeDave-tp7ij 2 жыл бұрын
Any hints on getting ads blocked better on IOS and MacOS devices? I've set my Pihole as the DNS server, but doesn't block very well. Seems like there's something about IOS and MacOS that makes Pihole less efficient. I've got mine installed on my Pi 4. It's a waste of a Pi, but I do like Pihole a lot.
@ianwilsonT00x
@ianwilsonT00x 2 жыл бұрын
I've literally done this exact thing like 4 times and no matter what pi image i put on my cd card, when i ssh in it doesn't like the password.
@Nykzom
@Nykzom 2 жыл бұрын
same here. Do you got it working without setting it up on a keyboard, mouse and desktop. I think thats the only way to reset the pw..sadly
@fender_fan
@fender_fan 3 жыл бұрын
Thanks for this video, very easy to follow! Seems to be blocking ads embedded on websites, I'm still getting ads in mobile aps and video ads in KZfaq and Twitch. Did I miss a step?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
The ad blocker can only block dns requests to ad serving domains. So if a website serves its own ads from its own domain (like KZfaq does) or the ad server is not on your blocked list then it won’t block ads on the site.
@aelecx9083
@aelecx9083 3 жыл бұрын
You can manually get rid of the ads like I did for KZfaq. But it’s pretty tedious and with each and every ad my soul burned until I was a husk of once I once was.
@shilankalhor2072
@shilankalhor2072 2 жыл бұрын
How manually? You mean you bought the subscription?
@philipperino7094
@philipperino7094 3 жыл бұрын
i think this was the best tutorial on this. so now i got everyhting setup BESIDES, that my provider does not allow custom DNS Servers... does anybody know a workaround?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Thanks Philipperino. You can set your DNS server at device level (on each phone or laptop). It's a lot more work to set up, but you still get a similar result in the end.
@casey7223
@casey7223 3 жыл бұрын
Towards the end you mentioned the USB from the router may/may not power the pi. Do I not need the supplied power cord?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes, you'll need to run a USB cable between the router and the Pi to power it. Some router's supply enough power through this port to power a Pi and some don't. So it doesn't always work.
@klarname
@klarname 10 ай бұрын
Thanks for your work. Do you know if your instruction can also be used for a Rasperry Pi 1?
@MichaelKlements
@MichaelKlements 10 ай бұрын
Yes you can run Pihole on the original Raspberry Pi as well
@klarname
@klarname 10 ай бұрын
@@MichaelKlements , you are right thats what i also found out but thanks for for answering!
@JungleIsMassiv
@JungleIsMassiv 2 жыл бұрын
good tutorial... did all this just to find my internet supplier (optus) blocks the DNS customise feature. otherwise would work perfectly!
@MichaelKlements
@MichaelKlements 2 жыл бұрын
That's frustrating!
@um8778
@um8778 2 жыл бұрын
I took a shot every time I heard "raspberry pah", and now I'm soosafjasfja drruuuuahfnnnk
@GlassICE
@GlassICE 2 жыл бұрын
Seeing Ads isn't a bad thing however when an App has Ads it pisses me off cause it's using my bandwidth so i don't like it But i won't be bothered if i see Ads on a website i browse cause i know i'm supporting them
@ChrisPavlides
@ChrisPavlides 3 жыл бұрын
is there any difference on latency btw the wired and the Wireless Pi-Zero ?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
There is definitely a difference, but you're talking about 5 milliseconds or so on the WiFi and maybe 0.5 milliseconds on Ethernet. I doubt that a couple of thousandths of a second would make much difference for most people who would be using Pi-hole for web browsing, streaming etc.
@erlendtk85
@erlendtk85 3 жыл бұрын
Protip: After choosing image and storage in the imager, press ctrl+shift+x to set up ssh and wlan.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I'll definitely give that a try, thank you!
@jeffamsbaugh6018
@jeffamsbaugh6018 2 жыл бұрын
yea i think thats the issue that im running in to because i cant ssh from putty
@TheCorpsegrinder21
@TheCorpsegrinder21 3 жыл бұрын
does it works the same with the classic raspberry pi 0 with a wifi adapter?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes it will, although if you're adding an adapter then you should try get an Ethernet one rather, its just a bit more robust and reliable.
@fallingxshadow
@fallingxshadow 2 жыл бұрын
Does anyone know if you can modify this to block ads on mobile apps?
@jackalzombiie282
@jackalzombiie282 3 жыл бұрын
So if you can't change the DNS provider from the Modem/Router to the Pi Zero you have to select it manually in every device you want to use Pi hole?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes that’s correct
@luisoquendo4488
@luisoquendo4488 3 жыл бұрын
How do these instruction change when working on a Mac? I am having trouble with the wpa_supplicant part and changing it to .conf
@MichaelKlements
@MichaelKlements 3 жыл бұрын
It shouldn't change. You'll just need to make sure that your computer settings as such that it is not hiding the file extension.
@ekka1790
@ekka1790 3 жыл бұрын
Hi, will my internet get slower if I route my modem dns from the raspberry pi trough wifi?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
In theory it's a bit slower, in practice you probably wouldn't notice any difference unless you have lots of devices (15+) all making requests on your network at the same time.
@dannythomas1100
@dannythomas1100 2 жыл бұрын
Hi Michael, really good and informative video! But isn't it dangerous to store your network password (or any password for that matter) in plain text in a .txt file and not have it encrypted? Thank you for the vod!
@MichaelKlements
@MichaelKlements 2 жыл бұрын
The Pi deletes this file after first boot, so it's not actually left in the boot directory as a .txt file afterwards
@dannythomas1100
@dannythomas1100 2 жыл бұрын
@@MichaelKlements Ahhhhhhhh smart! Thank you!
@eRflol
@eRflol 2 жыл бұрын
@@MichaelKlements Pressing Ctrl+Shift+X while in the raspberry pi imager gives you advanced options to configure ssh access and wireless access without having to create/edit the image files. Save you a few steps
@shresthishigwcivpadt9713
@shresthishigwcivpadt9713 3 жыл бұрын
Can you set cloudfare or google as the secondary DNS provider to still have access in case the pi is turned off?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
This would depend on your router, but is usually possible.
@savourymilkman8147
@savourymilkman8147 3 жыл бұрын
theres alwayus the chance that the router will redirect straight to secondary and not even consider the pi as the primary dns. you are alwyas conneceted to your router, theres no reason to do it otherwise as theres always the ability to logi n and change it again
@Ivan-kh4kh
@Ivan-kh4kh 2 жыл бұрын
Thanks for the video! I have connected it to the router and found the network address but cant connect through putty. The connection times out. Any ideas how to fix this?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Are you sure SSH has been turned on on your Pi?
@Ivan-kh4kh
@Ivan-kh4kh 2 жыл бұрын
@@MichaelKlements I figured it out! My laptop was on the 5G band and the Pi was on the 2.4G band. Once I changed my laptop to the matching band it worked just as you described. Thanks again!
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Ah yes, glad you've managed to find the issue. It's a pity the Pi 4 doesn't support 5G WiFi, hopefully the next generation will!
@ArchPendragon
@ArchPendragon 2 жыл бұрын
how did I get here?? I searched... Thanksgiving Pecan Pie and I got this video.... j/k thanks for the video :D
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Haha - the rabbit hole that is KZfaq
@jacktherabbit2238
@jacktherabbit2238 Жыл бұрын
This work with the pi-zero w 2?
@MrMan-sy4ev
@MrMan-sy4ev 3 жыл бұрын
So the PuTTY emulator is meant to access the pi’s terminal from your own computer? Is that right?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes that's correct. You only need this to set it up initially though, once Pi-hole is loaded and running then you just access the Pi through a browser on your network.
@sc0or
@sc0or 3 жыл бұрын
It would be great to add couple of words to this video about setting a static IP with using OS only. 'cause some time user has no access to a router.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
The problem is that almost every platform has a different process to configure the DNS. It’s usually a quick google search though.
@sc0or
@sc0or 3 жыл бұрын
​@@MichaelKlements well.. not so many OSes are able to install on Pi Zero and pi-hole after that ) In fact, only Raspian is a good choice (and some old ubuntu servers) imho. But I've got your point
@MichaelKlements
@MichaelKlements 3 жыл бұрын
The OS I’m referring to is on your device which you’re using to access your wifi (like your phone or iPad). The dns server is set on each of these, not on the Pi-hole. If you can access your router then changing anything in Pi-hole isn’t going to help.
@patricklomasney
@patricklomasney 3 жыл бұрын
If I am connecting it with an Ethernet cable will I need to add the extra config file and SSH file?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You'll still need to add the SSH file, but won't need the config file.
@patricklomasney
@patricklomasney 3 жыл бұрын
@@MichaelKlements okay, thanks
@ezekiel6946
@ezekiel6946 3 жыл бұрын
After putting the ip addres in the dns server of the router and reloading, my pi hole still doesnt show any clients. Can anyone help
@MichaelKlements
@MichaelKlements 3 жыл бұрын
With PiHole up and running, try setting one of your local device’s DNS server as your Pi’s IP and see if that works. That way you’ll know if the issue is with the Pi or your router settings. You’ll probably need to reset the routers DNS settings back to the default settings.
@KlaasjanM
@KlaasjanM 2 жыл бұрын
Can you add multiple SSID's to the conf file?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Not that I'm aware of
@toblerone3202
@toblerone3202 3 жыл бұрын
Im having trouble finding my pi's IP address, i use xfinity and have netgear as my modem, where can I find this info?
@ahmetaydin9692
@ahmetaydin9692 2 жыл бұрын
My ssh connection is extremely slow. I have got a pi zero 2 w, can anyone help me?
@khalidalmeerani7336
@khalidalmeerani7336 3 жыл бұрын
Hi Michael. I got everything to work so far but it seems like my moderm/router does not allow me to change any DNS settings. this is true with the service provider i have. Is there another way to get around this without buying another router? Can I manually adjust my dns server on my devices (iphone) so it can get a connection from the raspberryPi and not the moderm/router? Thank you
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Hi KA Photography, Yeah, some service providers lock certain settings in their routers, so you can't make the required changes. Yes, you can adjust your DNS settings at device level, just point your iPhone to your Pi-hole as the DNS server. This is a bit more effort to set up and obviously isn't automatic for new devices joining the network, but it is a workable solution.
@khalidalmeerani7336
@khalidalmeerani7336 3 жыл бұрын
@@MichaelKlements thank you for the great video it works great so far 🙌🏼.
@inigomontoya8599
@inigomontoya8599 6 ай бұрын
Hey Man great Tutorial! However, I am getting stuck at the DHCP Table. the Pi is not showing up, I have reimaged the pi several times and verified the network address and name everytime but the pi never shows on the network. Do you know if there is some setting or file that may need to be installed for it?
@MichaelKlements
@MichaelKlements 6 ай бұрын
Can you connect to your network if you use a desktop version of the OS and do it through the WiFi settings?
@roelvanhaandel
@roelvanhaandel Жыл бұрын
Hey man, great totorial. But one thing is going wrong on my end. I am unable to get it to connect to the network using your method. Now i am just setting it up with the full Raspberry OS. Do you know what i could be doing wrong?
@MichaelKlements
@MichaelKlements Жыл бұрын
There is probably an issue with your WPA supplicant file, check that you've got the correct SSID and password - they're also case sensitive.
@roelvanhaandel
@roelvanhaandel Жыл бұрын
@@MichaelKlements hi, thanks for the answer. I don’t know, tried it like 10 times. Knowing for sure I am using the right login. Now i got it running on the normal RBPi OS. Only downside is that the 16gb flashdrive is already pretty full, 91%. First ran it with a connected display, but now I managed to connect it trough Remote Desktop.
@GreenSwede
@GreenSwede 3 жыл бұрын
You mention a Micro SD card with at least 16 GB. How much storage space do you have left after a lite install of Raspberry Pi OS and Pi-Hole?
@JordanII.
@JordanII. 3 жыл бұрын
I just did this and it says 12GB
@winandd8649
@winandd8649 2 жыл бұрын
I used a 8GB card, i have 5.1 Gb free space left..
@Beatfreax
@Beatfreax 2 жыл бұрын
Do we need to set firewall rules to make it more secure?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
This doesn't change or enhance your network security at all, if you were using a firewall before then you should continue after installing this.
@pivot9965
@pivot9965 Жыл бұрын
If you put your secondary dns with out the raspberry pi ip. when the raspeberry gets offline will it still run on the web just with ads?
@MichaelKlements
@MichaelKlements Жыл бұрын
That's the intention. It depends on your router though as some seem to split traffic between primary and secondary rather than use secondary as a fallback.
@shashwatshah2132
@shashwatshah2132 3 жыл бұрын
Do I really need a raspberry Pi in order achieve this goal, coz I have a laptop similar to raspberry Pi spec's. Can I use the laptop instead of raspberry Pi??
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You can apparently run Pi-hole on Docker on a Windows PC or Mac although I've never tried this. For the $15 cost of a Pi Zero W I'd probably still try get one of these rather than running a laptop as you'd probably save more in the long run with electricity costs.
@connerhumphrey8808
@connerhumphrey8808 3 жыл бұрын
my isp does not allow me to change my dns is there anyway to get around this?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Is your router locked then? If you're not able to change the DNS then unfortunately there isn't any way to use Pi-hole that I'm aware of.
@leryeo
@leryeo 5 ай бұрын
Can you make a video or instruct me as to how to unpair and remove pihole from my router as I no longer use it to block domains?
@MichaelKlements
@MichaelKlements 5 ай бұрын
Just change the DNS on your router back to what is was originally e.g. Cloudfare - 1.1.1.1
@clit24eugen
@clit24eugen 2 жыл бұрын
I did flow all steps however my pi won't connect to the wifi with the light os version only with the full os version ... is this a known issue ?!
@AjvarRelish
@AjvarRelish 3 жыл бұрын
I can't change my DNS on my ISP provided modem/router. So i've had to change the DNS on each device I wan't Pi-Hole to work on, that is connected to my wifi, right?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yeah if you aren't able to configure the settings on your router then you'll need to configure the individual devices on your network.
@leaf9164
@leaf9164 3 жыл бұрын
@@MichaelKlements could you explain on how to configure the individual devices?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I can't really do that as almost every device/manufacturer has a different process. You typically do this in the network/WiFi settings of the device. For example on an iPhone you'd go to the WiFi network, tap the icon next to it to open the settings for the network, then tap DNS and then set the DNS server to the IP address of the Pi Hole.
@WakeUpAmerican000s
@WakeUpAmerican000s 3 жыл бұрын
Jonas - you would probably be better off to purchase your own router for $60-100. When you stop paying "rent" every month to your ISP, you'll end up saving money after a few months. Then you can set up your router the way that you want to. And you'll have Pi-hole protection for ALL devices, even those where you can't set a DNS setting (like IoT devices)
Raspberry Pi Zero W Surveillance Camera
17:53
ExplainingComputers
Рет қаралды 528 М.
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 11 МЛН
Это реально работает?!
00:33
БРУНО
Рет қаралды 3,3 МЛН
ПОМОГЛА НАЗЫВАЕТСЯ😂
00:20
Chapitosiki
Рет қаралды 2,5 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 38 МЛН
BLOCK ALL THE ADS! Setting Up Pi-Hole on My Network!
9:44
Caddac
Рет қаралды 2,4 М.
Installing Pi-Hole and Pi-VPN on Raspberry Pi OS
30:47
VMware Advisor
Рет қаралды 107 М.
The Raspberry Pi Zero 2 W review
11:56
Jeff Geerling
Рет қаралды 378 М.
Pi-hole Made EASY - A Complete Tutorial
22:15
Tech Craft
Рет қаралды 91 М.
Blocking Ads With a 15 Year Old Computer
12:19
Hardware Haven
Рет қаралды 121 М.
15 Brilliant Raspberry Pi Zero projects to learn and try!
12:02
ToP Projects Compilation
Рет қаралды 452 М.
Using Pi-Hole for Local DNS - Fast, Simple, and Easy Guide
3:21
Techno Tim
Рет қаралды 195 М.
How to Make a Raspberry Pi NAS - A NAS-Berry that Runs OpenMediaVault
11:41
Raspberry Pi Zero 2 W
14:07
ExplainingComputers
Рет қаралды 456 М.
Как быстро охладить арбуз
0:31
Lapteff.s
Рет қаралды 1,9 МЛН
Don´t WASTE FOOD pt.4 🍜
0:20
LosWagners ENG
Рет қаралды 20 МЛН
Cute❤️‍🔥😍
0:10
H Hi
Рет қаралды 11 МЛН