Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Pi-Hole Setup Tutorial

jakkuh_t
 Share

Thanks LTT and Jake

 

Got my pihole running on Pi 1 and using a third party dns provider (tried both smartproxydns and getflix) as my Upstream DNS Servers

Luckily im using the Netgear Nighthawk which includes free Dynamic DNS and built-in VPN server and now i have both LAN and VPN ADs free from all my devices anywhere.

Currently located outside US and with the 3rd party Smart DNS im able to stream via Netgear VPN with Netflix,Directvnow, Hulu and HBO Go except for CBS app as its detecting the ad block (see screenshot attached error) and its fine as im canceling the CBS subscription anyway.

 

1970644423_Annotation2019-09-29202840.png.b45dbee81f261b29a1c30d42885a5ba7.png

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

I'm pissed......

I'm loving the PiHole and have been tinkering with it a fair bit.

 

However, using it as a network "sniffer" I spotted that Facebook is somehow transmitting from my phone back to the mothership.

Android wouldn't let me uninstall FB, but I disabled it as soon as I got it (Samsung S9), so it shouldn't be doing anything.

 

But there it is in the PiHole logs :(

My other half uses FB, so unfortunately I can't block it (until PiHole Devs set up custom block rules per client)

 

PiHoleFB.png

----------------------------
        Weem
Link to comment
Share on other sites

Link to post
Share on other sites

On 9/29/2019 at 4:34 AM, ThaDiode said:

i Need really Help with my PI-zero

 

i have setup my PI. only on my PC it blocks ads and not on my TV Youtube ads i see and i cant block them

if i Block them i block Youtube... Youtube hangs on LOADING screen....... Whats wrong with my setup. 

i'm blocking this ads for my kids

 

on my screenshot.. what and how can i block the ads ?

Screenshot_156.jpg

follow that new tutorial. You might need to flush all your dns cache too (mostly all kind of cache to be honest ). 

 

On 9/29/2019 at 5:37 AM, piplikoc said:

Hello, I don't know how to change the DHCP server. To the IP adress I have to write the raspberry's ip adress? 

And what to write to the Number of CPEs?

In the row, the first element is the raspberry.

dns.thumb.JPG.c44b0c6d3f48652a131c9a5da0063fdc.JPG

i can barely understand what you are trying to explain :S.

 

Link to comment
Share on other sites

Link to post
Share on other sites

I want to know what it is like using the raspberry pi's built-in wifi. Is it good enough for DNS use?

Link to comment
Share on other sites

Link to post
Share on other sites

23 hours ago, Your-Cat said:

follow that new tutorial. You might need to flush all your dns cache too (mostly all kind of cache to be honest ). 

 

i can barely understand what you are trying to explain :S.

 

What I have to write in each cells? That's my question.

Link to comment
Share on other sites

Link to post
Share on other sites

On 8/25/2019 at 11:45 AM, GameMaster2030 said:

On all newer versions it's still the same steps. Even Android P, which I have myself.

Actually no. Since Android 9.0, the only DNS option could find so far is to set a private one and it does not accept IP addresses. Hence why cloudfare release the 1dot1dot1dot1.cloudflare-dns.com
Therefore, if anyone has the solution to this, that'd be great. I'm trying to find out how to force this in command line but my phone ain't routed and even with dev mode activated I can't find a terminal.
Starting to wonder if I'm not gonna root it, at least it was more flexible.

Link to comment
Share on other sites

Link to post
Share on other sites

On 10/1/2019 at 1:46 PM, piplikoc said:

What I have to write in each cells? That's my question.

leave those setting as default... those are the setting for dhcp. 

You just need to change your dns ip for your raspberry pi ip. 

Link to comment
Share on other sites

Link to post
Share on other sites

On 9/29/2019 at 9:07 PM, WeeemRCB said:

I'm pissed......

I'm loving the PiHole and have been tinkering with it a fair bit.

 

However, using it as a network "sniffer" I spotted that Facebook is somehow transmitting from my phone back to the mothership.

Android wouldn't let me uninstall FB, but I disabled it as soon as I got it (Samsung S9), so it shouldn't be doing anything.

 

But there it is in the PiHole logs :(

My other half uses FB, so unfortunately I can't block it (until PiHole Devs set up custom block rules per client)

 

PiHoleFB.png

The problem with facebook is that it have lots of api, therefor many web site and application use it. It might not be facebook it self that you see, but a web service owned by facebook that can do lots of thing. 

Link to comment
Share on other sites

Link to post
Share on other sites

Pi Zero with the standard blocklists

About 14 clients connected

As Router Sophos XG

Using only DNS from the pi, and use static ip mac mapping for it.

How come i got such low percentage ???

 

Feels like something wrong ...

 

cat setupVars.conf

PIHOLE_INTERFACE=eth0

IPV4_ADDRESS=172.16.16.172/24

IPV6_ADDRESS=

QUERY_LOGGING=true

INSTALL_WEB_SERVER=true

INSTALL_WEB_INTERFACE=true

LIGHTTPD_ENABLED=true

BLOCKING_ENABLED=true

DNSMASQ_LISTENING=single

PIHOLE_DNS_1=8.8.8.8

PIHOLE_DNS_2=8.8.4.4

DNS_FQDN_REQUIRED=true

DNS_BOGUS_PRIV=true

DNSSEC=false

CONDITIONAL_FORWARDING=false

 

172.16.16.50  SOPHOS XG FIREWALL
172.16.16.171 Linksys LGS326
172.16.16.2 TPLINK with OPENWRT FW

 

 

Schermafbeelding 2019-10-03 om 07.45.12.png

Link to comment
Share on other sites

Link to post
Share on other sites

On 10/4/2019 at 1:25 AM, VenimK said:

 

 

Schermafbeelding 2019-10-03 om 07.45.12.png

the fact that you have over 2.4 millions blacklist domains is weird af considering that pi-hole come with about 110 k by default. 

 

Did you just googled for adding all sort of list ?? 

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Your-Cat said:

the fact that you have over 2.4 millions blacklist domains is weird af considering that pi-hole come with about 110 k by default. 

 

Did you just googled for adding all sort of list ?? 

Just added this one https://dbl.oisd.nl/

Link to comment
Share on other sites

Link to post
Share on other sites

Great guide, ordered a PI 0 W to recreate this. Its running now and I am happy, BUT I still have youtube ads. Anyone know what Blocklist LTT used to not get YT ads in their video? Thanks 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

I have just set this up with a PI 4 B. I followed the link to the extra white listed domains and installed them too.

 

The thing on the whole is doing a good job. Some apps no longer have the annoying ads. YouTube is one that keeps getting through it. Though this only happens on the app. 

I have had to set this up on individual devices as my control freak modem doesn't let me change the DNS settings (blame the ISP). The graph is showing that it works, some of the time. I am still to see a huge change as only 4.7% of my ads are being blocked. So if anyone else knows different, I'd be welcome to suggestions.

 

Thanks

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Does anyone have a link on where to get a power supply for this?

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, BlazedSpork said:

Does anyone have a link on where to get a power supply for this?

For the Raspberry Pi? All the places I've seen that sell them have the power supplies as well...

Intel HEDT and Server platform enthusiasts: Intel HEDT Xeon/i7 Megathread 

 

Current Rig

Spoiler

i7 6950X - EVGA X99 Classified - 4x8GB 3200Mhz CL16 DDR4 - 2060 Super FE - 1TB 970 Evo + 1TB MX500 - LG WH14NS40 BluRay Drive - EVGA 1000W G3 - Corsair Air 540 - Noctua iPPC NF-A14 3000 (rear) + 3x Noctua NF-P12 redux-1700 PWM (radiator) - LG 27UK650-W (27" 4K60hz) - Custom CPU/GPU Loop w/single 360mm rad - Windows 10

Project Rig (WIP)

Spoiler

Xeon I forgot the name of - NH-L12S - EVGA X99 Micro 2 - 4x4GB 2800MHz DDR4 - WX2100 2GB - 256GB 960 Evo - Flex-ATX PSU - Old Dell OEM case - Noctua 80mm fans - probably will be Windows or Ubuntu

 

Daily Devices: 2015 15" MacBook Pro (Work Laptop) - iPhone 13 Pro Max - Apple Watch Series 3 (if I don't forget to put it on) || Other Misc Devices: iPod Classic 5th Gen 30GB- iPod Classic 7th Gen 80GB - Nintendo Switch - Switch Lite - Wii U

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, BlazedSpork said:

Does anyone have a link on where to get a power supply for this?

for what, the 0,1,2,3 or even 4 

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, I've gone through the posted tutorial twice now, and it is not working. No ads are being blocked at all, and Pi-Hole isn't even detecting the ads that have played in the query log. I've followed the directions step by step, and it is just flat out not working. Is there something I did wrong? I don't understand.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Vortex88 said:

Ok, I've gone through the posted tutorial twice now, and it is not working. No ads are being blocked at all, and Pi-Hole isn't even detecting the ads that have played in the query log. I've followed the directions step by step, and it is just flat out not working. Is there something I did wrong? I don't understand.

You told your device to use the Pi-Hole's IP as the DNS? 

Intel HEDT and Server platform enthusiasts: Intel HEDT Xeon/i7 Megathread 

 

Current Rig

Spoiler

i7 6950X - EVGA X99 Classified - 4x8GB 3200Mhz CL16 DDR4 - 2060 Super FE - 1TB 970 Evo + 1TB MX500 - LG WH14NS40 BluRay Drive - EVGA 1000W G3 - Corsair Air 540 - Noctua iPPC NF-A14 3000 (rear) + 3x Noctua NF-P12 redux-1700 PWM (radiator) - LG 27UK650-W (27" 4K60hz) - Custom CPU/GPU Loop w/single 360mm rad - Windows 10

Project Rig (WIP)

Spoiler

Xeon I forgot the name of - NH-L12S - EVGA X99 Micro 2 - 4x4GB 2800MHz DDR4 - WX2100 2GB - 256GB 960 Evo - Flex-ATX PSU - Old Dell OEM case - Noctua 80mm fans - probably will be Windows or Ubuntu

 

Daily Devices: 2015 15" MacBook Pro (Work Laptop) - iPhone 13 Pro Max - Apple Watch Series 3 (if I don't forget to put it on) || Other Misc Devices: iPod Classic 5th Gen 30GB- iPod Classic 7th Gen 80GB - Nintendo Switch - Switch Lite - Wii U

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, didn't realize I had to set the DNS that way. I'm pretty much a noob when it comes to networking. 

 

It's working on banner ads now, but ads on youtube videos are still making it through. Any idea on how to stop youtube ads?

Link to comment
Share on other sites

Link to post
Share on other sites

On 10/21/2019 at 3:49 PM, Vortex88 said:

Ok, didn't realize I had to set the DNS that way. I'm pretty much a noob when it comes to networking. 

 

It's working on banner ads now, but ads on youtube videos are still making it through. Any idea on how to stop youtube ads?

they are really hard to block since google provide their own api, and so, can be changed every time they want. i use an add block for youtube only

Link to comment
Share on other sites

Link to post
Share on other sites

So I got everything working, as far as I know, updated the pi zero 1.3 and I can log in.  I went through the pi-hole setup, and I got close to the end, but didn't get the login info page at the end, it just went back to the regular command prompt.  Now when I try to type in the pi-hole install command, it says


curl: (6) Could not resolve host: install.pi-hole.net

 

So I was not presented with any way to log into pi-hole and I can't seem to reinstall pi-hole....any thoughts?

 

I'm a complete complete complete beginner to everything here.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
On 10/25/2019 at 11:20 PM, AKing92 said:

So I got everything working, as far as I know, updated the pi zero 1.3 and I can log in.  I went through the pi-hole setup, and I got close to the end, but didn't get the login info page at the end, it just went back to the regular command prompt.  Now when I try to type in the pi-hole install command, it says


curl: (6) Could not resolve host: install.pi-hole.net

 

So I was not presented with any way to log into pi-hole and I can't seem to reinstall pi-hole....any thoughts?

 

I'm a complete complete complete beginner to everything here.

1) try to go in your ip/admin to get ypur pi-hole http page, then it will give you the way to change the password with a command 

 

2) try to run every thing with sudo. If you don't you might receive some strange message that seem unrelated because a command can call another command (exemple: script in a script) so if you don't use sudo, you might receive the error from some thing that happen later in the command. 

Link to comment
Share on other sites

Link to post
Share on other sites

Hey !

I have been running my Pi-Hole with the Raspberry zero for about 1 month now and for the past week or so it keeps crashing, like the Pi itself stops responding to anything ( Admin page,SSH, pings) I know its not my router because if I set a secondary DNS I still have access to internet but I dont if I don't set a 2nd one. It was working for a full month but not it just does not want to anymore. Any ways to see where the issue might be at ? 

I tried unplugging / re-plugging and it work for 1-2 mins then crashes again.

Thanks a lot !

Link to comment
Share on other sites

Link to post
Share on other sites

Well it took me some 3 hours and a lot of info hunting, but I got it done! Thank you team LTT! 

*took a lot longer as I'm a mac user and had to find the appropriate programs and such.

Thanks again!

KC

Link to comment
Share on other sites

Link to post
Share on other sites

On 9/24/2019 at 5:39 PM, Cuzza said:

This is one of the hardest projects for me honestly, has taken several days and now I hit the final road block, while login into the SSH. Connection REFUSED.409549214_Screenshot2019-09-24at17_57_19.thumb.png.78a175c8f9b981ed0f00e0dc8aa67b25.png

Hi ? 

Just had the same thing happen to me. I guess you made the "extentionless SSH file" on your Mac? 

At least that's what I did, and I coild not get that to work what so ever. Try downloading the SSH file from the step by step guide and copy that onto the SD card. Or create the extentionless file on a Windows computer. 

 That did the trick for me ?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×