Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi-hole #26

Open
3 tasks done
nelsonic opened this issue Mar 21, 2022 · 33 comments
Open
3 tasks done

Pi-hole #26

nelsonic opened this issue Mar 21, 2022 · 33 comments
Assignees
Labels
enhancement New feature or enhancement of existing functionality priority-1 Highest priority issue. This is costing us money every minute that passes. T2h Time Estimate 2 Hours technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@nelsonic
Copy link
Member

nelsonic commented Mar 21, 2022

Considering setting up a Pi-hole on the @home network to eliminate ads:
https://github.com/pi-hole/pi-hole
https://en.wikipedia.org/wiki/DNS_sinkhole

Todo

  • Locate Raspberry Pi 4 and all the accessories needed to run it.
  • Follow Pi-hole tutorial and get it setup
  • Assign Static IP on Unifi Switch.
@nelsonic nelsonic added the enhancement New feature or enhancement of existing functionality label Mar 21, 2022
@nelsonic
Copy link
Member Author

How to Set Up a Pi-Hole System on a Raspberry Pi: https://youtu.be/roYduABVjo8

image

@nelsonic
Copy link
Member Author

Read through the site and code ... 👀
This feels "too good to be true" ... 💭
Like there must be a catch or lax security ... 🤷‍♂️

@nelsonic
Copy link
Member Author

I'm really sick of Ads ... 😢 ⏳
just trying to research something for work and being subjected to garbage that I can't skip!
image

I understand that's how some content creators get paid for their work. 🙄
But they are everywhere and so distracting / time consuming.

I'm Seriously considering setting up a pi-hole on our @home network. 💭

@nelsonic
Copy link
Member Author

World's Greatest Pi-hole Tutorial: https://youtu.be/cE21YjuaB6o

@nelsonic nelsonic added T2h Time Estimate 2 Hours priority-1 Highest priority issue. This is costing us money every minute that passes. technical A technical issue that requires understanding of the code, infrastructure or dependencies labels Apr 30, 2023
@nelsonic
Copy link
Member Author

nelsonic commented May 1, 2023

Want to try and pick this up tonight.🤞🏼
Going to run it on a RPi 4. But if I can downgrade to a lower resource/power RPi 3 I will; later. 🤞🏼

@nelsonic nelsonic self-assigned this May 3, 2023
@nelsonic
Copy link
Member Author

nelsonic commented May 6, 2023

@nelsonic
Copy link
Member Author

While searching for Landry Room layouts dwyl/home#240
I was served this obnoxious Ad:

image

This is getting a bit rediculous ...

I've never searched for anything remotely related to this Ad
but it's taking up 1/3 of my screen ... 🤦‍♂️

@nelsonic
Copy link
Member Author

High Availability Pi-Hole? https://youtu.be/IFVYe3riDRA

@nelsonic
Copy link
Member Author

I have a million better things to be doing than this. 🙄
But sadly so many of the useful websites I try to visit have obnoxious Ads on them
that I'm forced to block them at the network level.

@nelsonic
Copy link
Member Author

Just tried to run:

git clone [email protected]:dwyl/learn-raspberry-pi.git

Got the following strange warning:

Cloning into 'learn-raspberry-pi'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s.
Please contact your system administrator.
Add correct host key in /Users/n/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/n/.ssh/known_hosts:1
Host key for github.com has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@nelsonic
Copy link
Member Author

@nelsonic
Copy link
Member Author

Solution:

ssh-keygen -R github.com

@nelsonic nelsonic transferred this issue from dwyl/learn-computer-networking May 23, 2023
@nelsonic
Copy link
Member Author

Using Raspberry PI Imager (v1.7.5), flashing Raspberry Pi OS (32-bit) to a fresh SanDisk Ultra MicroSDHC UHS-1 Card`:

image

image

image

image

While that is writing I'm going to head over to the "networking area" of the workshop
and connect the Raspberry PI v3 B (ancient, but apparently more than adequate for Pi-hole)
to the Switch and get everything ready so I can plug-in the MicroSD and get started.

nelsonic added a commit that referenced this issue May 23, 2023
@nelsonic
Copy link
Member Author

image

image

@nelsonic
Copy link
Member Author

RPi3B booted and is currently updating …

IMG_7170

this might take a while so I’m going back to my desk to do something else …

@nelsonic
Copy link
Member Author

I’d forgotten how slow RPi3 is … ⏳

IMG_7174
IMG_7173

@nelsonic
Copy link
Member Author

Obvs, but is going to require more effort …

IMG_7179

@nelsonic
Copy link
Member Author

nelsonic commented May 23, 2023

Configuring static up address on ISP router:
IMG_7214

@nelsonic
Copy link
Member Author

The ISP Router is garbage it does not allow a private DNS on the internal network. 🤦‍♂️

@nelsonic
Copy link
Member Author

Starting again from scratch. ⏳

image

@nelsonic
Copy link
Member Author

Updating … ⏳🙄

IMG_7221

@nelsonic
Copy link
Member Author

Installing …
IMG_7222

@nelsonic
Copy link
Member Author

Configured and already blocking requests to Ads! 🎉

IMG_7225

@nelsonic
Copy link
Member Author

Added more blocked lists:
IMG_7226

@nelsonic
Copy link
Member Author

quick test: visit youtube in chrome incognito

image image

No ad.

@nelsonic
Copy link
Member Author

@nelsonic
Copy link
Member Author

when I visit some sites I see a few of these:
image

But it's a lot better than an obnoxious ad. 🎉

@nelsonic
Copy link
Member Author

I don't usually go looking for websites that have ads on them ... obvs ...
But the random site I was viewing last week for my research dwyl/home#240 (comment)
is not clean as a whistle. No more annoying/irrelevant ads; just content.
I'm happy.

@nelsonic
Copy link
Member Author

Just visited BuzzFeed (notorious for ads): https://www.buzzfeed.com/kristinchirico/surprisingly-gorgeous-homes-made-from-shipping-containers didn't see a single one. 🎉

@nelsonic
Copy link
Member Author

By far the biggest advantage of having a DNS server on our internal network is query caching!
It makes the initial page load for the pages we visit frequently noticeably faster. 🐎

@nelsonic
Copy link
Member Author

@iteles please confirm if you are seeing ads tomorrow when connected to the @home network. 👌

@nelsonic
Copy link
Member Author

nelsonic commented May 5, 2024

The Pi-hole has been working fine for the past 11 months. ✅
Recently moved it to the "closet": dwyl/learn-computer-networking#20
It's using a Raspberry Pi 3 which is quite "old" at this point.
But I haven't noticed a delay in accessing any sites. 💭

Ned a way to monitor it. 📊

@nelsonic
Copy link
Member Author

Switched to the MEO network briefly to click on a product link in Google SERP (researching a workshop tool)
Then checked the BBC news and see a massive ad for a combustion engine motorcycle:
image

Obviously Google Knows my approximate age, gender and income so they are serving me mid-life-crisis motorcycles ... 🤣
Love Ducati, and if I was going to burn non-renewable fossil fuels for thrill-seeking, Multistrada for sure! 🏍️
Switching back to home so I don't have to waste my time seeing ads for stuff I'm never gonna buy ... 🙃

Much sooner buy a silent yacht and go sailing around the world! ⛵
But they don't need to advertise ... if you can afford it, you know where to find one. 😉
Anyway ... back to work!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement of existing functionality priority-1 Highest priority issue. This is costing us money every minute that passes. T2h Time Estimate 2 Hours technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
Status: Done
Development

No branches or pull requests

1 participant