diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-24 13:40:53 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-24 13:40:53 -0400 |
commit | 07df01b60bb48e7446d9bfedcea7025cabe7851c (patch) | |
tree | 8b28f57e2de3776dc8c2e842a563e01e1811a42e | |
parent | 5d9e56c0035f595d7dcd94f75d81cd0e40c50e81 (diff) |
New post for setting up pi-hole with eero and starlink
-rw-r--r-- | posts/starlink-eero-pihole.md | 119 | ||||
-rw-r--r-- | posts/x220-dual-boot.md | 2 | ||||
-rw-r--r-- | public/images/starlink-pihole-1.png | bin | 0 -> 96446 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-2.png | bin | 0 -> 81853 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-3.png | bin | 0 -> 82823 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-4.png | bin | 0 -> 91300 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-5.png | bin | 0 -> 181413 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-6.png | bin | 0 -> 160442 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-7.png | bin | 0 -> 286978 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-8.png | bin | 0 -> 167761 bytes | |||
-rw-r--r-- | public/images/starlink-pihole-setup.webp | bin | 0 -> 37586 bytes |
11 files changed, 120 insertions, 1 deletions
diff --git a/posts/starlink-eero-pihole.md b/posts/starlink-eero-pihole.md new file mode 100644 index 0000000..d6f6309 --- /dev/null +++ b/posts/starlink-eero-pihole.md @@ -0,0 +1,119 @@ +# Setting Up Pi-Hole with Eero on Starlink + +2024-07-24 + +A couple years ago I wrote about [setting up a standard pi-hole server with eero WiFi](/posts/eero/) but since that time I have swapped out my "cell tower" internet for Starlink. The speed improvement has been incredible and there is no looking back at regular, rural internet. With the switch over minor adjustments needed to be made, so I took this as an opportunity to rebuild everything from scratch. A nice, clean slate. + +## Required Equipment + +For the purposes of the tutorial, I will assume that you have: + +* Starlink setup and running + * The official Starlink Ethernet adapter (if your model requires it) +* Eero mesh WiFi setup and running +* An Ethernet hardware switch +* A Raspberry Pi Zero (with WiFi preferred) +* (Optional) Ethernet connection HAT for the RPi0 + +It might sound like a lot, but it really isn't that complex - I promise! + +## Getting Started + +If you have the eero mesh network setup already, I will assume you have gone through the following steps: + +1. Placed Starlink into bypass mode +2. Connected your Starlink router to the Ethernet hardware switch +3. Connected your Ethernet switch to your main eero router + +With all of that working properly, our next step is to configure our Raspberry Pi device. + +## Flashing Our Pi + +Download the [Raspberry Pi Lite OS](https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-07-04/2024-07-04-raspios-bookworm-armhf-lite.img.xz). Then, connect your desired microSD card to your computer and launch the official Raspberry Pi Imager. + +* Select "Custom Image" use the Raspberry Pi Lite OS you just downloaded +* Choose your device (in this case the microSD) + +![Raspberry Pi Imager showing the image and device output to write the files](/public/images/starlink-pihole-1.png) + +When you click `Next`, you will be prompted to edit settings. Click `Yes`, fill out your custom details below and enable `ssh`: + +![Raspberry Pi Imager showing customization options](/public/images/starlink-pihole-2.png) + +> **Note:** If you do not have an Ethernet HAT or adapter, but sure to add your WiFi details in the settings so your device will connect to your local network on boot. + +![Raspberry Pi Imager enabling SSH](/public/images/starlink-pihole-3.png) + +Click `Save` and then proceed to write to the device. + +![Raspberry Pi Imager writing the image to the microSD card](/public/images/starlink-pihole-4.png) + +After it completes, eject the microSD card and get your Pi device ready! + +## Connecting Our Pi + +Before we try to `ssh` into our Pi, we need to set things up properly on the hardware side of things. You will need to connect an Ethernet cable from your Raspberry Pi to a port on your main eero router. If you don't have an Ethernet HAT (or adapter cord) you can connect via WiFi once the Pi is powered on. + +Take a look at the diagram below for reference. + +![Diagram showing a Starlink router, connected with an Eero device with a pi-hole](/public/images/starlink-pihole-setup.webp) + +Once everything is setup, plug-in your Raspberry Pi and give it a little bit of time to boot. Once you see a nice solid green LED, it's time to go back to your local computer's terminal. + +## Installing Pi-Hole + +Once at your terminal, connect to your Raspberry Pi: + +~~~sh +# if you set a hostname +ssh pi@raspberrypi.local + +# or just the IP +ssh 192.168.*.* +~~~ + +Then enter the username and password you created when you initially configured the microSD image. Once you are connected directly to the Pi, it’s best to check for updates: + +~~~sh +sudo apt update +sudo apt upgrade +~~~ + +Now for the easy part - installing Pi-Hole: + +~~~sh +curl -sSL https://install.pi-hole.net | bash +~~~ + +Just follow the guided setup (it is pretty straight-forward): + +![Pi-Hole installer, selecting DNS](/public/images/starlink-pihole-5.png) + +Select `Yes` when asked to install the Web Admin Interface: + +![Pi-Hole installer, choosing to install the web admin interface](/public/images/starlink-pihole-6.png) + +![Pi-Hole installer, terminal showing the web interface installing](/public/images/starlink-pihole-7.png) + +Once that completes you'll be shown your Pi-Hole's IPv4 and IPv6 addresses. **Keep note of these for later**. + +## Configuring the Eero App + +1. Open the Eero app (iOS or Android) +2. Navigate to `Settings` > `Network Settings` > `DNS` +3. Select Customized DNS and enter both your saved `IPv4` / `IPv6` values +4. Eero will prompt you to reboot your network - do it + +Next we need to add your Pi-hole's address as an port forward reservation: + +1. In the Eero app, navigate to `Settings` > `Network Settings` > `Reservations & port forwarding` +2. The Pi-Hole device should be listed automatically (if not, enter the Pi-Hole's IP manually) +3. Save your changes + +You might be required to reboot your network again. Once that is complete we can now access our Pi-Hole's web interface! + +## Pi-Hole Interface + +Navigate to the Pi-Hole's IP (or the hostname you created for it) on your local computer. From here you can tweak the device settings as much or as little as you'd like! Enjoy ad-free and tracker-free browsing! + +![Pi-Hole running locally in the browser](/public/images/starlink-pihole-8.png) diff --git a/posts/x220-dual-boot.md b/posts/x220-dual-boot.md index afb299b..77f1e2a 100644 --- a/posts/x220-dual-boot.md +++ b/posts/x220-dual-boot.md @@ -1,6 +1,6 @@ # Dual Booting OpenBSD and Alpine Linux on a X220 ThinkPad -2024-07-09 +2024-07-10 I've always found it useful to run both OpenBSD and some form of Linux variation on my personal machines. Most times, I would default to running one OS on bare metal, while the other would simply live in a VM. This works *okay* but I prefer my operating systems having a "hardware separator" - if that makes sense? So, I set off to start dual booting both OpenBSD and Alpine Linux on my X220 ThinkPad. diff --git a/public/images/starlink-pihole-1.png b/public/images/starlink-pihole-1.png Binary files differnew file mode 100644 index 0000000..8e51e1d --- /dev/null +++ b/public/images/starlink-pihole-1.png diff --git a/public/images/starlink-pihole-2.png b/public/images/starlink-pihole-2.png Binary files differnew file mode 100644 index 0000000..e2eb8c7 --- /dev/null +++ b/public/images/starlink-pihole-2.png diff --git a/public/images/starlink-pihole-3.png b/public/images/starlink-pihole-3.png Binary files differnew file mode 100644 index 0000000..c359427 --- /dev/null +++ b/public/images/starlink-pihole-3.png diff --git a/public/images/starlink-pihole-4.png b/public/images/starlink-pihole-4.png Binary files differnew file mode 100644 index 0000000..d95004c --- /dev/null +++ b/public/images/starlink-pihole-4.png diff --git a/public/images/starlink-pihole-5.png b/public/images/starlink-pihole-5.png Binary files differnew file mode 100644 index 0000000..06b195f --- /dev/null +++ b/public/images/starlink-pihole-5.png diff --git a/public/images/starlink-pihole-6.png b/public/images/starlink-pihole-6.png Binary files differnew file mode 100644 index 0000000..f6067c7 --- /dev/null +++ b/public/images/starlink-pihole-6.png diff --git a/public/images/starlink-pihole-7.png b/public/images/starlink-pihole-7.png Binary files differnew file mode 100644 index 0000000..55fbe72 --- /dev/null +++ b/public/images/starlink-pihole-7.png diff --git a/public/images/starlink-pihole-8.png b/public/images/starlink-pihole-8.png Binary files differnew file mode 100644 index 0000000..435875d --- /dev/null +++ b/public/images/starlink-pihole-8.png diff --git a/public/images/starlink-pihole-setup.webp b/public/images/starlink-pihole-setup.webp Binary files differnew file mode 100644 index 0000000..0b13cba --- /dev/null +++ b/public/images/starlink-pihole-setup.webp |