Through Holes Mac OS
I usefourdifferentadblockers for my browser, plus extensions that hide various things like the Facebook timeline (I only really need Messenger + Events these days) or hide reposts on Soundcloud.
How to Ping on Mac OS. This wikiHow teaches you how to ping an address from your Mac. Pinging an address will tell you approximately how strong your connection to an address is. If you want to see how many gateways are between your. BlackHole is a modern MacOS virtual audio driver that allows applications to pass audio to other applications with zero additional latency. Supports 16 audio channels. Customizable to 256+ channels if you think your computer can handle it. Supports 44.1kHz, 48kHz, 88.2kHz, 96kHz, 176.4kHz, and 192kHz sample rates. No additional driver latency.
The web is increasingly funded by garbage & bloat that comes packaged along with the content you want to see. I happily pay for online services (Spotify, Soundcloud, Evernote, etc) but many services, like Facebook or random news sites don’t offer this. Nor do I want to subscribe to every news website - my friend sent me a random link to click on, I don’t want a lifetime subscription.
It’s not just about seeing annoying ads, it’s about privacy (being tracked by ad networks), page load time (have you tried loading CNET.com lately???), safety (malware), and for mobile clients, minimzing data usage. Thus, Adblockers have started to become more mainstream.
But what about native apps? Or using my iPhone / Android?
Now you can even do that.
Pihole is a nice way to set up a homegrown server on a Raspberry Pi that filters every web request you make - even on smartphones, iPads - anything on your Wifi network.
Here’s the dead simple instructions. From start to finish this took me less than an hour.
Setting up Headless (no Monitor) Pihole
Through Holes Mac Os 11
You can set up a headless Pihole with just a Raspberry Pi, a power cable that comes with it, your laptop, and an SD card. No need for mouse, keyboard, or monitor.
- Order a Raspberry Pi. I like the 3B since it has decent storage + Wifi. It was $27.
- You have to load an operating system (OS) image (from here) onto SD card. The Pi can’t boot without an SD card with a boot image on it. I choose
RASPBIAN STRETCH LITE
. - Download the ZIP of the OS image.
- Install Etcher.
- Feed ZIP into Etcher and burn image onto SD card.
- Reload the SD card onto your computer - should be called “boot”.
- Execute the following in the terminal:
- Eject the SD card, put it into the Pi.
- It should use this boot image, boot OS, and start the SSH server.
- Install nmap:
- Find local IP in Mac OS X:
System Preference > Network
, should be like10.0.0.x
or192.168.x.x
. - Find devices connected to the same Wifi network:
- For each IP address, try the following:
- Eventually, you’ll see the following:
- Type ‘yes’, type the password ‘raspberry’, and you’re in.
- To set locale, timezone, Wifi SSID + password (if Wifi enabled Pi):
- Then change the password:
- Then run PiHole installer:
curl -sSL https://install.pi-hole.net bash
.- Choose a static IP address, remember this.
- Mostly can just stick with the defaults
- Restart the Pi to take that
<static-IP-address>
into account - SSH back into the Pi with:
ssh pi@<static-IP-address>
- We confirmed that Pihole is running. Great.
- Go to your iPhone and go to your Wifi network (same network Pi is running on or plugged into modem/router)
- Change DNS setting to first use your Pihole’s static IP
<static-IP-address>
- I’d also recommend removing Comcast or
insert-other-shitty-ISP
’s DNS server as well - If you’re worried about the Pi going offline or whatever, stick
8.8.8.8
and8.8.4.4
(Google’s DNS servers) at the end of the list - If you’re even more privacy conscious, look up OpenDNS and use their DNS server IP addresses
- I’d also recommend removing Comcast or
- Now you’re good to go! Try visiting CNET.com on your iPhone browser and watch the blissful speed you get and lack of ads as you scroll down.
Pretty easy.
Admin Panel
Visit it at http://<static-pihole-ip-address>/admin
.
Here you can manage blocklists, see how much blocking is going on, and even watch logs to see requests come through in realtime.
Or even the top blocked tracking domains:
After using for a couple hours I was shocked - around 30% of all requests made on my iPhone were adservers, trackers, and/or malware.
Setting up passwordless SSH
It’s annoying to log into the Pi all the time without this. To add SSH passwordless login:
And add to ~/.ssh/config
:
Now you should be able to do:
Blocklists are located at: /etc/pihole/adlists.list
. To change the lists:
Comment out with # any you don’t want, or add more. Then to reload the blocklists:
To see what is being blocked in realtime:
For example, in the first 100 ms when opening Messenger (blocked ones are with [query]
label):
Wow.
Happy Pihole-ing!
Mac Os Catalina
You can use SSH to connect to your Raspberry Pi from a Linux computer, a Mac, or another Raspberry Pi, without installing additional software.
You will need to know your Raspberry Pi's IP address to connect to it. To find this, type hostname -I
from your Raspberry Pi terminal.
If you are running the Pi without a screen (headless), you can also look at the device list on your router or use a tool like nmap
, which is described in detail in our IP Address document.
To connect to your Pi from a different computer, copy and paste the following command into the terminal window but replace <IP>
with the IP address of the Raspberry Pi. Use Ctrl + Shift + V
to paste in the terminal.
If you receive a connection timed out
error it is likely that you have entered the wrong IP address for the Raspberry Pi.
When the connection works you will see a security/authenticity warning. Type yes
to continue. You will only see this warning the first time you connect.
In the event your Pi has taken the IP address of a device to which your computer has connected before (even if this was on another network), you may be given a warning and asked to clear the record from your list of known devices. Following this instruction and trying the ssh
command again should be successful.
Next you will be prompted for the password for the pi
login: the default password on Raspberry Pi OS is raspberry
. For security reasons it is highly recommended to change the default password on the Raspberry Pi. You should now be able to see the Raspberry Pi prompt, which will be identical to the one found on the Raspberry Pi itself.
If you have set up another user on the Raspberry Pi, you can connect to it in the same way, replacing the username with your own, e.g. eben@192.168.1.5
You are now connected to the Pi remotely, and can execute commands.
X-forwarding
You can also forward your X session over SSH, to allow the use of graphical applications, by using the -Y
flag:
Note that X11 is no longer present on Macs with OSX, so you will have to download and install it.
Now you are on the command line as before, but you have the ability to open up graphical windows. For example, typing:
will open up the Geany editor in a graphical window.
Typing:
will open up Scratch.
For further documentation on the ssh
command just enter man ssh
into the Terminal.
To configure your Pi to allow passwordless SSH access with a public/private key pair, see the passwordless SSH guide.