aboutsummaryrefslogtreecommitdiff
path: root/build/posts/adguard/index.html
blob: 27a08a43a42422823ac5555f308a3e14c19be138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="color-scheme" content="dark light">
	<link rel="icon" href="data:,">
	<title>Setting Up AdGuard Home with Eero</title>
	<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
	<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
</head>

<nav>
	<a href="#menu">Menu &darr;</a>
</nav>

<main>
<h1 id="setting-up-adguard-home-with-eero">Setting Up AdGuard Home with Eero</h1>
<p>2022-11-04</p>
<p>Eariler this year I posted <a href="/eero">detailed instructions on setting up Pi-Hole with Eero</a> and it seemed to help out a few people having troubles. With AdGuard Home recently popping up on the <a href="https://news.ycombinator.com/item?id=33387678">frontpage of HackerNews</a>, I thought now would be a great time to post instructions of setting up <em>that</em> service alongside Eero devices.</p>
<h2 id="what-youll-need">What You&#8217;ll Need</h2>
<ol>
<li>Raspberry Pi device (I recommend the Pi Zero for simplicity and low cost)</li>
<li>microSD card</li>
<li><a href="https://www.raspberrypi.com/software/">Raspberry Pi Imager</a></li>
<li>micro USB to ethernet adapter (check your local Amazon)</li>
<li>Patience!</li>
</ol>
<h2 id="setting-up-the-raspberry-pi">Setting Up the Raspberry Pi</h2>
<p>The first thing we need to do is flash Raspberry Pi <strong>Lite</strong> onto our SD card. Open Raspberry Pi Imager, select the <strong>Lite</strong> version of the OS and your respective media (the SD card):</p>
<p><img src="/public/images/rpi-lite-os.webp" alt="Raspberry Pi Lite" /></p>
<p>Don&#8217;t flash anything just yet! Be sure to use the gear icon and edit the settings. Set a custom hostname, enable <code>ssh</code> and setup a proper user:</p>
<p><img src="/public/images/rpi-adguard-1.webp" alt="Imager settings" /></p>
<h2 id="plug-it-in-and-boot">Plug it in and Boot!</h2>
<p>Put the SD card into your Pi, connect power and ethernet. Give it a bit of time to boot up. Once you see a nice solid green LED, go back to your local computer&#8217;s terminal and enter the following command:</p>
<pre><code>ssh piguard@piguard.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 you setup.</p>
<p>Once you are connected directly to the Pi, it&#8217;s best to check for updates:</p>
<pre><code>sudo apt update
</code></pre>
<p>&#8230;and if updates are in fact available, install them via:</p>
<pre><code>sudo apt upgrade
</code></pre>
<h2 id="installing-adguard-home">Installing AdGuard Home</h2>
<p>Simply run the automated installer:</p>
<pre><code>curl -s -S -L https:&#47;&#47;raw.githubusercontent.com&#47;AdguardTeam&#47;AdGuardHome&#47;master&#47;scripts&#47;install.sh | sh -s -- -v
</code></pre>
<p>Follow the instructions and you&#8217;ll be setup in no time! To view your AdGuard dashboard at any time, you can now simply navigate to <code>piguard.local</code>.</p>
<p>If you run into any issues, I strongly suggest <a href="https://github.com/AdguardTeam/AdGuardHome#getting-started">reading through the &#8220;Getting Started&#8221; guide</a>.</p>
<h2 id="configuring-the-eero-app">Configuring the Eero App</h2>
<p>Once your AdGuard Home server is installed and running, you can finally point your Eero network at it.</p>
<ol>
<li>Open the Eero app (iOS or Android)</li>
<li>Navigate to <strong>Settings</strong> &#62; <strong>Network Settings</strong> &#62; <strong>DNS</strong></li>
<li>Select <strong>Customized DNS</strong> and enter both your saved IPv4 &#47; IPv6 values (These can be found under the <code>Setup Guide</code> tab in the main AdGuard Dashboard)</li>
<li>Eero will prompt you to reboot your network - do it</li>
</ol>
<p>After the system reboots everything <em>should</em> be working as intended!</p>
<h2 id="closing-thoughts">Closing Thoughts</h2>
<p>I&#8217;ve personally switched over from Pi-Hole to AdGuard Home - it just feels more robust and the UI is significantly cleaner. Hopefully this helps others trying to do the same!</p>
<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://barf.btxx.org">barf</a>. <br>
        Feeds: <a href="/atom.xml">Atom</a> & <a href="/rss.xml">RSS</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>