I’m sure every admin has come to the point where manuals for the software were no longer sufficient and something better was needed for the exact use case. Fortunately, there is the Internet! It’s just a pitty when the tutorial you’re looking for doesn’t exist yet or is completely out of date. So that these gaps are filled, I post here from time to time a few tricks.

Sending e-mails via mailbox.org with msmtp on Fedora

Since I run several ZFS pools and want to get a notification by the integrated daemon “zed” in case of an error, I had the idea to create an alias at my email provider mailbox.org and send these notifications to my private mailbox via this alias. First, we need to install the msmtp and s-nail packages. This is a very lightweight SMTP client and a mailx compatible mail processing system to be able to send emails later using the mail command.
Read more →

Zyxel GS1200-5/8 stuck in upgrade mode

I encountered an issue upgrading a brand new GS1200-5 from firmware V2.00(ABKM.1)C0 to V2.00(ABKM.2)C0 using Firefox on a Linux system. The upgrade button triggered a rapid flashing of the switch port, but failed after a 30-second timer expired. Cancelling the upgrade would reboot the switch, but the UI remained stuck in firmware upgrade mode. Reset and power off/on did not change things. In the end I looked at the page source and used curl to push the update:
Read more →

Installing Google Coral Mini PCIE Dual EdgeTPU on Fedora

Introduction Google Coral Dual EdgeTPU is a Mini PCIE card with two built-in Edge Tensor Processing Units (EdgeTPUs) which provide high performance ML inferencing on a low-power ASIC. Why would I need an adapter for a Dual Edge TPU? Coral Dual Edge TPU is one card with two identical TPU cores. Each core has it’s own PCIe interface and motherboard shall have two PCIe busses on m.2 slot to make them both work.
Read more →

Control Hue Smart Plug using Spotify

How to make a dump stereo system smart? I have connected my stereo system to a Hue smart plug to be able to turn it on or off remotely when needed. Music is played via a Raspberry Pi with Raspotify. The smart plug is useful and convenient to save power in case I fall asleep at night listening to an audio book. This problem can be solved with a simple timer.
Read more →

Fedora encrypted disk unlocking via SSH

Introduction Since my keyboard and mouse are paired to my computer via Bluetooth and I always encrypt my hard drives with LUKS2, I ran into a chicken egg problem. At this early boot stage, the entire Bluetooth stack is not yet responsive. As a result, I can’t enter my password. The simplest solution is a wired keyboard, but then I would have multiple keyboards on the table and thus less space.
Read more →