published by Christian Seiler on Fri, 04/21/2017 - 18:51
Programming serial ports on Linux (and other POSIX-compatible systems) can be tricky, because a lot of legacy is involved here. As a general resource, Michael R. Sweet's Serial Programming Guide for POSIX Operating Systems is an invaluable resource. What I found out the hard way is that one actually needs to carefully look at all available flags, otherwise legacy settings can come back to haunt you.
published by Christian Seiler on Tue, 06/30/2015 - 21:25
Network hardaware failures often cause unnecessary downtimes of important services. This article describes a configuration that provides servers with redundancy, so that if a single switch, network cable or network adapter fails, the server remains reachable.
published by Christian Seiler on Sun, 06/28/2015 - 19:40
This article describes how to setup a headless machine that contains encrypted partitions where the administrator can log in via SSH after boot, enter the decryption password and then continue to start the remaining services. It assumes Debian Jessie and systemd as the init system.
published by Christian Seiler on Sat, 04/11/2015 - 16:36
published by Christian Seiler on Sat, 04/11/2015 - 14:44
Containers can be an alternative to virtualization in some cases. They require less resources (because the host's resources are reused) and are typically faster than virtual machines. Also, some things cannot be done as easily with virtualization. However, they do not provide the same security guarantees.
published by Christian Seiler on Sat, 02/21/2015 - 12:31
A solution for using bind mounts with options (such as read-only) in /etc/fstab
on systemd systems is presented. By installing an additional systemd generator, bind-mounts in /etc/fstab
will now respect additional options specified there. This is fully dynamic and the only configuration happens in /etc/fstab
.