Setting up IPv6 with Telus PureFibre on a Ubiquiti UniFi Dream Machine

I recently got a Ubiquiti UniFi Dream Machine (UDM) to support gigabit-speed internet at my new apartment. The UniFi line is a significant step up from consumer home routers, providing better customizability and management options for networks. The following settings are required to get IPv6 working locally using Telus PureFibre internet: In the Network application, go to Settings -> Internet -> WAN. Expand the Advanced section, then expand the IPv6 Connection subsection. Set the following settings: IPv6 Connection: DHCPv6 Prefix Delegation Size: 56 Apply the changes at the bottom. Then go to the Networks section and open your LAN network. Continue Reading

Handling power outages with an uninterruptible power supply and NUT

The main reason for having a UPS is to protect against data loss due to power outages whether it be unsaved work, or corruption due to the computer not having enough time to write things to disk. I only really started to take this seriously when I got my Synology networked attached storage (NAS) which holds all my data. The UPS I chose is an APC model with 1300VA and a USB connection, which is powerful enough to power most of the critical equipment I have at home and to ensure they have enough time to shut down. One of Continue Reading

Fixing missing categories and tags in WordPress’ block editor

For several months now, I’ve noticed that the Categories and Tags widgets were missing in my WordPress’s post block editor. It was sort of fine because I could work around it by assigning categories and tags through the Quick Edit functionality from the post list, but it was an annoyance. I had done the usual debugging steps of disabling plugins, changing to the default theme, even reinstalling the core WordPress code, but nothing changed. I had tried searching online for phrases like “wordpress categories and tags missing” but didn’t come up with anything. Today, I found two clues that led Continue Reading

Virtualmin – Install PHP 8.0 and update all sites

The PHP 8 release is around the corner. This blog post outlines the steps of installing and configuring PHP 8 on an existing install of Virtualmin on a Ubuntu system. It assumes that Virtualmin has already been installed, and that the ondrej/php PPA has been configured on the system. Install PHP 8.0 (I currently use FPM on my servers): As of writing, Virtualmin needs to be patched so that it can pick up PHP 8. Apply this one-line change to your server. Then, run Virtualmin’s config check so that it picks up the new PHP version: The output should say Continue Reading

Streaming audio from a Mac to another computer using VLC

I have a wireless headphone set plugged in to my desktop computer in my living room. However, sometimes I would like to play some audio from my Mac laptop (which could be anywhere in my apartment).

VLC is a very popular program for playing pretty much any type of media under the sun. However, it has a lot of advanced functionality that many people may not know about. One of these is that VLC can send audio as a stream.

This post describes setting up a computer to computer audio stream using VLC.