Gimp 2.8 Resynthesizer Plugin Ubuntu 18.

Seems like this plugin changes the rules ever so often. This is what worked for me today.  Remove old plugins from ~/.gimp2.8/plug-ins/ Get the latest code from https://github.com/bootchk/resynthesizer.git git clone https://github.com/bootchk/resynthesizer.git Install dependencies and compile code. ./configure doesn't work as suggested, so I just ran the .autogen script, which did.  sudo apt install libglib2.0-dev libgimp2.0-dev automake intltool./autogen.sh makesudo … Read more

Upgrading vnstat to 2.0 on Ubuntu

I discovered that vnstat had had a major release when I was trying to run some commands listed in the online man page, and they weren't working. Turns out version 2 came out last month, and I was still on the old Ubuntu version 1.14 from erm … 3 years ago. The new version uses … Read more

Letsencrypt Wildcard Certificates, with acme.sh client

Took me a bit of time to figure this out, so I thought I'd make it public. Letsencrypt announced their new wildcard certs, and because I have to add the SSL cert to a load balancer covering many subdomains, I needed to make use of it.

First thing to note is that not all clients support the new v2 API which is required for wildcard certs. I looked at the list of v2 supporting clients on the Letsencrypt site, and chose the acme.sh bash script. Not sure if I'm going to stick with it at this point but it got me going.

First thing you need to do is to run it with the –issue flag. You'll need to run it with DNS authentication, as that's the supported method for wildcard certs. You'll also need to run it with both the root domain AND the wildcard.

Read more

Realtek SD card reader problems on Ubuntu Mint 16.04 on a Dell Inspiron 3421

Pretty specific huh? Well the thing is I have the exact same card reader, OS,  version on one Lenovo laptop. The SD card works on the Lenovo, but not on the Dell Inspiron 3421.

The error it made on the Dell was the following in /var/log/syslog

Feb 14 08:30:46 raspberry kernel: [ 216.319736] mmc0: error -22 whilst initialising SD card
Feb 14 08:30:48 raspberry kernel: [ 219.151052] mmc0: tuning execution failed: -22

Lots of googling down dead ends ensued. Here's a little more info about the device in question.

Read more

Switch from UFW and fail2ban to CSF

Having played with CSF for a while on one server, I've decided I like it more than UFW and fail2ban. It seems much better at blocking mail bruteforce attacks and SSH as a distributed attack. So anyway, here's a list of steps to achieve that, as much for my record as anything. The server is running Ubuntu 16.04, but these general steps should work anywhere. In addition the server I did it on is also running VestaCP, so there are a couple more steps for that.

Read more