Linux / Unix

Proxmox, LXC, and Debian Trixie

3 minute read

I run Proxmox Virtual Environment as my virtualisation platform. On top of this I use virtual machines using KVM and Linux Containers using LXC - both of which are natively supported on ProxmoxVE.

Code storage

1 minute read

Code, and where to store it

VPS Proxmox Love

6 minute read

Where I (re?)discovered Proxmox for LXC hosting on a VPS

Domains and DNS

3 minute read

It’s always a DNS problem, even when it isn’t.

Turning a Youtube channel into a podcast

1 minute read

I frequently listen to Off The Hook, a hacker radio show which airs on WBAI in the greater New York region. As I’m in a different continent, listening live is not practical ;)

Jottacloud - an update

1 minute read

So a while ago (four months) I migrated from Hetzner to Jotta - it’s been smooth sailing until last month, when I got a bunch of errors thrown at me.

Moving ZFS to a Dell Perc H310 HBA

1 minute read

A friend of mine gave me a Dell Perc H310 HBA nearly half a year ago which was flashed to IT-mode, which basically removes all the fancy RAID functionality from the card and turns it into a dumb HBA, just showing all the disks to the operating system. A good guide to flashing Dell Perc cards can be found on https://fohdeesha.com/docs/perc.html.

Moving from Hetzner Storageboxes to Jottacloud

less than 1 minute read

A year ago I migrated from Backblaze B2 to Hetzner Storageboxes. That worked fine, but passing over the 5TB border made my offsite storage rather expensive (again). So another round of investigations was called upon.

Switching to Traefik and step-ca (from nginx-proxy)

3 minute read

I’ve been using nginx-proxy as a reverse proxy for my docker containers for a few years, where I manually generate and inject the necessary SSL certificates to make stuff work. The certificates were generated on my Opnsense box. A bit tedious, but manageable.

SSH’ing to Unifi equipment with Fedora 37

1 minute read

Connecting to Unifi equipment (Switch 8/AP AC Pro) from Fedora37 fails out of the box with a very useful error Bad server host key: Invalid key length. This is because the dropbear used on these devices is woefully out of date, and still requires the use of ssh-rsa (with SHA1), which has been deprecated by OpenSSH in 2021,

Lenovo Thinkpad T14s Gen3 (AMD)

3 minute read

10 years ago I bought a Dell XPS13 L322x ultrabook as a replacement for my white Macbook 2,1. This week I replaced the Dell with something newer: a Lenovo Thinkpad T14s Gen3 (AMD).

Using Hetzner Storageboxes as backup targets for Restic/Rclone

2 minute read

For my offsite backup strategy I’m relying on rclone and restic. Rclone is being used to encrypt/copy backups taken by Proxmox Backup Server (which takes backups of the VM’s/Linux Containers running on Proxmox VE, deduplicates and compresses the data) to remote storage, while restic is used to do deduplication/encryption and copying of data stored on my NAS to remote storage.

Installing Displaylink drivers on Fedora 37

1 minute read

I have an Asus ZenScreen MB16AC which uses Displaylink as its display technology. On usb-c you can just plug this in and it’ll work, but on my ancient laptop I only have usb-a ports. The display does come with an USB-A to USB-C convertor - so let’s try ;)

Increasing Mastodon’s post size

less than 1 minute read

Mastodon comes with a default post size of 500 characters. This is not set in stone, and can be increased fairly easily (last tested on Mastodon 4.2.0):

Dark theme in Flatpak apps

less than 1 minute read

To get flatpak’s to honor your systems dark mode and not show you horrible white menubars, you can use this little snipplet:

Deploying a Mastodon server on Oracle Cloud

3 minute read

I’ve been meaning to test out Mastodon again for a while. It’s is best described as a federated version of the blue bird platform (Twitter), while not being Twitter. No ads, no algorithms.

Adding en_BE locale to Linux

less than 1 minute read

I live in Belgium, but I prefer english as my default locale. Using the en_US or en_GB locale brings problems of it’s own - not having the right system (metric) or wrong start of week day..

Automatically switching audio to HDMI on Linux

less than 1 minute read

One of the devices in the house has a micro-HDMI connecter which is used from time to time with our TV. Unfortunately Linux (pulseaudio) doesn’t switch automatically to the right audio, keeping the sound playing through the laptop speakers, instead of sending the audio across the HDMI link.

