A long time ago I discovered screen. It made it possible to start applications in Linux and then disconnecting the SSH session, without stopping the applications. It was magic: otherwise the the applications just terminated if the SSH connection was lost. Then I heard about tmux. It was like screen on steroids! I could split […]
Category: Uncategorized
Configuring SNMP Trap Receiver for Zabbix on Debian
In order to handle SNMP traps in Zabbix you need to configure your server to receive the traps. Here are the steps, tested with Zabbix 5.4 on Debian Linux 10 (Buster), assuming Zabbix server has already been installed from the official repository: (Note: Long commands and paths below can appear split incorrectly, so be careful […]
Lenovo ThinkBook 13s Fan Problems
Note: This is a post that will hopefully be updated when more information is available. Currently my opinion is: don’t buy this model. Update on 8th of July 2020: No changes, no updates issued by Lenovo, still problems with the fan and the power settings. For example, setting the fan settings manually in Lenovo Vantage […]
Configuring MariaDB Replication
This is a plain list of actions I did when creating a MariaDB database master-slave replication setup. It is assumed that you already know why you want to create such a configuration and how you can use it in your case. Some links anyway: Global Transaction ID (mariadb.com): “[…] it is generally recommended to use […]
NetBox Database Backup
A short memo how to backup any PostgreSQL database: In .pgpass (you should keep this file protected): netbox-db-backup.sh: That will also find and delete backup files older than MAXDAYS.
The Bugs in iPadOS 13.2.2
These are currently the most annoying bugs in iPadOS 13.2.2. The device here is iPad Pro 12.9″ (2nd gen). The Screen Rotation Does Not Work Seamlessly That is an example what frequently happens. This time the quick start bar (whatever is the correct term) did not rotate even though the icons and the background image […]
PuTTY Settings in 2019 – Now in Multicolor!
I’ve “always” used PuTTY as my SSH client on Windows. And now, in 2019, I realized that there really are some settings in PuTTY that can make a difference! Here is my earlier normal view: Bash prompt and the colors looked like this: Not very modern, right? After some adjustments, here they are now: For […]
Oneshot Service in Linux Systemd
My trusty old VDR box started behaving erratically: sometimes the IR remote didn’t do anything. Rebooting the whole box usually helped, but not always. Eventually I was able to narrow the problem down: for some reason the LIRC serial driver did not correctly detect the IR receiver in the serial port at the boot. I […]
Identifying Raspberry Pi
How to identify your Raspberry Pi, maybe built in a nice and sealed box? Here is how: $ cat /sys/firmware/devicetree/base/model;echo Raspberry Pi Model B Rev 2 $ $ cat /sys/firmware/devicetree/base/model;echo Raspberry Pi 3 Model B Rev 1.2 $ $ cat /sys/firmware/devicetree/base/model;echo Raspberry Pi 3 Model B Plus Rev 1.3 $
The Issues with Lenovo ThinkPad X1 Carbon 6th Gen
I have been a ThinkPad user since 2007. The first one was Z61p I think, and after that I’ve had (either my own or employer-provided) T61, T420, T430s, T540p, X1 Carbon 4th gen and now X1 Carbon 6th gen (or X1C6, as they call it in some forums). In T540p the big disappointment was the […]