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 …

Read More

Compiling LineageOS on Linux - quick 'n' dirty

This is a quick summary on how to compile an existing LineageOS tree on Linux. LineageOS is one of the bigger Android distributions out there, so I'll provide instructions based on their tree, although most projects handle a very similar workflow, often being based on AOSP. LineageOS offers multiple features …

Read More

Page 1 / 5 »