technical

91 posts

technical

Set a static IP address in Home Assistant OS

Full credit goes to this forum post. I found myself in need of dropping to the CLI for a fresh Home Assistant OS install on top of Proxmox after using the tteck helper scripts to set a static IP. To do this without access to the Home Assistant UI we must drop to the command line of HAOS itself. Simply typing login will drop you out of the HAOS CLI and you will be able to use nmcli to set these parameters on the underlying OS. nmcli nmcli is a command line tool to modify network configuratio

linux

Fixing "kernel EDID has corrupt header" in Proxmox 8 and NixOS

Since fairly recently my Proxmox install has shown an almost barf inducing amount of errors along the lines of edid block 0 is all zeroes or kernel EDID has corrupt header. The issue is present on at least Promox 8.1.5 running kernel Linux 6.5.13-3-pve. Thanks for the fix goes to a couple of threads here and here. Some folks suggested disabling AST graphics, or blacklisting the i915 driver - this had no effect on my ASRock Rack E3C246D4U motherboard with i5 8500 CPU. This is a vanilla install

technical

A Cheap No-Frills OPNsense box

If you're looking to build a small, quiet and cheap box to run OPNsense on then I have a build you might be interested in. This box has been happily running as my firewall since July 2019. I originally documented the build in this forum post over at serverbuilds.net but for posterity I wanted to record this information here too. Here's the build: Item Model Price in 2019 Approx 2023 price Notes Motherboard Intel DQ77KB $37 $50-60 Dual on-board Gigabit ethernet CPU Intel i3 3225 $29 $6

technical

Gitea Webhook Change

A while back I wrote about deploying DroneCI and Gitea together to build projects automatically. A few months ago my CI broke and I've only just now gotten around to fixing it. In PR #17482 the Gitea project introduced a breaking change for security reasons. They introduced a new webhook.ALLOWED_HOST_LIST value which needed to be configured in order for webhooks to work. Diagnosis In Gitea open the repo in question and navigate to the repo specific settings -> webhooks. Next utilise the rec

technical

Eliminating 3D Printer vibration noise transmission

If you've been wanting to make your 3D printer quieter then these Sorbothane feet are the best way to do this. Using 6 of these little squash ball like rubber feet screwed into the bottom of a Prusa i3 MK3 the reduction in noise levels was truly *astonishing*. As you can see, I place my printer on a wooden butcher block countertop. Between the concrete paver and the countertop there are some anti vibration pads made of foam. The sound from the printer placed directly on the paver is much less

mkdocs

Making mkdocs tables look like Github markdown tables

Adding custom CSS to the mkdocs material theme is straightforward. Follow the docs and you can make tweaks to the CSS of the theme as you need. I'm a big fan of the way in which Githubs markdown rendering engine renders tables. Alternate coloured lines, reasonable padding for decent information density that is easy on the eyes and legible text. These are things I felt that the stock mkdocs material theme table "skin" failed on, so I spent a bit of time figuring out how to fix that today. Stoc

docker

Monolithic docker-compose files filtered with profiles

Those of us who use docker-compose to manage our fleets of containers generally fall into two camps. Camp A prefers one monolithic docker-compose file per host using docker-compose <command> <service> to interact with each service. Camp B split up their configuration into multiple files with some kind of logical grouping which makes sense to them. This post will provide an overview of using profiles with docker-compose to address multiple services within a monolithic file. This aims to provide

synology

Access a Synology NAS with Traefik on DSM7

With the recent update to DSM7 my Synology NAS has been transformed. It now runs a recent version of docker, I can use Ansible to manage docker-compose like I do with all my other systems and it now runs systemd! I use Traefik as my reverse proxy of choice, I understand it well and use it everywhere across about a dozen hosts - both at home and in the cloud. So it's logical to me to use Traefik to handle reverse proxying and TLS certification with the Synology box I have - the DS1621+. Pre-re