aboutsummaryrefslogtreecommitdiff
path: root/build/eero/index.html
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-06-06 08:05:12 -0400
committerBradley Taunt <bt@btxx.org>2024-06-06 08:05:12 -0400
commit6b742c459266b18e2b375b35205ce8a6c02f0452 (patch)
treeb16fbb9a045e33dd6c97eb5ab72e6ff4d9237ea3 /build/eero/index.html
Initial commit
Diffstat (limited to 'build/eero/index.html')
-rw-r--r--build/eero/index.html130
1 files changed, 130 insertions, 0 deletions
diff --git a/build/eero/index.html b/build/eero/index.html
new file mode 100644
index 0000000..b1dec87
--- /dev/null
+++ b/build/eero/index.html
@@ -0,0 +1,130 @@
+<!doctype html>
+<html lang="en" id="top">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="data:,">
+ <title>Setting Up a Pi-hole Server with Eero</title>
+ <link href="https://bt.ht/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style>
+</head>
+
+<nav>
+ <a href="#menu">Menu &darr;</a>
+</nav>
+
+<main>
+<h1>Setting Up a Pi-hole Server with Eero</h1>
+<p>2022-03-14</p>
+<p>For the past few years, I've been using a set of Eero routers as my home mesh network. It's worked fairly great in that time and even seamlessly transitioned without any hiccups when my family moved house. During the initial setup, I installed <a href="https://pi-hole.net">Pi-hole</a> on a Raspberry Pi Zero WH because advertisements and tracking scripts suck.</p>
+<p>It was an easy process to get everything up and running, but I did notice a lack of detailed steps online for those specifically using Eero systems. So, I thought I would document this process here with the hope that it will help someone else along the way (or at the very least remain a semi-permanent place for my own reference).</p>
+<hr />
+<p>FYI: You can pay for Eero Secure and allow them to handle ad/tracker blocking for you. Personally, I prefer to have complete control over my blocklists and usage data. YMMV.</p>
+<hr />
+<h2>Setting Up the Pi-hole Server</h2>
+<p>Before we get into the step-by-step details, here are the required items you'll need:</p>
+<ol>
+<li>Raspberry Pi device (I recommend the Pi Zero for simplicity and low cost)</li>
+<li>microSD card preloaded with <a href="https://www.raspberrypi.com/software/operating-systems/">Raspberry Pi OS Lite</a> (having a desktop GUI is overkill for our use case)</li>
+<li>micro USB to ethernet adapter (check your local Amazon)</li>
+<li>Patience!</li>
+</ol>
+<p>Before you place your microSD card into the Pi and boot it up, connect it to your local computer (via USB adapter) - we will need to add some files first. Once loaded into the <code>boot</code> folder, add an empty file simply called <code>ssh</code> (no extensions). Next open your preferred text editor and enter the following code, editing the content to match your own country code and home network settings:</p>
+<pre><code>country=US
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1
+
+network={
+ ssid=&quot;WIFI_SSID&quot;
+ scan_ssid=1
+ psk=&quot;WIFI_PASSWORD&quot;
+ key_mgmt=WPA-PSK
+}
+</code></pre>
+<p>Save this file as <code>wpa_supplicant.conf</code> and add it to the <code>boot</code> directory as well.</p>
+<p>You can now safely eject the microSD card and place it into your Raspberry Pi.</p>
+<h2>Plug it in and Boot!</h2>
+<p>Connect power to your Pi and give it a bit of time to boot up. Once you see a nice solid green LED, go back to your local computer's terminal and enter the following command:</p>
+<pre><code>ssh pi@raspberrypi.local
+</code></pre>
+<p>If everything was set up properly you will be asked to trust this device. Next, you will be prompted to enter the device password. The default password will be: <code>raspberry</code></p>
+<p><strong>Important</strong>: This is assuming you don't currently have any other Pi devices using this hostname parameter!</p>
+<p>Once you are connected directly to the Pi, it's best to check for updates:</p>
+<pre><code>sudo apt update
+</code></pre>
+<p>...and if updates are in fact available, install them via:</p>
+<pre><code>sudo apt upgrade
+</code></pre>
+<p>This next step is optional but I highly recommend it for security purposes. You should change both the hostname and password of this soon-to-be Pi-hole server. To do this simply run:</p>
+<pre><code>sudo raspi-config
+</code></pre>
+<ol>
+<li>Edit Hostname: navigate to <code>System Settings</code> --&gt; <code>Hostname</code></li>
+<li>Edit Password: navigate to <code>System Settings</code> --&gt; <code>Password</code></li>
+</ol>
+<p>Once complete, reboot the Pi. Just remember that when you try to reconnect to this device via SSH you'll need to use both of these new parameters instead of the defaults.</p>
+<h2>Installing Pi-hole</h2>
+<p>This is the easy part:</p>
+<pre><code>curl -sSL https://install.pi-hole.net | bash
+</code></pre>
+<p>Pi-hole runs a full install script that walks you through step-by-step on setting things up. It's best to use the suggested defaults during the install - everything is pretty simple.</p>
+<p>Near the end of the setup you'll be show the newly created static IP for this Pi-hole server (both IPv4 and IPv6). Write these down for easy reference in a moment.</p>
+<p>Once it's finished, shutdown the Pi safely by running:</p>
+<pre><code>sudo shutdown now
+</code></pre>
+<h2>Hardware Setup</h2>
+<p>With the Pi shutdown you can safely relocate it to where you have your modem and gateway Eero setup. Connect your new Pi-hole device to the secondary ethernet port on your gateway Eero[^1] and power it up. (This is where the microUSB to ethernet adapter for our Pi device is needed)</p>
+<p>See the crude diagram below for visual reference:</p>
+<p><figure>
+ <img src="/public/images/eero-pi-hole.webp" alt="Eero Pi-hole connection diagram">
+ <figcaption>Internet modem --> Eero gateway --> Pi-hole device</figcaption>
+</figure></p>
+<ul>
+<li><strong>Grey Wire</strong>: Incoming internet connection from ISP</li>
+<li><strong>Blue Wire</strong>: Ethernet cord connecting modem to gateway Eero</li>
+<li><strong>Red Wire</strong>: Ethernet cord connecting secondary Eero port to Pi Zero</li>
+</ul>
+<p>That's all we need to do on the hardware side of things.</p>
+<h2>Configuring the Eero App</h2>
+<p>With everything connected properly it's finally time to setup our custom DNS settings through Eero.</p>
+<ol>
+<li>Open the Eero app (iOS or Android)</li>
+<li>Navigate to <strong>Settings</strong> &gt; <strong>Network Settings</strong> &gt; <strong>DNS</strong></li>
+<li>Select <strong>Customized DNS</strong> and enter both your saved IPv4 / IPv6 values</li>
+<li>Eero will prompt you to reboot your network - do it</li>
+</ol>
+<p>Next we need to add your Pi-hole's address as an IPv4 reservation:[^2]</p>
+<ol>
+<li>In the Eero app, navigate to <strong>Settings</strong> &gt; <strong>Network Settings</strong> &gt; <strong>Reservations &amp; port forwarding</strong></li>
+<li>Tap <strong>Add a reservation</strong> and include your Pi-hole's IP address</li>
+</ol>
+<p>After the system reboots everything <em>should</em> be working as intended! You can check by navigating to your Pi-hole IP address in your browser.</p>
+<h2>Closing Thoughts</h2>
+<p>None of this stuff if groundbreaking, but my hope is that even one person across the internet finds this helpful! If you run into any major bugs, please leave a comment below and I'll do my best to help out!</p>
+<p>Best of luck blocking those pesky ads and trackers!</p>
+<h2>Refs</h2>
+<ol>
+<li>You don't <em>have</em> to use your Eero gateway for this step (credit: <a href="https://old.reddit.com/user/RollMeAway83">/u/RollMeAway83</a>)</li>
+<li>Thanks to <a href="https://old.reddit.com/user/YankeesIT">u/YankeesIT</a> for pointing out that this is required not <em>optional</em></li>
+</ol>
+<footer role="contentinfo">
+ <h2>Menu Navigation</h2>
+ <ul id="menu">
+ <li><a href="/">Home</a></li>
+ <li><a href="/projects">Projects</a></li>
+ <li><a href="/uses">Uses</a></li>
+ <li><a href="/wiki">Wiki</a></li>
+ <li><a href="/resume">Resume</a></li>
+ <li><a href="/colophon">Colophon</a></li>
+ <li><a href="/now">Now</a></li>
+ <li><a href="/donate">Donate</a></li>
+ <li><a href="/atom.xml">RSS</a></li>
+ <li><a href="#top">&uarr; Top of the page</a></li>
+ </ul>
+ <small>
+ Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
+ Maintained with ♥ for the web. <br>
+ Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
+ The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
+ </small>
+</footer> \ No newline at end of file