PiHole: A Comprehensive Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

ความคิดเห็น • 101

  • @brgarrison418
    @brgarrison418 4 ปีที่แล้ว +14

    you can enable ssh after you burn your sd card by going into the boot section an add a empty file and name it ssh (in Windows make sure it doesn't have the .txt extension).When the pi boots it will activate ssh for you and you can putty into the pi from another machine., without connecting all of the components.

  • @srdricks468
    @srdricks468 4 ปีที่แล้ว +3

    Thx 4 the tutorial! I run pinhole on docker, running on Windows 10 pro. It works exactly the same but I’m just hosting Pihole on a Win PC inside a Docker container. It’s a good option for those that don’t have a raspberry pi and are more familiar with windows.

  • @youtubeoneverything4581
    @youtubeoneverything4581 4 ปีที่แล้ว +8

    @2:11 it is CentOS. The non paid ( no personal support ) version of Red Hat which is directly supported by Red Hat. I'm surprised you don't know about this distro since it's very popular

  • @trocha419
    @trocha419 4 ปีที่แล้ว +6

    Dude. You read my mind. I’ve been meaning to research this since Sunday. Bam! You got a video. Nice!!

  • @jarosawzon4272
    @jarosawzon4272 ปีที่แล้ว +1

    Another tutorial for advanced users.

  • @ZWhippie
    @ZWhippie 4 ปีที่แล้ว +1

    best video on set up ive seen great job

  • @unknownsauce3768
    @unknownsauce3768 4 ปีที่แล้ว +9

    Do you have a video where you explain those DNS options? Everyone else just says use Google. Would like to see a vid explaining more about DNS.

    • @forrestkeller3867
      @forrestkeller3867 4 ปีที่แล้ว +2

      Old comment, but DNS, or Domain Name System, is a way of resolving domain names into internet protocol (IP) addresses. Most DNS servers should work roughly the same, and resolve domain names correctly. However, some also track these requests when the request hits the server, so for privacy reasons, choosing a more open service reduces tracking.

  • @munozyoshi
    @munozyoshi 4 ปีที่แล้ว

    I've never used a raspberry pi before. I was able to set this up in under an hour using raspbian and hook it up to my router to provide network wide ad and adult site blocking. I've since run into other guides explaining how to do it on the google cloud to provide the same service, but since its hosted publicly it can block even when on mobile networks. I might switch over and use my pi for a retro arcade console.
    Love this tutorial tho, it's very clear.

  • @g4mer-d3v1l5
    @g4mer-d3v1l5 4 ปีที่แล้ว +4

    Thanks I wanted to install pi hole on my rasoberry pi 4 and this video help alot now my question is how do I host the block list file that you link too. To add the url in the web interface

  • @pouhjigyoopiutt744
    @pouhjigyoopiutt744 4 ปีที่แล้ว +7

    Thanks, great tutorial! I've already installed pi-hole on my raspberry pi but I can't deal to block adds on TH-cam and some smartTV apps. Can you give us some tips about that?. Thanks in advance!

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว +6

      You will need to do a bit of research to see what url requests are pushing those ads and manually block them in the blacklist section. Your router may be able to keep a log of url requests. Check there to see if you can find some logs with useful data.

    • @mitchilin803
      @mitchilin803 4 ปีที่แล้ว +2

      Turn off targeted adds in your google/youtube account. Worked for me- all ads are now blocked (Y)

  • @MarceloSanchesCavassani
    @MarceloSanchesCavassani 4 ปีที่แล้ว +2

    great explanation, helped me a lot. thank you

  • @mazingerzeta2xx788
    @mazingerzeta2xx788 4 ปีที่แล้ว +1

    That Incon in the middle is CentOS which is great for server purpose

  • @sleepyeyesvince
    @sleepyeyesvince 4 ปีที่แล้ว +6

    Sweet tutorial. Something I've been wondering is whether you can run pihole and a vpn out of the same pi, such that the vpn can be routed through the pihole as well. My use case would be connecting to my vpn if I'm on an open wifi and still be protected by the pihole. Thanks!

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว +2

      That sounds like a fun question....maybe I will test it out! Supporter requested video, perhaps...

    • @random_tech_stuff
      @random_tech_stuff 4 ปีที่แล้ว +3

      I've done just that with Pi Hole on a Raspberry Pi Zero W and OpenVPN server on pfSense. It works!

  • @panoshountis1516
    @panoshountis1516 3 ปีที่แล้ว +1

    Pi-hole Web Server shows the old static IP even you change to a new location. To modify that you need to edit, on /etc/pihole/setupVars.conf

  • @aaronreid9855
    @aaronreid9855 4 ปีที่แล้ว +2

    How do I host the txt file so i can give the pi hole a link to add it to the blocklist?

  • @Khyree_Holmes
    @Khyree_Holmes 4 ปีที่แล้ว +2

    34:56 - Thats what my FireFox looks like across my Devices now, QUICK load up times... Startpage is still my default Search Engine!
    I'm looking at a RaspberryPi Zero Starter Kit!

    • @nofucksgiven.3009
      @nofucksgiven.3009 4 ปีที่แล้ว

      You should ditch Startpage. They're evil!

  • @essetee
    @essetee 4 ปีที่แล้ว +3

    You realy don't need monitor and keyboard. Put in the boot section of the sd-card a blanco file ssh. (touch -f ssh).
    Start up your raspeberry and you can ssh into it with ssh pi@ipaddress and paswoord = raspberry. If you use dietpi instead of raspbian, you can set all things you need in the boot partition in dietpi.config. I use pi zero w and al of the wireless stuff goes in the config file.

    • @gustavs5652
      @gustavs5652 4 ปีที่แล้ว

      If you're using raspbian, you can create a file named 'wpa_supplicant' in the boot partition, input your WiFi credentials and it will connect to that network. I have never used adapters for my Zero... Iwww.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

  • @kyoz1984
    @kyoz1984 4 ปีที่แล้ว +3

    I cant get past the first step. when i type in 'curl -sSL install.pi-hole.net | bash' i get the message 'bash: line 1: 500:: command not found'

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว +1

      Is curl installed? If you are unsure, do sudo apt install curl

    • @kyoz1984
      @kyoz1984 4 ปีที่แล้ว +1

      @@SwitchedtoLinux It worked. I think the server went down for a couple hours. thanks for the reply. excellent videos.

  • @eligiard9554
    @eligiard9554 4 ปีที่แล้ว +3

    Just so everyone knows, on the default keyboard layout, the | is fn ~

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว

      I thought it was UK...did they change it or am I wrong about that?

    • @SlakWReX
      @SlakWReX 4 ปีที่แล้ว

      And @ is swapped with "

  • @thiscommentdeleted
    @thiscommentdeleted 3 ปีที่แล้ว

    How to I get it to block ads on the Yt app on IOS? It works for the phone browser and game apps ads but doesnt kill Yt app ads.

  • @dunkinDoge
    @dunkinDoge 2 ปีที่แล้ว

    Thanks for the tutorial!
    I want to apply this network wide too, but I'm just starting to learn web development and on my personal desktop i need the traffick from just Google Chrome to be unfiltered (for page inspection, and to have the page style as was meant to be displayed)
    Is it possible to whitelist one single browser from all home network or at least my whole pc, leaving my wife's and all other devices be under the pihole?
    (I guess i could set every device individually via dns but would be a pain...)

  • @grissgray
    @grissgray 4 ปีที่แล้ว +2

    how can i connect my pi to my internet via wifi then out the rj45 to a router with pi hole in the middle
    thanks

  • @J34ND
    @J34ND 2 ปีที่แล้ว +1

    Hey,
    at 23:47 you say "exit out of the file" but don't show how. I'm a noob at that, and I'm stuck there.

    • @SwitchedtoLinux
      @SwitchedtoLinux  2 ปีที่แล้ว

      I didn't see a file exit on that timestamp. Sorry this is an old video. If it was in Nano (Terminal), Ctrl+X and save the file.

    • @J34ND
      @J34ND 2 ปีที่แล้ว

      @@SwitchedtoLinux Thank you! Ctrl+X work.
      Edit : Sorry, you're right. Wrong timestamp, it was 23:47. (And not 28:47)

  • @samdeur
    @samdeur 4 ปีที่แล้ว +1

    question about "static domain_name_servers=127.0.0.1"
    You are saying use the DNS configured / defined on this machine being the pihole that goes to the quad9 dns server. as far is i can tell / understand.
    could one say use the 192.168.1.1 so that it uses the router one.. and that one uses what ever it already uses ????
    question related to time stamp is 22:30

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว +1

      The router may not be running a DNS server. You would only point to the router if it is running a DNS server.

    • @samdeur
      @samdeur 3 ปีที่แล้ว

      @@SwitchedtoLinux thanks.. that helps.. going to test it a vm first. Currently i'm trying to determine how much mem would be enough 2gb or 4gb ? i believe the 8gb pi4 is overkill. as far as i can tell pihole needs 512mb to run. but no one mentions the services that need to run to manage it via browser.. still am i correct in thinking 2Gb will be enough ?

  • @morthim
    @morthim 4 ปีที่แล้ว

    I have a pi 4 which i want to use for other things, would this sit lightly on top, or better to have a dedicated device?

  • @BrucesWorldofStuff
    @BrucesWorldofStuff 4 ปีที่แล้ว +2

    So @Switched to Linux, I am confused, are you running this and PFsense or just the Pi-Hole? If both what is doing what? I'm trying to setup a PFsense box and I am not sure if I have it setup right but seems to be working. I been following Lawrence Systems and I do have trouble following him at times.... So I am not sure that i have it right.
    Yes I watched your videos too and I am not sure on them too... :-)
    Maybe you could do a update video on setting up PfSense the easy way... Lol
    Thanks Tom...
    LLAP

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว

      For this tutorial, I took pfsense off the network and ran the old commercial router so you can see how to setup pihole with a commercial router.
      I do have a whole playlist on pfsense:
      th-cam.com/video/_lnoiqFPLEI/w-d-xo.html

    • @TecraTube
      @TecraTube 4 ปีที่แล้ว +2

      I run pfsense and can confirm there's no need to run pi-hole with pfsense. Pfsense user pfblocker-ng among other services to control what comes and goes out of your network. Take a look at pfblocker, surricata or snort

  • @237311
    @237311 4 ปีที่แล้ว +1

    Helpful video. How do you upload the host file in PiHole?

  • @irrefl1672
    @irrefl1672 4 ปีที่แล้ว

    Can We Make a Cloud as PIED PIPPER DID? I mean that if we can really leave amazon or azure webservices to spend less money making our own cloud?

  • @techie9241
    @techie9241 4 ปีที่แล้ว

    Is it better to install it on my main Debian system or should I use a separate VM?
    I don't have Raspberry Pi so I'll use my laptop, I only have two devices (laptop + phone).

  • @BattleHelmetGaming
    @BattleHelmetGaming 4 ปีที่แล้ว

    Great Video!! Thanks

  • @Narwahl
    @Narwahl 4 ปีที่แล้ว +1

    I keep running into this issue during the option to select block lists. I never have the same amount of lists as the video. Does anyone know why that could be?

    • @renuk8994
      @renuk8994 4 ปีที่แล้ว

      yep. I see just two black lists . Looks like pihole may have secretly removed most blacklists

    • @renuk8994
      @renuk8994 4 ปีที่แล้ว

      Probably the reason no ads are blocked when I set it up

  • @millardvp
    @millardvp 4 ปีที่แล้ว +1

    My OS for my RPi is ubuntu with 18.x. and installed PiHole. Once that's set up. Seeing things from the dashboard that some of the queries getting block. But when testing ads-blocker.com/testing/. I still see the two ads. If I make my OS raspbian will it make any difference? Thank you.

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว

      Probably not because the OS does not determine the block, but the lists. See if you can find the source of the remaining ads and block those directly in the blocklist.

  • @scottsouthard8256
    @scottsouthard8256 4 ปีที่แล้ว

    Will this work with EEROS and their subscription service to block on a mac network ?

  • @sjames_14
    @sjames_14 4 ปีที่แล้ว

    By chance you don't have an block list for tiktok do you? Have found even tho have blocked many of the links that it uses the app still shows texts and sometimes letting something thru sigh this is an big one would like to get rid off.

  • @MrJwan
    @MrJwan 4 ปีที่แล้ว +1

    Is it a DNS server ? And does cache dns locally ?

    • @minedustry
      @minedustry 4 ปีที่แล้ว

      Yes and it can be turned off.

  • @renuk8994
    @renuk8994 4 ปีที่แล้ว

    @Switched to Linux, this has been quite helpful.
    I "Linux Deploy"ed ubuntu on a not so old rooted Android phone with SSH enabled. And installed pi-hole.
    With the naive expectation that the linux (ubuntu) instance is a full-fledged computer. Turned out I am not able to use it as a pi-hole server (after getting over multiple annoying hurdles). The pi-hole admin page just gives 403 - Forbidden. Don't feel like giving up yet..
    I could have written a simple dns server app in NodeJS (if I get all those ad server source lists) and always run it on my windows machine. But the thought that I have a perfectly fine Android phone, which is not really needed for any other purpose, just wants me to make use of it as a pi-hole server. (I am not usually a Linux user. Used it back in 2007 and that's it)
    Any suggestions would be greatly appreciated

    • @renuk8994
      @renuk8994 4 ปีที่แล้ว

      Update - I gave up on the Android phone. Using a RPi 2B with ethernet that's sitting around. Result: No ads are blocked after I setup pihole.

  • @YuriS2k
    @YuriS2k 4 ปีที่แล้ว +1

    Hi, I keep getting 'DNS resolution is currently unavailable' during installation. Using a new Raspberry pi 4 and new Pi buster with desktop, nothing else. Installation won't complete. Tried it over wifi and cabled, doesn't matter.

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว

      Which DNS provider did you pick?

    • @YuriS2k
      @YuriS2k 4 ปีที่แล้ว +1

      @@SwitchedtoLinux first Google, later tried others but didn't matter.
      After the installation failed, the Pi could not connect to the internet anymore.

  • @JasonLeaman
    @JasonLeaman 4 ปีที่แล้ว +2

    Best Video on TH-cam ever ! :P

  • @NerdGamerGeek
    @NerdGamerGeek 4 ปีที่แล้ว +2

    what's wrong with cloudflare?

  • @minedustry
    @minedustry 4 ปีที่แล้ว +1

    Turn off logging! That would explain how it worked for 2 hours and stopped. Thank you!

  • @zakariamahhouti891
    @zakariamahhouti891 3 ปีที่แล้ว +1

    Does Pi-hole block TH-cam ads on mobilephone?

    • @SwitchedtoLinux
      @SwitchedtoLinux  3 ปีที่แล้ว +1

      Yes if you are using all the adblockers

    • @zakariamahhouti891
      @zakariamahhouti891 3 ปีที่แล้ว

      @@SwitchedtoLinux What do you mean by adblockers? is it Adblock plugin for browsers?

  • @mannycaballerojr
    @mannycaballerojr 4 ปีที่แล้ว

    What's your recommended TTL settings?

  • @muhdbunahmad
    @muhdbunahmad 4 ปีที่แล้ว +1

    The guy in the middle is CentOS.

  • @One-Eyed-Willly
    @One-Eyed-Willly 4 ปีที่แล้ว +1

    Can I run this along side with samba on the same P i?

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว +1

      Most likely. PiHole takes very little memory.

  • @jeffkelly5972
    @jeffkelly5972 4 ปีที่แล้ว +1

    Would this be better than using open dns family shield on a router?

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว

      I don't know anything about the open DNS family Shield, so I am not sure. But this is free, easy, and highly customizable.

    • @srdricks468
      @srdricks468 4 ปีที่แล้ว

      Yes because you can block websites that you chose (I.e. Facebook, Twitter) and not just the generic sites Open DNS (Cisco) has chosen.

  • @jibberjabber6919
    @jibberjabber6919 4 ปีที่แล้ว

    so how do i stop firefox from getting around pihole

  • @user-uf3op7eg4e
    @user-uf3op7eg4e 4 ปีที่แล้ว +1

    Why no one talk about the Rassberry Pi cards from zero to 4B which one is better for Pi-Hole

  • @ensontaylor4836
    @ensontaylor4836 3 ปีที่แล้ว

    Why do you say ivp4 ivp6?

  • @mrhenrystark
    @mrhenrystark 2 ปีที่แล้ว +1

    Solaris /oracle

  • @dtdang0309
    @dtdang0309 4 ปีที่แล้ว

    Can I block certain youtube channels with pi-hole?

  • @linuxmeow
    @linuxmeow 2 ปีที่แล้ว +1

    Uh not recognising CentOS logo hurts haha. xD

    • @SwitchedtoLinux
      @SwitchedtoLinux  2 ปีที่แล้ว

      LOL. It is one I have used a lot, but never had to interface with their assets.

  • @nadeemabbasi102
    @nadeemabbasi102 3 ปีที่แล้ว

    The Guy in the middle is CentOS. :p

  • @supercool3544
    @supercool3544 4 ปีที่แล้ว

    what the hell is ivp?

  • @pixeluser8243
    @pixeluser8243 4 ปีที่แล้ว +1

    Raspbian, not Raspbarian!

  • @Nicnackity
    @Nicnackity 2 ปีที่แล้ว

    Rasperian

  • @nicholassteyer
    @nicholassteyer 4 ปีที่แล้ว +1

    They fixed Doh bypassing in the newest version.

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว +1

      Do you have a link with some info. I could not find anything on that.

    • @nicholassteyer
      @nicholassteyer 4 ปีที่แล้ว

      @@SwitchedtoLinux I couldn't find the Reddit post anymore but here is the GitHub issue:
      github.com/pi-hole/pi-hole/pull/2915

  • @JustinLesamiz
    @JustinLesamiz ปีที่แล้ว +1

    It's trivial to capture a raspberry pi by remoting in to it and recording that output in OBS or whatever. This immediately breaks this video and makes it more complicated and confusing than it needs to be. Thumbs down.

    • @SwitchedtoLinux
      @SwitchedtoLinux  ปีที่แล้ว +1

      What are you talking about? This video setup is EXACTLY how you do this. PiHole is NOT a GUI system that you plug your monitor directly into it to make it work. It is only a network based tool where the only management engine is a web browser.
      As for SSH in near the beginning, there is ZERO difference between that and doing the setup directly connected to it. I think you may need some more training on network-based computing tools.

  • @markwalker3484
    @markwalker3484 4 ปีที่แล้ว

    Raspbian not Raspberian.

  • @alwaysreallyfast7221
    @alwaysreallyfast7221 3 ปีที่แล้ว

    Like Debian a lot

  • @ahmedalkaabi1481
    @ahmedalkaabi1481 4 ปีที่แล้ว

    How do you type the "|" pipe symbol on a US keyboard? You mentioned changing the keyboard layout, but you never demonstrated it using the command line.
    Edit found the solution: th-cam.com/video/L1F-TxTPyiM/w-d-xo.html
    Make sure to read the description though in order to start typing in the command line.

  • @ArmandoClaudio
    @ArmandoClaudio 4 ปีที่แล้ว +1

    Stopped watching because you keep saying raspberian and also because you said I need a monitor and a mouse.

    • @SwitchedtoLinux
      @SwitchedtoLinux  4 ปีที่แล้ว +2

      Well, for doing a tutorial, I do need a monitor and a mouse...setting it up on my own, I do not.

  • @alexvillarin8330
    @alexvillarin8330 4 ปีที่แล้ว

    what the !!!!
    You don't know what CentOS is ???
    and yet your channel is Switch to Linux
    hahahahaha