Override systemd unit files

Sometimes you may want to change one or a few values in a existing systemd unit or timer file, that has been installed by the package manager of your Linux distribution. Here is how. Finding the right place The systemd files that come with the software packages, usually get installed in a path like /usr/lib/systemd/system/…

Manjaro with systemd-boot (sd-boot)

This article describes how to remove the grub boot manager and use systemd-boot as boot loader/manager on an (U)EFI system with Manjaro being the only operating system installed. Usually, the ArchWiki is a very good source of information, when it comes to Linux in general and Manjaro in particular, since it is based on Arch….

Creating Named Devices Using udev

Many devices use USB to serial bridge ICs like the FT232, CH340 or CP2102. Not only micro-controller developer boards like the Arduino, but 3D printers or RC remotes and some flight controllers as well. Some µCs have even integrated USB interfaces and don’t need these chips at all. All these devices use a serial interface…

OctoPrint on Ubuntu, using Python 3 and systemd

Most OctoPrint installations out there, will, most likely, run with an ready baked OctoPi image file for the Raspberry Pi. This is obviously the most straight forward approach to get OctoPrint up and running. Still, there are good reasons to run it on a regular machine. You may already run a home server or other…

Multiple OctoPrint Instances using systemd

Note, that there is a newer version of this article available. This is a “work in progress”, which I have tested for a few months. It workes fine, but there could be issues not yet found. Especially when installing or removing additional Python packages. This article is based on my other article about setting up…

OctoPrint on Ubuntu with systemd

Note, that there is a newer version of this article available. Most OctoPrint installations out there, will, most likely, run with an ready baked OctoPi image file for the Raspberry Pi. This is obviously the most straight forward approach to get OctoPrint up and running. Still, there are good reasons to run it on a…

Sonoff S26 EEPROM Upgrade

The Sonoff S26 WiFi-Plug/Switch uses a ESP8266 micro-controller and 1 MB of memory for its firmware. It is possible to replace the default EEPROM IC with a bigger one. This comes in handy, when using Tasmota and OTA-upgrades, since the upgrade needs to be locally stored, before it can be installed. The 32 Mbit (4…

1000 oder 1024: (SI-)Präfixe für die Einheit Byte

Warum ist das eigentlich nicht so einfach wie bei Gramm und Kilogramm? Früher oder später wird man mit der Tatsache konfrontiert, dass es bei der Angabe von Bytes nicht so einfach zugeht, wie bei anderen Maßeinheiten. Insbesondere bei großen Datenträgern wundert sich der eine oder andere, warum die Angaben des Betriebssystem auf den ersten Blick…

Self-signed SSL certificates

This article describes, how to use OpenSSL to create a self-signed certificate authority and sign certificates with it.

avr-gcc/avr-libc Tutorial

avr-libc is the standard library for AVR micro-controllers. It already contains many functions and header files that are optimised for the target platform.