Archlinux on Banana Pi BPI-M2 ZERO
I recently ordered a Banana Pi BPI-M2 ZERO board and installed Arch Linux ARM on it. I found a guide here in Spanish but should be easy enough to understand the commands that were run. I happened to have a USB-C ethernet dongle that I used with an an adapter to get wired network in order to get NetworkManager installed. First Boot 📋 # as root pacman-key --init pacman-key --populate archlinuxarm pacman --noconfirm -Syu networkmanager neofetch cronie sudo ethtool tmux systemctl enable NetworkManager systemctl enable cronie echo "LANG=en_US.Maintaining Archlinux Cache
Archlinux is generally easy to update by running sudo pacman -Syu but after awhile you may find that your hard drive seems to be getting full. The wiki has all the same information but I wanted to remind myself of what I did. Install pacman-contrib to get the paccache command then setup a cron job. 📋 pacman -Syu pacman-contrib cat > /etc/cron.weekly/1paccache << EOF /usr/bin/paccache -r --min-atime "1 day ago" -k 1 EOF chmod +x /etc/cron.Raspberry Pi running Archlinux
While doing some spring cleaning I discovered I had a Raspberry Pi 3 that was purchased at retail price years ago. This was the perfect candidate for a sprinkler controller I’ve been thinking of building for some now so I figured I’d poke around with a bit. In the past I’ve found that Raspbian/Ubuntu tends to get into some odd defunct state where updates just stop working and I’m forced to reinstall the latest version and start over.Html and CSS with html/template in Go
While building a small app to generate static html files I found myself using the
html/template
library. While trying to embed some CSS from a shared file I found that I ran into the ZgotmplZ
issue.
Debugging Z-Wave in openHAB
I’ve been running openHAB as my home automation software for a few years now and recently I had to resolve some issues with Z-Wave devices. In order to do that I had to enable debugging in openHAB.
Running openHAB in Docker
I’ve been running openHAB for some time and I recently decided to recreate my setup in docker to run it on a bigger shared server instead of a Raspberry Pi 4. It was fairly easy but I did have to deviate a little for my configuration from what the documentation suggested.
Encrypting LVM on Raspberry Pi 4
For my Raspberry Pi 4 setup I decided to change the LVM configuration to use LUKS for encryption.
Installing BorgBackup on Raspberry Pi 4
In this tutorial we’ll prepare a RPi4 to use as a BorgBackup server. It’ll contain a single (for now) USB hard drive to use as data storage with the option of adding move storage space in the future. I used the following hardware for this guide:
Takeout for Google
Did you know Google has a takeout service? No, not for food, but for helping you get off of the free tier.
Remove Duplicate Files
Sometimes we just have too many files and they might be the same. Let’s clean them up!
Sign in with Google
As part of getting off of Google workspace, you’ll need to update 3rd party websites that use the “Sign in with Google” feature.
First Post
So I’ve been trying to keep all my wisdom to myself all these years and I’ve finally decided to share a few words.