Every time I have either forgotten to forward a port over SSH, or needed to SSH into another machine first so I could find out what IP and port I needed to forward to, I have closed the SSH session and started a new one with the correct -L or -R option. After all these years I just found out tha...

Mosquitto is an MQTT message broker which has an official docker image. You probably have devices which can publish messages using MQTT (like your electricity smart meter), and want to subscribe to those messages for graphing it using something like telegraf and grafana. The mosquitto_passwd too...

With LogMeIn Central putting up their prices all the time, I finally switched to ConnectWise Control. ConnectWise has been good but I decided that I would like to try and come up with my own solution for when they decide to also put up their prices. I had been playing around with SSH tunnels and VNC...

So you have created a config file to connect your mobile to your wireguard VPN which looks something like

test.conf

[Interface]
Address = 10.10.0.2/24
PrivateKey = QB+xJziH9NNd0kcf/M7pCW34hdhfjdhOlZA48LBE0=
DNS = 8.8.8.8

# server
[Peer]
PublicKey = TY08u8fu98euf89ssxKTHw4K2GWBThIVvbyuFPPks=
All...

When making a backup of your virtual machine images, you need to make sure that the data in the VM disk image isn't changing while you are doing the backup. Otherwise you might end up with a useless corrupted backup image.
First of all make sure you have the qemu guest agent qemu-ga installed in...

I have a USB Bluetooth adapter on my PC which works fine, apart from after my PC is woken up from sleep or suspend - and then my Bluetooth is turned off untill I manually turn it back on again. There are plenty of fixes on google which involve setting kernel command line parameters, or module parame...

Update: It looks like youtube-dl is getting maintained again, See the message on github. So this script is hopefully going to have something to download again soon :) My yt-dlp script didn't always seem to work right.

There is a SlackBuild available for youtube-dl at https://slackbuilds.or...

I got a new monitor, and got a new cheap LED strip to stick behind it. This one though isn't the same as my old Triones / HappyLighting one and identifies itself as ELK-BLEDOM and the app is called duoCo Strip. I did find a project on github which provides some commands that can be sent to con...

Why do we need to keep accepting cookies (almost) every time we visit a website. It is the law that any website must get the users permission before storing a cookie in their browser, but most implementations seem to be broken and you end up getting asked to allow it every single time you visit the...

Update: It looks like Google have now removed the wifi and cell options completely with the November 2021 security update

With the release of Android 12, Google has decided that we don't need a separate Mobile Data and Wi-Fi toggle in the quick settings pull down menu. They have instead combin...

After upgrading my raspberry pi to use LibreELEC 10 or 11 I no longer got anything displayed on my TV when I started up the system. I found that the reason was because the HDMI output is disabled by default unless the TV is fully on (not just in standby). I remember playing around with some config.t...

It's one of those things I need to do fairly often when a user (or me) needs a new database for whatever they are playing with at the moment. That piece of software also needs its own username to access the database, just to make sure it doesn't have access to any of the other databases that it shou...

Sometimes I need to get a copy of a file from one of the machines in the office. I can use scp to copy from a Linux machine, but for Windows PCs my remote access software doesn't allow me to do file transfers without first taking control of the users PC. I can however run commands on the Windows c...

One thing that has always annoyed me in Slackware is that /tmp never gets automatically cleared so I end up with with lots of space wasted in there. Especially after building lots of SlackBuilds and filling up /tmp/SBo :). I sometimes looked in there to clean it up manually and hope I don't delete s...

I have the Steam app installed on my phone only because I need it for the steamguard OTP codes. I thought that was the only way to get the codes but I have now found steamguard-cli. This not only gives you a command line program to generate the mobile authenticator code so you don't need to get yo...

Debian 11 has been released so it's time to upgrade. I only have postfix and a web server running on my server so it was pretty easy to make the switch from buster to bullseye. First edit /etc/apt/sources.list and replace the word buster with bullseye. That includes changing buster-updates t...