aboutsummaryrefslogtreecommitdiff
path: root/_posts/2022-03-14-eero.md
diff options
context:
space:
mode:
authorBradley Taunt <brad@serpapi.com>2024-06-14 09:24:07 -0400
committerBradley Taunt <brad@serpapi.com>2024-06-14 09:24:07 -0400
commit59b3b077758942f4b45a07fa52e856df8edeea3a (patch)
treec3ebe1a1265556569c02c4de563b728c1a564773 /_posts/2022-03-14-eero.md
parent26c7db12364e8eba08e2f8e85bb534ed735a0be8 (diff)
Further minimal improvements, reducing code base
Diffstat (limited to '_posts/2022-03-14-eero.md')
-rw-r--r--_posts/2022-03-14-eero.md60
1 files changed, 30 insertions, 30 deletions
diff --git a/_posts/2022-03-14-eero.md b/_posts/2022-03-14-eero.md
index 139022b..367bc07 100644
--- a/_posts/2022-03-14-eero.md
+++ b/_posts/2022-03-14-eero.md
@@ -26,18 +26,18 @@ Before we get into the step-by-step details, here are the required items you'll
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 `boot` folder, add an empty file simply called `ssh` (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:
-
- country=US
- ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
- update_config=1
-
- network={
- ssid="WIFI_SSID"
- scan_ssid=1
- psk="WIFI_PASSWORD"
- key_mgmt=WPA-PSK
- }
-
+```sh
+country=US
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1
+
+network={
+ ssid="WIFI_SSID"
+ scan_ssid=1
+ psk="WIFI_PASSWORD"
+ key_mgmt=WPA-PSK
+}
+```
Save this file as `wpa_supplicant.conf` and add it to the `boot` directory as well.
@@ -47,9 +47,9 @@ You can now safely eject the microSD card and place it into your Raspberry Pi.
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:
-
- ssh pi@raspberrypi.local
-
+```sh
+ssh pi@raspberrypi.local
+```
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: `raspberry`
@@ -57,21 +57,21 @@ If everything was set up properly you will be asked to trust this device. Next,
Once you are connected directly to the Pi, it's best to check for updates:
-
- sudo apt update
-
+```sh
+sudo apt update
+```
...and if updates are in fact available, install them via:
-
- sudo apt upgrade
-
+```sh
+sudo apt upgrade
+```
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:
-
- sudo raspi-config
-
+```sh
+sudo raspi-config
+```
1. Edit Hostname: navigate to `System Settings` --> `Hostname`
2. Edit Password: navigate to `System Settings` --> `Password`
@@ -82,9 +82,9 @@ Once complete, reboot the Pi. Just remember that when you try to reconnect to th
This is the easy part:
-
- curl -sSL https://install.pi-hole.net | bash
-
+```sh
+curl -sSL https://install.pi-hole.net | bash
+```
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.
@@ -92,9 +92,9 @@ Near the end of the setup you'll be show the newly created static IP for this Pi
Once it's finished, shutdown the Pi safely by running:
-
- sudo shutdown now
-
+```sh
+sudo shutdown now
+```
## Hardware Setup