Archive for the ‘Uncategorized’ Category

USB not detected in Ubuntu 18.04

Posted: January 22, 2019 in Uncategorized

After some updates after upgrading to Ubuntu 18.04 my Lenovo Thinkpad computer refused to detect USB drives. It first gave the impression that my USB stick was broken, but even all other sticks didn’t work. It even didn’t pop up in disks. When you run into this problem, you can do the following trick to mitigate this behaviour. I’ve got the idea from a post from 2004, but it works after a reboot:

echo -1 > cat /sys/module/usbcore/parameters/autosuspend


Ubuntu 17 uses resolved for DNS resolution. This does not always work very well with OpenVPN. When your DNS is not resolved correctly (always externally instead of internal addresses), try to use this fix here.

Update the line in /etc/nsswitch.conf:

`hosts: files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns myhostname`


`hosts: files mdns4_minimal [NOTFOUND=return] dns resolve [!UNAVAIL=return] myhostname`

This changes the order in which the calls are resolved.

When Ubuntu refuses to mount an encrypted harddisk, try the following on the command-line:  (just in case: modprobe dm-mod)

sudo vgchange -ay
sudo lvscan

Then mount the disk to somewhere:

sudo mount /dev/computer-name-vg/root x

Ubuntu 16.04 ships an OpenSSH version which does no longer support DSA keys out of the box. If you want to use DSA keys, you can add the following line to the SSH config file:

echo "PubkeyAcceptedKeyTypes +ssh-dss" >> /etc/ssh/ssh_config

GoCD and Docker

Posted: January 25, 2015 in Uncategorized

I’m currently working on a Docker-plugin for GoCD. You can find the project right here. Since GoCD 15 has a different plugin-api, I will release a new plugin soon.

If you want to override the language of the Glassfish 4 Server itself, you can add the following option to the JVM options of the domain:


You can add it to the domain.xml directly or you can open the admin console, go to the configuration pane, open the server-config, JVM-settings and then the JVM-option tab.

Moving on….

Posted: April 15, 2013 in Uncategorized

I am currently moving my old blog entries to this new blog. Some old posts will not be transferred because time and software also moved on. The old blog address will be abandoned and disappear in the near future.