Posts whose title or text contains one of these words are left out of every view.
Whole words only: ai catches "AI-generated" but not "openai". Add a star for word beginnings: llm* catches llm and llms.
99 words is the limit
https://www.adyxax.org/blog
8 posts
Tech
Subscribe via RSS
Introduction This article explains how I setup FreeBSD systems nowadays. My use case is mostly to have a FreeBSD rescue handy at cheap VPS providers that do not natively support FreeBSD, and protect my data against providers that might not properly erase disks when I stop using a VPS. Remote unlock over SSH is for convenience. This is achieved by creating a small unencrypted ZFS pool that holds /boot and a minimal FreeBSD system that will be called the outerbase in this article. On boot, I SSH…
Introduction This article explains how to start an OpenSSH server from the FreeBSD installer. It is usually quite easy to do on Linux, but on FreeBSD it requires a few commands that I want to document here. My use case is a web KVM or virtual machine VNC or SPICE interface that restrict copy/paste operations during rescue or install operations. Procedure First, boot the installation media normally then select “Shell” on the first menu screen. Then set up the network however is appropriate in…
Introduction Last month while working on my OpenTofu/Terraform provider for Forgejo, I encountered a bug in the Forgejo API. I had some time to investigate so I wrote a fix, and was pleasantly surprised at how welcoming the project was to a new contributor. The problem The problematic endpoint is PATCH /orgs/{org}. This endpoint returned 200 OK when I tried to set an organization’s visibility to public, but the setting remained unchanged. Before creating a new issue, I searched through the list…
Introduction I had some fun migrating my NixOS servers to root on ZFS a while ago but did not take the time to write about it. This was mostly for fun and consistency with my other setups because thanks to Nix, the operating system itself does not benefit that much from being on ZFS. You can (almost) always revert to a previous working state right from the boot loader entries, but ZFS still adds its usual benefits for all the other parts: snapshots you can send remotely, zvols, native…
Introduction Not many Virtual Private Server (VPS) providers consider FreeBSD a first-class citizen, and few encourage you to encrypt your hard drive from inside the VPS. Though encrypting a VPS hard drive does not protect against everything and requires one to access the web KVM of the provider to type in a password on each reboot, I still find it reassuring. You need a little know-how to be able to set up FreeBSD in a not so friendly environment. There are several procedures to achieve this…
Introduction I have blogged about my pf firewall configurations a few times, but never my Linux ones. There is nothing especially unusual about it, but it does differ somewhat from the common nftables examples. Configuration This is the configuration for my Gentoo laptop. It has two Wireguard interfaces and references two egress interfaces, one for Ethernet and one for WiFi: #!/sbin/nft -f flush ruleset define allowed_icmp_types = { echo-reply, echo-request }; define trusted_icmp_types = {…
Introduction For almost a decade, I have been operating my own mesh overlay network using a combination of point to point OpenVPN tunnels with OSPF on top. It was well automated with Ansible and served me well all these years. I decided it was time I tried to move this to Wireguard instead and spent a bit of time making it all work. This article does not explain everything I did, but will present some lessons I learned in the process. Routing OSPF over Wireguard By default, Wireguard encourag...
Introduction I recently had my phone die on me and had to get a new one. One of the first apps I install is Syncthing, in order to restore my photos and app data. Syncthing on Android has had quite the history, and for a time it was the norm to use Syncthing-Fork. A few months ago, this fork went through an ownership change, and I stopped updating this app until things settled. On a new device, I wanted an up to date setup I could trust long-term and maintain myself. I found that the safest w...