blight : Backlight Idle Daemon for FreeBSD/KDE/Plasma/Wayland

Host: thinkpadt480s | Date: 2026-05-04 | Status: Deployed and running

blight is a FreeBSD-native backlight idle python script (written with the goldfish brain) running as a user daemon for KDE Plasma on Wayland. It dims the screen to 0 after a configurable idle timeout and restores it on any trackpad or TrackPoint input : talking directly to /dev/psm0 and /dev/backlight/backlight0. No D-Bus. No logind. No powerdevil.

 …

pfSense DHCP Outage a day after installing NetGate Plus 26.03-RELEASE

Summary

On 2026-04-06 at approximately 09:38 EDT, the Kea DHCP service on pfSense (26.03-RELEASE) stopped serving leases on all interfaces. The root cause was a corruption of the <dhcpd> block in /cf/conf/config.xml, which caused pfSense to generate an empty Kea interfaces list. Service was restored by activating a previous ZFS boot environment.


Timeline

Time (EDT) Event
08:54 config.xml drops ~15KB — <dhcpd> block wiped (config-1775480086.xml > config-1775480087.xml)
08:54–09:37 Multiple config saves at reduced size; pfSense regenerates Kea config with empty interfaces each time
09:38 Kea begins logging DHCPSRV_NO_SOCKETS_OPEN; DHCP stops serving leases
09:38–09:41 Kea restarts repeatedly, fails each time
~09:45 Operator detects outage; accesses box via WireGuard VPN
~10:00 Investigation begins
~10:30 Root cause identified: empty <dhcpd> in config.xml
~10:45 Config restore from backup attempted; Kea config generator continues producing empty interfaces
~11:00 ZFS boot environment rollback to default_20260405014509 initiated
~11:10 Service restored

Root Cause

A pfSense package operation (pfBlockerNG or Suricata reload/apply) triggered a config write at 08:54 that silently cleared the entire <dhcpd> section from /cf/conf/config.xml. This is a pfSense 26.x bug: package-initiated config saves can clobber unrelated service configuration blocks.

 …

TrueNAS reboot loop, VM load, and the NVMe that would not stay seated

Overview

This is the build-and-break log for bringing a previously unstable TrueNAS/FreeBSD box back to a usable state after months of ugly crash behavior under VM load.

The short version:

  • Salvaged hardware repurposed as a NAS
  • A Fedora VM running Plex-related work could trigger a reboot loop
  • Early on, the machine was already rebooting itself in a loop — even before the NVMe path failure showed up clearly in logs
  • Hard evidence eventually pointed at one NVMe path (nvme2 / nda2) timing out and detaching under load
  • Reseating the suspect SN770 and replacing its heatsink brought the mirror back online
  • Current best hypothesis: physical seating, thermal contact, or mechanical instability — not a software bug
 …

Removing a Dead iCloud Account on a Pre-T2 Mac

(Mac Pro 2013 / Non-Secure Enclave Macs)


⚠️ Scope

This guide applies only to pre-T2 Macs (e.g., Mac Pro Late 2013).

These machines:

  • Do NOT have a T2 chip
  • Do NOT enforce hardware Activation Lock
  • Store iCloud / Find My bindings in macOS user & system databases

This will remove the local iCloud association without deleting the Apple ID account itself.


🧠 Understanding the Architecture

On pre-T2 Macs:

  • iCloud login state is stored locally in user databases
  • Find My relies on account tokens
  • There is no firmware-level enforcement

Removing the local databases clears the association from macOS.

 …

Tahoe Time Machine Failure on Samsung T7

ISSUE

Every good storage failure starts innocently.

Plug in a brand-new Samsung T7.
Select it in Time Machine.
Click “Use Disk.”
Allow macOS to format the drive automatically.
Let the backup run. It may even complete once — maybe even a few more times.
Then it fails with a generic error:
“An error occurred while preparing the backup.”

Time Machine consistently failed during the “Preparing backup” phase on macOS 26.3 (Tahoe).

 …

Generate Random MAC Addresses (Terminal One-Liner)

Sometimes you just need valid-looking MAC addresses for documentation, test data, configs, or mock environments — not for changing real hardware addresses or spoofing interfaces.

This method is platform-agnostic and works on macOS, FreeBSD, Linux, and most Unix-like systems with OpenSSL installed.


Generate with a one-liner in terminal

You can generate a properly formatted 48-bit MAC address using standard shell tools:

# Generate a random MAC address (locally-administered, unicast)
openssl rand -hex 6 | fold -w2 | paste -sd: -

Typing 𝘌𝘷𝘦𝘳𝘺𝘵𝘩𝘪𝘯𝘨 on macOS: a tiny Unicode italic script

Date: 2026-02-12
Host: macOS
Goal: Convert normal text into Unicode Mathematical Sans-Serif Italic (e.g. Everything𝘌𝘷𝘦𝘳𝘺𝘵𝘩𝘪𝘯𝘨)

This document shows how to create a small local script on macOS that converts normal text into Unicode Mathematical Sans‑Serif Italic. This is Unicode substitution (not font styling). It’s useful for headings or emphasis in posts and chats, but it’s not ideal for accessibility or searching.


What it looks like

Plain:

Everything looks cooler now

Converted:

 …

Reset Netgate / pfSense Admin Password from macOS (Serial Console Guide)

This walkthrough documents the cleanest recovery path for Netgate appliances running pfSense CE or pfSense Plus using a MacBook and the serial console this way we may avoid config loss, performing a factory reset, or a whipe/reinstall.

This is written as a practical runbook you can keep around for the next time someone locks themselves out.


What This Fixes (and What It Doesn’t)

This procedure:

  • Resets the admin webConfigurator password
  • Preserves your full pfSense configuration
  • Works even if the web UI is unreachable

This does not:

 …