Jump to content
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 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 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 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 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 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 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 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...

Gaming PC NAS Laptop Workstation

CPU: i5 12600KF 6P+4E Ryzen 7 3700X M4 SoC 4P+6E Xeon X5690 6c12t

Cooler: Noctua NH-D15S Wraith Stealth w/NF-A9 Passive Apple CPU Cooler

Motherboard: ASRock Z690 ITX/ax ASUS Pro B550M-C/CSM Apple J713AP Mac-F221BEC8 (Mac Pro 5,1)

RAM: 2x16GB 3600Mhz DDR4 2x16GB 2400MHz DDR4 24GB Micron LPDDR5 4x8GB 1333MHz ECC DDR3

GPU: Sapphire Pulse Radeon 9060 XT 16GB Radeon WX2100 M4 SoC 10C Radeon RX 5700

Storage: 1TB MP34 + 2TB P41 500GB SSD + 2x4TB IronWolf Pro in ZFS Mirror Apple AP0512Z 1TB Crucial MX500

ODD: LG WH14NS40 None LG GP65NB60 USB DVD Writer Don't know

PSU: EVGA 850W GM Silverstone SST-TX300 53.8Wh LiPo Battery Delta DPS-980BB

Case: Silverstone Sugo 14 Dell Inspiron 530S Mac16,12 chassis (13" MBA) 2009-2012 Mac Pro "Cheese Grater"

OS: Gentoo Linux TrueNAS Scale macOS 26 Tahoe Fedora Linux

 

Display: LG 27UK650-W (4K 60Hz IPS panel)

Mouse: EVGA X17

Keyboard: Corsair K55 RGB

 

Mobile/Work Devices: 14" M5P MacBook Pro (work) - iPhone 17 Pro - Apple Watch S11

 

Other Misc Devices: iPod Video (Gen 5.5E, iFlash Solo w/128GB SD Card, Rockbox), Nintendo Switch

 

Vehicles: 2002 Ford F150, 2003 Harley-Davidson Sportster 1200, 2022 Kawasaki KLR650, 1994 DR350SE

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 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? 

Gaming PC NAS Laptop Workstation

CPU: i5 12600KF 6P+4E Ryzen 7 3700X M4 SoC 4P+6E Xeon X5690 6c12t

Cooler: Noctua NH-D15S Wraith Stealth w/NF-A9 Passive Apple CPU Cooler

Motherboard: ASRock Z690 ITX/ax ASUS Pro B550M-C/CSM Apple J713AP Mac-F221BEC8 (Mac Pro 5,1)

RAM: 2x16GB 3600Mhz DDR4 2x16GB 2400MHz DDR4 24GB Micron LPDDR5 4x8GB 1333MHz ECC DDR3

GPU: Sapphire Pulse Radeon 9060 XT 16GB Radeon WX2100 M4 SoC 10C Radeon RX 5700

Storage: 1TB MP34 + 2TB P41 500GB SSD + 2x4TB IronWolf Pro in ZFS Mirror Apple AP0512Z 1TB Crucial MX500

ODD: LG WH14NS40 None LG GP65NB60 USB DVD Writer Don't know

PSU: EVGA 850W GM Silverstone SST-TX300 53.8Wh LiPo Battery Delta DPS-980BB

Case: Silverstone Sugo 14 Dell Inspiron 530S Mac16,12 chassis (13" MBA) 2009-2012 Mac Pro "Cheese Grater"

OS: Gentoo Linux TrueNAS Scale macOS 26 Tahoe Fedora Linux

 

Display: LG 27UK650-W (4K 60Hz IPS panel)

Mouse: EVGA X17

Keyboard: Corsair K55 RGB

 

Mobile/Work Devices: 14" M5P MacBook Pro (work) - iPhone 17 Pro - Apple Watch S11

 

Other Misc Devices: iPod Video (Gen 5.5E, iFlash Solo w/128GB SD Card, Rockbox), Nintendo Switch

 

Vehicles: 2002 Ford F150, 2003 Harley-Davidson Sportster 1200, 2022 Kawasaki KLR650, 1994 DR350SE

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 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 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 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 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 post
Share on other sites

On 9/13/2019 at 1:36 PM, tuty4amxx said:

For youtube ads, you have to run this. :) It will find all the ads, then add them to the blocklist.

 

https://github.com/kboghdady/youTube_ads_4_pi-hole


For the crontab, I recommend setting it to every minute, rather than 4 hours.

You might need to add chmod +x youtube.sh in the folder. Otherwise it will not work on raspbian

 

 

Or follow the steps here:

 

1. Git clone the project by copying and pasting git clone https://github.com/kboghdady/youTube_ads_4_pi-hole.git into the Pi terminal

2. Go to the folder cd youTube_ads_4_pi-hole

3. Apply chmod by copying and pasting the following command chmod +x youtube.sh into the Pi terminal

4. Copy and paste this command and hit enter: sudo crontab -e 
5. It will open a file using nano text editor, I think. Scroll down until the end of the file by using DOWN ARROW key.

6. Either paste this cron tab which runs every 4 hours: 0 */4 * * * sudo /home/pi/youTube_ads_4_pi-hole/youtube.sh >/dev/null or this one 0 * * * * sudo /home/pi/youTube_ads_4_pi-hole/youtube.sh >/dev/null which will run every minute.

7. Press CTRL + O, hit ENTER then finally hit CTRL + X.

 

Thanks for the walkthrough:-) 

Still getting ads on youtube though ?

Link to post
Share on other sites

On 9/24/2019 at 11:39 AM, 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

The latest versions of pi OS come with SSH disabled. There is a solution that involves adding an SSH file to your flash. 

 

To enable SSH automatically every time the Pi starts you need to :

 1) Prepare a fresh SD card with the latest version of Raspbian
 2) Insert the SD card in your PC
 3) Create a file on the boot partition named “ssh”
 4) Eject the SD card, insert into your Pi and power it up
When the Pi boots SSH is enabled by default.

 

Or you could just hook a keyboard up to it and enable SSH, here are the steps I used:

 

sudo systemctl enable ssh
sudo systemctl start ssh

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


×