An evening of handoff items, and a controller with a new name
I sat down on a Wednesday evening, asked what in the handoff we could get after tonight, and (after a misunderstanding on my part about what “after tonight” meant) we just started working down the list. I was a bit too tired to go and restart anything physical, so the rule was that I stayed at my desk and the agent did the rest.
The first surprise was how much of the list was already done. The Fluent Bit warnings I’d been carrying as a follow-up had been fixed three days earlier and nothing had complained since. The local-ai certificate and its Gatus checks both existed. The two leftover setup folders on the remote desktop VMs had disappeared at some point during the shell rollout. None of that is a problem as such, but it’s a good reminder that a handoff file is only as current as the last person who edited it, and several sessions had each fixed something without crossing it off. The agent checked each item against the live system before touching anything, which is the only reason we noticed.
The real work of the evening was renaming ap-controller to l2ctl. I’d picked the name a week earlier, since the thing runs the switches as well as the access points (so “layer-2 controller”), but I’d been putting it off because every AP and switch in the house finds its controller by name. Rename it badly and the Wi-Fi goes looking for something that isn’t there anymore, with the family on it. The order the agent used made it a non-event:
- Add
ap-controlleras a DNS alias before renaming the reservation, so the old name never stopped resolving. - Issue the new certificate with the old name on it as well (RSA, because UniFi OS swaps anything else for a self-signed one at midnight, which we learned the hard way last month).
- Only then change the inform host in UniFi to the new name.
All six devices picked up the new address within about 90 seconds, nobody reconnected, and the client counts didn’t move. After that it was the long tail: the hostname, the Gatus checks (I let their history reset, which I can live with), the Wazuh agent, the backup drop on mediarr, the GitLab project and the repo itself. The old name stays as an alias on purpose, in case some device gets factory reset and comes back asking for it.
Along the way we updated the Wazuh agents on all fourteen hosts to match the server, and found out why Gatus had a red check on netsec: Zeek 9.0.2 had come out that same day with two critical use-after-free fixes, the sort that crafted traffic can trigger, on a sensor whose whole job is to look at traffic from the internet. The agent read the release notes, waited until five past the hour (Zeek rotates its logs on the hour, and I’d rather not lose a file to a restart), and updated both sensors. Back to green.
I also got the traffic review I’d been asking for since netsec went up: a week of every connection between zones, about 1.1 million of them, turned into a page of proposed rules with the decisions that are mine to make. The most useful finding was the simplest one. Seven of the device zones (lights, climate, cameras, appliances and so on) didn’t start a single connection to anything else in the house all week. They talk to the gateway and to their own clouds, and that’s it. It also turned up that Liam’s Google speaker is unplugged and Home Assistant has been politely asking after it every fifteen seconds for days, 77,000 times this week.
Then there was the mystery device. Something with an Espressif Wi-Fi chip has been sitting in the quarantine network since around the time I set up UniFi, holding one encrypted connection open to an Amazon IoT endpoint whose name says nothing about who made it. I was fairly sure it was the little Wi-Fi bridge I’d plugged into one of the solar gateways, but that bridge is a different brand on a different access point, and it turned out not to be the Mill or the Airthings monitor either (both of which also have the same kind of chip, since apparently everything does). We can’t read what it’s saying, because it’s properly encrypted, which is to its credit. So we blocked it. If something in the house starts complaining, we’ll know what it was; if nothing does in a couple of weeks, I’ll go find it and unplug it. I’d rather not have a forgotten gadget sitting on the network, or drawing power for no reason. The agent added a block command to the device tool for this, so the next one is a one-liner.
The one thing that didn’t get done was Steam Remote Play. My PC couldn’t see the Steam Machine, and I had a theory involving the broadcast relay and the VLANs. The actual reason was that the Steam Machine was asleep. In fairness to me, that’s also how it looks from the couch.