Installing motion on a Raspberry Pi and managing the generated files

The purpose of this article is to help you quickly install and configure the motion package on a Raspberry Pi (3 or 4). This should also theoretically work for several Linux flavors such as Ubuntu, Mint, Elementary, etc. Per their website, “Motion is a highly configurable program that monitors video signals from many types of …

UFW Firewall on Ubuntu

Setting up a Firewall (ufw) on a Ubuntu / Raspbian

I don’t know about you, but I don’t want a hooded cyberpunk hacker hacking into my Linux boxes. Luckily, there’s at least one layer we can add to make that much less likely happen. Per a pretty good description and more advanced details surrounding the tool, UFW provides a much more user-friendly framework for managing …

Forward a Port in a UniFi® Security Gateway (USG)

These instructions teach you how to open ports on a Ubiquiti UniFi® Security Gateway (USG) Prerequisites are that you have the following equipment set up: Here’s some Amazon affiliate links to the devices if you need them Steps: A more comprehensive guide is available here: https://help.ui.com/hc/en-us/articles/235723207-UniFi-USG-UDM-Port-Forwarding-Configuration-and-Troubleshooting

Windows Software Package Management (Chocolatey)

If you’re like me, you use apt install or brew install on your Linux and macOS computers. Windows has for years allowed a ‘quick’ way to install programs using services like Ninite. While Ninite is great, you’re just installing the applications in bulk. Microsoft Store is also available built into the operating system but it …

Error: Cask ‘wine-stable’ definition is invalid: invalid depends_on key: ‘:x11’

Updating a Ruby file will fix this. This one took me a bit to find. I’m getting this error whether I run brew upgrade, brew install –caske wine-stable or brew uninstall –cask wine-stable. I think the issue is that x11 is now deprecated and if you installed this version of wine, you can’t uninstall it until you …

Booting a Raspberry Pi from USB 3.0 Port Plugged in Device (e.g. SSD, HDD, FlashDrive)

Booting your Raspberry Pi from the SD Card can be slow and SD Card’s aren’t the most long lasting forms of media for physical data retention. Neither are NVME SSD’s but their write speeds are really good. To set up your Raspberry Pi to boot from USB, the details can be summarized as: Prerequisites Assuming …

How to get the Temperature of a Raspberry Pi via CLI

To get the temperature of a Raspberry Pi, simply run this script in a terminal /usr/bin/vcgencmd measure_temp That’s it! Put it in a script, run it alone in the CLI, or create an alias so you’re not having to type it every time. For instance, a simple alias would be: alias pitemp = ‘/usr/bin/vcgencmd measure_temp’

Show Verbose Progress when Copying Files in Ubuntu Server via CLI

In short, I had some big files inside folders I needed to copy from one directory to another and wanted to know what the progress. This immediately took me to this article and I’m simply sharing the command here. rsync –info=progress2 -auvz /path_to_source_directory/ /somewhere/destination_directory/ This will display the progress with some information like write speed. Really helpful. …