Understanding LXC user/group mapping

3 minute read

I’ve been moving some docker containers back from the VM I put them back to Linux Containers (LXC) because of I/O performance and cpu consumption reasons (caused by that I/O).

Using ZFS snapshots instead of BackupPC

2 minute read

One of the docker containers I’ve been using is the wonderful BackupPC for agentless backups. This thing works quite well, allowing me to backup laptops around the house without too much hassle. It’s a bit work to set it up properly, but it works and is fast.

Migrating Proxmox/ZFS from raidz1 to mirrors

4 minute read

The Proxmox box at my home is also being used as a NAS, with Samba and NFS doing the sharing. It had 4 WD Red 6TB PMR drives, in a raidz1 configuration, giving me a net capacity of 18TB (give or take a few).

Moving docker to a VM

1 minute read

In the original design of my Proxmox box I opted for running the docker containers straight on the host. For a lot of reasons, this is actually a Bad IdeaTM, and it’s been one of my goals to migrate these to a VM at some point.

Adding a SLOG to ZFS

2 minute read

I’ve noticed that quite a few of my VM workloads and NFS workloads are rather slow on my Proxmox box, due to the facts that it’s sitting on spinning rust (also known as hard disk drives) a lot of those are synchronous writes

Renaming volume groups on Debian

less than 1 minute read

I’m prepping a lot of stuff with cloud-init lately, and one step I always forget when installing my base OS is keeping the vg name clear of any hostname stuff.

Using JACK for lower-latency audio on Linux for piano practice

3 minute read

About a month and a bit in me learning the piano, I’ve had to rethink my remote piano learning setup. The latency was at points really annnoying (sometimes nearly a second) - it’s confusing when you hit a key and only hear it when you’re hitting the next key. So, time to look for a lower-latency setup.

Enter Proxmox and ZFS

6 minute read

Following up on my Exit Synology post, I’ve decided it’s time to move from a consumer grade NAS to something a bit more sturdy. I’ve also been running out of memory on the Synology NAS with all the things that I wanted to run on it… so time for something else.

Exit Synology

9 minute read

I have/had a Synology DS916+ NAS. This is an Intel based NAS with 4 disk bays, running on Synology’s Disk Station Manager - a nice piece of software that offers an easy way to manage the device, and run additional software on top of it.

Using WireGuard on Synology DiskStations

less than 1 minute read

I used to use Synology VPN on my NAS (in OpenVPN mode) as an entrypoint into my local network when I’m away from home. This worked fine, up to a few weeks ago - at that point I kept getting AUTH FAILED errors, even though nothing had changed.

Generating a Plex Auth Token using curl

less than 1 minute read

I recently started using Plex, and since I’m also using Home Assistant, and Home Assistant can do stuff with Plex, I wanted to combine the two.

EDID for ViewSonic Vx2025wm

2 minute read

I recently reinstalled Fedora on my desktop machine, which has (amongst others) a ViewSonic Vx2025wm screen connected to it. It’s an oldie, but still works (quite well). Unfortunately, Linux just complained that it didn’t get a proper EDID out of it, and refused to activate it - might also explain why Windows doesn’t recognise it as a PnP monitor - I guess the chip fried somewhere along the ...

Hibernate after suspend (on Fedora)

1 minute read

I recently found out that Windows has this nice feature where, after suspending your laptop, it’ll go to hibernate after a while to preserve battery. Seems like a really cool feature, saves your battery too, so I wanted it on my linux installation. I’m using Fedora 27 right now. To get it working, you’ll first need to verify that your suspend to ram and suspend to disk actually work. There are...

DIY ambilight with Hyperion and a Raspberry Pi

less than 1 minute read

I’ve always liked the Ambilight technology Philips builds into some of their TV’s. I just don’t like the price that they ask for it… so I looked around if there was no way to build that yourself. There is, using a Raspberry Pi, some leds, and some bits and pieces ;)

Why you should use Syncthing

less than 1 minute read

I’ve been a user of Dropbox for ages, I’ve tried Owncloud, I’ve tried Box, and probably numerous others that I’ve forgotten about, but in the past year I’ve migrated over to Syncthing, and I haven’t looked back. Opensource software, well designed protocol, complete ownership of your data, I could go on… but this post by gbolo explains it perfectly!

