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!
Posts tagged: homelab
All posts with the tag "homelab"
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
kvm-network-interface-via-nat-ubuntu-20
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