2018

Postfix suddenly starts rejecting email it had been accepting

Let’s Encrypt is an easy way to get free SSL certificates in an automated manner. You may never have to manually do another cert renewal again. Last night, I received this email: From: Cron Daemon To: dan@langille.org Subject: Cron /usr/local/bin/cert-puller Date: Fri, 23 Feb 2018 23:57:00 +0000 (UTC) /etc/rc.conf: 3: not found /etc/rc.conf: yr: not found /etc/rc.conf: 3: not found /etc/rc.conf: yr: not found Little did I know when I tweeted about it, […]

Postfix suddenly starts rejecting email it had been accepting Read More »

Trying iocage to get an old version of FreeBSD

Sometimes you just need that old version. So I installed it. FreeBSD 9.3 Sorry, but this article is light. I stopped taking notes after a bit…. We created a VM via VMware, put FreeBSD 11.1 on it, over ZFS. Then install iocage. This is what it looked like: What did it just install? This: $ zfs list -r zroot/iocage NAME USED AVAIL REFER MOUNTPOINT zroot/iocage 825M 30.2G 25K /iocage zroot/iocage/download 180M 30.2G 23K

Trying iocage to get an old version of FreeBSD Read More »

Connecting to old devices via ssh

I have several old devices. Upgrading them is either impossible, they are unsupported, or I can’t be bothered upgrading the. Access is only via a dedicated VLAN within my home network. When stuck, I posted to Twitter and that led me to OpenSSH Legacy Options. This page describes what to do when OpenSSH refuses to connect with an implementation that only supports legacy algorithms. Here’s what I just tried: $ ssh pdu1 Unable

Connecting to old devices via ssh Read More »

Assigning static IP addresses via dhcp

NOTE: if you’re using something other than OSX, say, FreeBSD, then a previous blog post might be the solution you are looking for. I suggest skipping to the final paragraph before you implement any of what is below. You fire up your laptop, connect via WIFI, you get an IP address. You plug in an ethernet cable, you get an IP address. This is how things should work. It’s expected. It’s automatic. Sometimes

Assigning static IP addresses via dhcp Read More »

What’s this database connection in my Google / Calendar / Desktop?

This morning I saw this weird popup / flag when I hovered over the Spam link on webpage. The text read: What is that? I had no idea, but it was persistent. Every time I hovered the mouse over the link, that popup appeared. It would not appear in screenshots, so I resorted to the camera in my phone. After hiding the browser window, the popup also appeared on my Calendar: When I

What’s this database connection in my Google / Calendar / Desktop? Read More »

Disconnect UNIFI switch – US-16-XG

My Unifi US-16-XG switch was offline. It was still functioning correctly, but it was not in contact with the Controller. I wasn’t sure how to fix this, but this blog post shows what I now think should always work. It consists of two steps: Get the switch talking to the Controller Make the above change permanent The key point to remember: the Controller is always the voice of authority when it comes to

Disconnect UNIFI switch – US-16-XG Read More »

Adding IPv6 to an Nginx website on FreeBSD / FreshPorts

FreshPorts recently moved to an IPv6-capable server but until today, that capability has not been utilized. There were a number of things I had to configure, but this will not necessarily be an exhaustive list for you to follow. Some steps might be missing, and it might not apply to your situation. All of this took about 3 hours. We are using: FreeBSD 11.1 Bind 9.9.11 nginx 1.12.2 The server configuration This is

Adding IPv6 to an Nginx website on FreeBSD / FreshPorts Read More »

UAP-AC-PRO: setting the management VLAN on a Unifi AP

I have two Unifi WAPs at home. I’ve installed them at three other locations. They are a great product. One problem I had was getting the management interface set. By that, I mean the IP address of the unit. I wanted it to be in a specific range, and therefore it had to be in a specific VLAN. However, I wanted the WIFI traffic to be in a different VLAN. It is not

UAP-AC-PRO: setting the management VLAN on a Unifi AP Read More »

Getting into the CLI for a Unifi switch

I’m writing this down so I can find it later. The management IP address on my Unifi US-16-XG is wrong. I’m going to change it via a combination of the controller and the CLI. Let’s hope this works. Hope? Why hope? Unifi switches are designed to be managed via the webgui (i.e. their controller). I’m sure this will also work on my US-48 switch too. Get connected and get in I’ve done this

Getting into the CLI for a Unifi switch Read More »

Scroll to Top