Тёмный

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

Michael Klements
Подписаться 88 тыс.
Просмотров 187 тыс.
50% 1

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.

Хобби

Опубликовано:

 

1 ноя 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 381   
@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 RU-vid Vanced
@biljoe209
@biljoe209 2 года назад
lol, lmao
@abac6404
@abac6404 6 месяцев назад
​@@LighteningOne😢
@ryanmerkel4832
@ryanmerkel4832 3 года назад
Great tutorial. Thank you! Was super simple and worked flawlessly!
@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!
@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!
@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.
@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!
@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!
@TimothyEdDoran
@TimothyEdDoran 3 года назад
Thanks for the great instructions. It has worked perfectly for me.
@MichaelKlements
@MichaelKlements 3 года назад
That’s great Tim!
@MrAlan0151
@MrAlan0151 2 года назад
Works great thank you for all your advice, your a star.
@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!
@AzizLomigora
@AzizLomigora 2 года назад
Amazing tutorial, thank you so much!
@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 )
@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!
@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!
@Gandalfnation
@Gandalfnation 3 года назад
very good tutorial thank you!
@andriusvitalis1701
@andriusvitalis1701 2 года назад
this works so good! thanks dude
@gringotom242
@gringotom242 3 года назад
Thanks mate great guide!
@gabrieltoothman7534
@gabrieltoothman7534 2 года назад
Best tutorial out there👍
@sammyy1105
@sammyy1105 Год назад
very easy to follow thanks!
@winstonwolf2981
@winstonwolf2981 3 года назад
Thanks, very helpful
@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.
@kaaneris2757
@kaaneris2757 2 года назад
Great tutorial!
@PetriJarvenpaa
@PetriJarvenpaa Год назад
Really helpful, thank you!
@anonymous39400
@anonymous39400 3 года назад
very nice, very clear. Thanks so much.
@MichaelKlements
@MichaelKlements 3 года назад
Glad it was helpful!
@terriblegamer9267
@terriblegamer9267 3 года назад
THANKYOU SIR!
@samuelfarrar8954
@samuelfarrar8954 3 года назад
thank you so much
@ozbayalperen1
@ozbayalperen1 3 года назад
thanks for tutorial
@Hexavelli
@Hexavelli 11 месяцев назад
*Thank You.*
@techdiyer5290
@techdiyer5290 3 года назад
Thanks!! i couldn't find out which text that was.
@PedroNuno
@PedroNuno 2 года назад
Just done it will test now :-)
@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.
@krishnakanthcake
@krishnakanthcake 2 года назад
thanks man
@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.
@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
@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.
@IBurnThings90
@IBurnThings90 11 месяцев назад
It won't show up on my network at all.
@hanac5586
@hanac5586 Год назад
awesome
@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
@YXHYX
@YXHYX 2 года назад
Why it don't block RU-vid ads on Android and laptop even after I set up the DNS Configuration but it works on speed test
@DJDashzn
@DJDashzn 2 года назад
Fantastic tutorial. Do you know where we can get South Africa black list or regex
@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.
@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!
@YouTubeDave-tp7ij
@YouTubeDave-tp7ij Год назад
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.
@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!
@fallingxshadow
@fallingxshadow 2 года назад
Does anyone know if you can modify this to block ads on mobile apps?
@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.
@Backedone-ss5vw
@Backedone-ss5vw 5 месяцев назад
Hi man , much appreciated Any new updates March 2024 on the topic?
@summerbee80
@summerbee80 Год назад
can i use the new RISC-V mango as an addblocker?
@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!
@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.
@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.
@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
@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.
@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
@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.
@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
@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?
@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.
@kazte
@kazte Месяц назад
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?
@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 ...
@luisoquendo4488
@luisoquendo4488 2 года назад
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 2 года назад
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.
@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
@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 ?!
@ahmetaydin9692
@ahmetaydin9692 2 года назад
My ssh connection is extremely slow. I have got a pi zero 2 w, can anyone help me?
@SpaceMarshalGyorni
@SpaceMarshalGyorni 15 дней назад
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 14 дней назад
Thank you! The credentials were all just generated for this tutorial video, I don't use this setup on my netowrk.
@ckmoore101
@ckmoore101 13 дней назад
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...
@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
@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 RU-vid 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 RU-vid 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 RU-vid. 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?
@jacktherabbit2238
@jacktherabbit2238 Год назад
This work with the pi-zero w 2?
@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
@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....
@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.
@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!
@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.
@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
@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.
@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.
@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
@DD8842
@DD8842 2 года назад
The best part is that they named it "pi hole" god I hope that never changes.
@expt22
@expt22 2 месяца назад
What happens to internet connectivity if the SD card or device fails?
@KlaasjanM
@KlaasjanM 2 года назад
Can you add multiple SSID's to the conf file?
@MichaelKlements
@MichaelKlements 2 года назад
Not that I'm aware of
@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!
@craigcoffman69
@craigcoffman69 2 года назад
Question, what happens when piehole crashes? Do you loose the entire home network? Wife can reset the cable modem in a pinch, but not piehole.
@MichaelKlements
@MichaelKlements 2 года назад
Unless your router has the “smarts” to use a secondary DNS then yes the network would go down. I’ve used this for over a year and it has never crashed though. If it did you could just cycle the power to it to reset it - this is obviously not ideal but would work if there is no other option.
@tearfulplace5015
@tearfulplace5015 3 года назад
Besides RU-vid what other websites or apps does this not work on?
@MichaelKlements
@MichaelKlements 3 года назад
Any website which serves its own ads. This only works if the site calls an ad service to provide ads on the site/platform.
@dirtybaguette
@dirtybaguette 3 года назад
I was halfway through the set up process when PuTTY crashed saying there was a network error. Not sure what to do. When I type the IP address for my Pi into PuTTY to start a new session it still crashes saying Fatal Error!
@MichaelKlements
@MichaelKlements 3 года назад
Have you tried rebooting your Pi as well? You might need to re-flash the SD card and start again. Perhaps something has corrupted the SD card.
@Nligady
@Nligady 3 года назад
what if pi hole dies or unplugged while away from home, is it anyway to have a backup dns to still have internet
@MichaelKlements
@MichaelKlements 3 года назад
This depends on your router. Some allow you to set up secondary DNS and set conditions to use it.
@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.
@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 🙌🏼.
@gaby19971029
@gaby19971029 2 года назад
Goed zo
@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.
@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
@BL1TZED101
@BL1TZED101 2 года назад
Dose this work with a windows 10 pc for set up I live in Australia
@MichaelKlements
@MichaelKlements 2 года назад
If you set this up through your router then it'll block ads across all devices on the network regardless of the OS.
@saifty2007
@saifty2007 Год назад
If the SSID is A apple 1, should it be just that inside the quotes or should it be "A_apple_1" ????
@MichaelKlements
@MichaelKlements Год назад
Yes it should be US. The Pi only has 2.4Ghz WiFi, that may be something to check. Also check that the SSID and password are correct, they're also case and space sensitive.
@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!
@Devildude281
@Devildude281 Год назад
Can anyone confirm if this blocks youtube ads on Smart TVs? Just heard they are bumping it up to 5 ads...
@MichaelKlements
@MichaelKlements Год назад
This won't block RU-vid ads as they're served from their own servers.
@akshayaradjou8508
@akshayaradjou8508 2 года назад
would i be able to do this using a raspberry pi pico ?? for a small network with 5 users and under 20 devices
@MichaelKlements
@MichaelKlements 2 года назад
The Pico is a microcontroller, it doesn't run an operating system and so can't run something like Pi-hole
@zecouto8058
@zecouto8058 10 месяцев назад
i have a question, if you turn off you PI and turn back on will it automatically start blocking new traffic? or will i need to reset everything back again??
@MichaelKlements
@MichaelKlements 10 месяцев назад
If you reboot the Pi it'll start blocking traffic again. The only issue is that if your router doesn't have a secondary DNS server setting then when the Pi is off you won't be able to access any sites.
Далее
3 HACKING gadgets you have to TRY!!
19:34
Просмотров 1,5 млн
I Built a EXTREME School Bus!
21:37
Просмотров 7 млн
BLOCK ALL THE ADS! Setting Up Pi-Hole on My Network!
9:44
Raspberry Pi Zero W Surveillance Camera
17:53
Просмотров 528 тыс.
Blocking Ads With a 15 Year Old Computer
12:19
Просмотров 121 тыс.
Pi-hole Made EASY - A Complete Tutorial
22:15
Просмотров 90 тыс.
The Raspberry Pi Zero 2 W review
11:56
Просмотров 377 тыс.
Installing Pi-Hole and Pi-VPN on Raspberry Pi OS
30:47
Просмотров 107 тыс.
Клавиатура для девушек
0:14
Просмотров 4,9 млн