Posts tagged: homelab

All posts with the tag "homelab"

81 posts latest post 2026-10-06
Publishing rhythm
Oct 2026 | 1 posts

TODO: change title - add –listen or –host or something as 0.0.0.0… that way it listens not on localhost or 127.0.0.1, but on all addresses!

To filter for saved views from the admin console you have to use the id of the tag you are using to filter on…

Ex: filtering for tags “Inbox” doesn’t work, but for tag 18 does (the id fo the Inbox tag). I can find that ID by clicking on the tag and looking at the url bar

Steps

sudo fdisk -l

then look for the device and partition

get the Type column

mount

Example #


dumbledore in /media  NO PYTHON VENV SET 
❯ sudo fdisk -l

...

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sdk1  *        2048 60371951 60369904 28.8G  7 HPFS/NTFS/exFAT
/dev/sdk2       60371952 60437487    65536   32M ef EFI (FAT-12/16/32)


dumbledore in /media  NO PYTHON VENV SET 
❯ sudo mount -t ntfs /dev/sdk1 /media/ventoy-usb -o uid=1000                       
NTFS signature is missing.
Failed to mount '/dev/sdk1': Invalid argument
The device '/dev/sdk1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

dumbledore in /media  NO PYTHON VENV SET 
✗ sudo mount -t exfat /dev/sdk1 /media/ventoy-usb -o uid=1000

I just need to RDP into an Ubuntu box via Remmina and everytime I login I have to authenticate to create a color managed device… which I don’t even know what that is!

To fix it?

vim /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf

polkit.addRule(function(action, subject) {
 if ((action.id == "org.freedesktop.color-manager.create-device" ||
 action.id == "org.freedesktop.color-manager.create-profile" ||
 action.id == "org.freedesktop.color-manager.delete-device" ||
 action.id == "org.freedesktop.color-manager.delete-profile" ||
 action.id == "org.freedesktop.color-manager.modify-device" ||
 action.id == "org.freedesktop.color-manager.modify-profile") &&
 subject.isInGroup("{users}")) {
 return polkit.Result.YES;
 }
 });

Give’r the :x, logout, and you’re good to go

zfs allow -u $USER clone,load-key,create,destroy,mount,mountpoint,receive,send,rollback,compression,snapshot,hold,keylocation,bookmark tank

load-key only needed if using encrypted datasets

Assuming you have a PXE server running you only need small edits to the virt-manager config

Self-hosted Docker registry with proxy pull through

I decided that I want to self-host all my docker images for the purposes of regularly rebuilding and security scanning. The first step is to set up a registry, which coincidently enough you can do with a Docker container 😛! Instructions for setting up the proxy are on the offidical docker docs here Deployment I chose to deploy with Portainer because I already use it for monitoring all my docker containers. I deploy most container with Ansible but use Portainer to setup a few more adhoc or non-git driven applications.

kvm-network-interface-via-nat-ubuntu-20

I have started using VMs more and more in my development workflow and it’s impossible to work in a VM without an internet connection for me most of the time. Setting up the KVM networking is kind of confusing to me and I’ve done it two different ways. Here is how I set it up on my home desktop using NAT. Credit First thing’s first: credit to this post Commands There was a network already made by virt-manager but my VM couldn’t connect over it at all… These commands got me up and running without even turning the VM off I went full on for this just to make it easier - be careful Dump an existint network config # Edit it # I was unsure what the ip range should be so I just stuck with the original blog. The network had the CIDR block defined as which is different from my home network so I guess it’s fine? Define a network # Then to check… UUID # Magic # My VM, was running and immediately connected to the newly attached device! Credit again Visit the original post for more details - this se…

I got into a pickle where I encrypted the ssh keys I use for my SSH connections on LAN, but then I couldn’t run my ansible playbook on my server! ssh-keygen -p and leave the new passphrase blank saved my day (although password protected key files are safer!)

TL;DR - just reset it to nothing

ssh-keygen -p will let you reset the passphrase on your ssh keys (good for you! yay security!)

But I needed to remove the passphrase to quickly deploy an ansible playbook 🤓

see samba config on hogwarts