ZFS send/receive as a regular user

In some scenarios, you'd rather not have some operations run with elevated privileges. ZFS send/receive typically requires root privileges, but you can grant the necessary privileges to regular, unprivileged users through zfs allow (see the man page).

Sender privileges

The privilege set for the sending user is rather limited …

Read More

WireGuard in a separate Linux network namespace

This posts covers the implementation of an isolated WireGuard instance through the use of Linux network namespaces. The Linux kernel supports network namespaces more or less fully since kernel 2.6.29. They allow you to isolate network system resources - a separate network stack running independently from (and next to …

Read More

Dell XPS 13 battery charge treshold on Linux

Just like with any battery powered device (a Tesla, or your smartphone), it's the last stretch to a 100% full charge that taxes the battery the most. You might have noticed charging on modern smartphones and laptops goes pretty fast, until you start hitting the upper percentiles (80%, 90%) - then …

Read More

Keychain, GNOME Keyring and ssh-agent interaction on Wayland

I let Gnome Keyring handle my SSH and GPG keys; so far this has worked just fine and it hasn't gotten in the way. However, recently I switched to Wayland and I noticed Keychain wasn't picking up the SSH agent anymore, so my scripts relying on the cached SSH keys …

Read More

Setting up WireGuard on OpenWrt

WireGuard is a modern VPN solution that has been getting a lot of attention recently, even earning accolades from Linus Torvalds himself. The developer's website states the following about WireGuard:

[...] an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and …

Read More

Emulating hdparm's standby timeout functionality

Somewhere between the last few weeks and my home server's upgrade to Debian Buster (pre-release), hdparm stopped putting the disks into standby. I had hdparm configured to put the server's disks to sleep after 10 minutes (which in hdparm speak translates to spindown_time 120). That used to work fine, until …

Read More

Page 1 / 6 »