Open nelsonic opened 2 years ago
How to Set Up a Pi-Hole System on a Raspberry Pi: https://youtu.be/roYduABVjo8
Read through the site and code ... š This feels "too good to be true" ... š Like there must be a catch or lax security ... š¤·āāļø
I'm really sick of Ads ... š¢ ā³ just trying to research something for work and being subjected to garbage that I can't skip!
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. š
World's Greatest Pi-hole Tutorial: https://youtu.be/cE21YjuaB6o
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. š¤š¼
While searching for Landry Room layouts https://github.com/dwyl/home/issues/240 I was served this obnoxious Ad:
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 ... š¤¦āāļø
High Availability Pi-Hole? https://youtu.be/IFVYe3riDRA
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.
Just tried to run:
git clone git@github.com: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.
Apparently a known + recent issue: https://stackoverflow.com/questions/75830783/why-are-connections-to-github-over-ssh-throwing-an-error-warning-remote-host ... š
Solution:
ssh-keygen -R github.com
Using Raspberry PI Imager (v1.7.5
), flashing Raspberry Pi OS (32-bit) to a fresh
SanDisk Ultra MicroSDHC UHS-1 Card`:
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.
RPi3B booted and is currently updating ā¦
this might take a while so Iām going back to my desk to do something else ā¦
Iād forgotten how slow RPi3 is ā¦ ā³
Obvs, but is going to require more effort ā¦
Configuring static up address on ISP router:
The ISP Router is garbage it does not allow a private DNS on the internal network. š¤¦āāļø
Starting again from scratch. ā³
Updating ā¦ ā³š
Installing ā¦
Configured and already blocking requests to Ads! š
Added more blocked lists:
quick test: visit youtube in chrome
incognito
No ad.
Need a more comprehensive list ... https://github.com/Ewpratten/youtube_ad_blocklist Add: http://gh-pages.ewpratten.com/youtube_ad_blocklist/hosts.ipv4.txt
when I visit some sites I see a few of these:
But it's a lot better than an obnoxious ad. š
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 https://github.com/dwyl/home/issues/240#issue-1712141703 is not clean as a whistle. No more annoying/irrelevant ads; just content. I'm happy.
Just visited BuzzFeed (notorious for ads): https://www.buzzfeed.com/kristinchirico/surprisingly-gorgeous-homes-made-from-shipping-containers didn't see a single one. š
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. š
@iteles please confirm if you are seeing ads tomorrow when connected to the @home
network. š
The Pi-hole
has been working fine for the past 11 months. ā
Recently moved it to the "closet": https://github.com/dwyl/learn-computer-networking/issues/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. š
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:
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!!
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
Pi-hole
tutorial and get it setupIP
onUnifi Switch
.