Using a Yubikey for account security

less than 1 minute read

I got a Yubikey 4 half a year ago (during Red Hat Summit 2016), but until now I didn’t do much with it. Time to change that ;)

Replacing Crashplan

2 minute read

I’ve been a longtime user of Crashplan, an easy-to-use cloud backup solution. It works well, and it used to work also on nearly any platform that had a java run-time and some add-on opensource libraries. I’ve used it for some time on my raspberry pi to automatically backup my data to the cloud. (Crashplan on ARM (the architecture of the raspberry pi) is an unsupported configuration though).

Running crashplan (headless) on a Raspberry pi 2

less than 1 minute read

In my grand scheme of “abuse all the low-power computing things!”, I’ve moved my crashplan backups over to the Raspberry Pi 2 (rpi2 for short). Installation is relatively painless: download the installer from the crashplan site, and unpack and execute. I installed mine under /opt/crashplan.

ASUS UX305UA and Linux

2 minute read

The ASUS UX305UA is an ultrabook with the Skylake microarchitecture - the (as of writing) latest iteration in Intel processors. Unfortunately, Skylake support on Linux wasn’t really a granted thing the time the device got released. Fortunately it’s gotten a lot better of late.

Replacing OS X with Linux on my Mac Mini 2,1

2 minute read

I still had an old Mac Mini (model 2,1) - which I bought during a period of experimentation with different operating systems -  connected to the TV, running Mac OS X Lion. Not Apple’s finest installment of OS X, truth be told.

Managing TP-Link easy smart switches from Linux

2 minute read

I’ve recently acquired some TP-Link ‘Easy Smart’ managed switches - cheap, decently built (metal casing), and a lot of features above the usual unmanaged stuff:

OpenWRT, Atheros & channel availability

less than 1 minute read

If you’re living outside the US, and you’re using OpenWRT (a fantastic 3rdparty opensource firmware for many routers), you might have noticed that not all the WiFi channels which are legally allowed in your region are actually available for you to choose from.

XPS13, Linux, suspend and Intel Rapid Start Technology

1 minute read

As an addendum to my previous post on how to install Debian Sid on the XPS13, I’ve been having issues with suspend - the laptop would sporadicaly not go to sleep properly on lid close, or it wouldn’t come out of suspend afterwards.

Dell XPS 13 and Debian Sid

6 minute read

I purchased a Dell XPS 13 Ultrabook, to replace my ageing Apple Macbook 2,1. After six years of daily use, it’s (over)due to retire.

Fixing the ACPI DSDT of an Acer Ferrari One 200

7 minute read

Last year I installed Debían on my mother in law’s network (an Acer Ferrari One 200). The thing ran fine, but gave some “firmware bug?” warnings. Since no new BIOS’ were available at that time, I left it at that.

Adobe AIR 2.6 and Debian Sid 64-bit

2 minute read

I wanted to get Adobe AIR to work on my 64-bit Debian Sid installation, to try out some other twitter clients, more specifically Saezuri. (On a side note: the offering of twitter clients on linux is … mediocre. Bad, even. The (imho) best one is Pino, but it has problems of it’s own).

Multiseat on Debian

5 minute read

Since I have a rather well-scaled desktop PC (nothing really fancy by today’s specs, but it’s underused as it is), and my gf sometimes wants to use it, and sometimes we both want to use it at the same time, I decided to turn it into a multiseat configuration.

VMWare Player 3 vs Linux 2.6.32

less than 1 minute read

I wanted to test some crap in VMWare, didn’t feel like messing with the entire server thing so went for the player. Unfortunately, this thing doesn’t work against the 2.6.32 kernel.

Using an Alcatel X200 under Linux

less than 1 minute read

I recently purchased an Alcatel Onetouch X200 3G USB modem, to be able to use internet on various locations where there is no wired or wifi available. Works fine under Windows/Mac OS X, bit more of a hassle under Linux.

Autoswitching network interfaces

2 minute read

Since I’m a lazy git, I want my laptop to automatically switch back & forth between my wired and wireless interfaces. Seems that stuff like Network Manager can do that for you, but it’s not really my thing. I don’t like stuff where you need a GUI to configure it, a duplicaton of network configuration, and it also tends to hang my machine. No idea why, though. After an afternoon of fiddling...

