The best cloud desktop solution for Linux is… Windows!?

I like using a remote desktop work/office environment for various reasons, travelling being on of them. This is also known as a cloud desktop. Thanks to the awesome Apache Guacamole remote desktop gateway software, I can access it everywhere, just by using a web browser (and an Internet connection). While I love Linux, it sucks …

Random delay for cron.daily, cron.weekly, cron.monthly

Wouldn’t it be nice if cron’s daily, weekly and monthly jobs could be run with a slight offset? At least that’s what I thought when 20+ servers were hitting my backup infrastructure at once. The scripts in /etc/cron.daily, /etc/cron.weekly and /etc/cron.monthly are triggered directly from crontab at fixed times. Here’s what /etc/crontab looks like in …

How to generate daily PowerDNS statistics reports

PowerDNS has been powering authoritative DNS lookups to this web site for quite a while now. It’s such a remarkableĀ piece of software. Here’s how to create a daily statistics report for PowerDNS. Put the lines below in /etc/cron.daily/powerdns-report: #!/bin/sh /usr/bin/curl -s localhost:8081 | mail -s “$(echo “PowerDNS Daily Report\nMIME-Version: 1.0\nContent-Type: text/html”)” root Make sure the …

Adding a DS3231 Real Time Clock to the Raspberry Pi 3

Since the Raspberry Pi 3 doesn’t come with a battery-powered real time clock, it will only show the correct time onceĀ it has Internet connectivity (thanks to the NTP daemon). If the Raspberry Pi 3 is not connected to the Internet, you might want to add a hardware clock to set the current date. Here’s how …

Query status information from Huawei’s HiLink 3G/LTE modems

While Huawei provides status information for its HiLink modems via a web page, this is hardly useful when using the modem on a headless Linux server. I just published a small Python-based command-line tool on Github which displays some useful information about the modem’s status. root@wopr~#: python ./hstatus.py Huawei E3372 LTE Modem (IMEI: 121032526613216) Hardware …