Linux on the Apple Macbook

less than 1 minute read

I was bored recently, and decided to install Linux on my Macbook. I opted for the distribution I like best - Debian (unstable/Sid).

VMWare server 2.0 with kernel 2.6.28

1 minute read

I just finished updating my machine to the latest Linux kernel, 2.6.28. All worked, except for VMWare Server (which was still at 1.0.8). Since 2.0 has been released, time for an upgrade!

Cadaver and proxy auth

less than 1 minute read

At work we regularly have to send over files to $vendor. $Vendor has two ways of accepting files: FTP, and Webdav (over https). Since our company’s policy is to not send things out unencrypted, we have to go the webdav way. It’s also the policy to send things over our internetproxy if possible.

Reading DRM'ed Adobe Ebooks on Linux

less than 1 minute read

Sade linked me to this nice ebook by Neil Gaiman, Neverwhere. Unfortunately, you need Adobe Digital Editions for it, which only exists for Windows and Mac. Since she’s a Linux user, that one didn’t really fly with her.

CoRD and xrdp

less than 1 minute read

I was trying to get xrdp running on my Linux box, so I could takeover the screen from the outside world. The rdp protocol is a (huge) bit more performant than VNC, which is why I wanted to use it.

Copying files and dirs with tar

1 minute read

If you want to copy a bunch of files from one spot to another, but preserve links/permissions/ownership/…, it’s usually a big hassle.

Funpidgin

less than 1 minute read

Thanks to a post on Frank Goosens’ blog I discovered FunPidgin! A fork of Pidgin, a multi-messenger client formerly known as Gaim.

Linux on my MacBook

less than 1 minute read

I’m currently trying to get Linux (Debian Sid) working on my MacBook… it’s installed, but still needs lots of tweaking.

Fixing your VMWare's guest clock

less than 1 minute read

If you’re using VMWare on a variable-speed processor (like all most modern cpu’s these days) you might have noticed that sometimes the guest OS runs a lot faster (causing the guest clock to run faster and all kinds of weird effects).

Vmware console on Debian Lenny

less than 1 minute read

I just installed VMWare server on my gf’s linux-laptop, but the server console didn’t want to start for some reason… Just came back to the command line, nothing happening.

Ubuntu LTS… not so very L?

less than 1 minute read

Ubuntu has these versions of it’s distribution they label LTS: Long Term Support. Now seems that if you use an LTS, and want to go to the next LTS… you’ll have the pleasure of either breaking your system, or reinstalling from scratch.

Vmware and Linux-2.6.22

less than 1 minute read

If you’re rolling your own kernels, and upgraded to 2.6.22, you might have bumped into a compilation issue:

Gallery-Remote

less than 1 minute read

I was trying to get GalleryRemote installed today on my Linux installation (because for obscure reasons, using the java applet in gallery directly crashes my browsers), which wouldn’t run. Attempting to run the installer gave obscure errors like: awk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared li...

Linux, distcc and Mac OS X

less than 1 minute read

If you’re like me, and have Fink installed on your Mac and compiling away all those wonderful unix applications, and you have a desktop nearby running linux (with more processor power being unused), you’ll want to setup distcc so you can harnass all that power.

Goodbye Microsoft!

less than 1 minute read

Now we have a very simple way for the Windows-people to turn to linux: A windows installer to install Debian ;)

Irssi scripts

1 minute read

I recently started using the wonderful textbased IRC client called Irssi. It’s console based, scriptable in Perl, fast, low memory footprint.. really nice for the average geek ;p

atvsync 0.1

less than 1 minute read

ATV Sync is a simple script that allows you to easily synchronise the premade ATV PalmOS databases to your PalmOS-powered handheld.

phpComics 0.4

less than 1 minute read

This is a collection of scripts that allow you to download complete archives of web-published comics.

TeleMon

1 minute read

teleMon is a script that you can use to monitor transfer rates. Originally it was written to keep track of the usage on the Telenet ISP Network, but now phptelemeter can be used for that.

htmlpop! 0.5

less than 1 minute read

This script allows you to download POP3 mailboxes over an HTTP interface. I wrote it to allow me to get my mail through the company’s http proxy server.