Update infineon TPM 1.2 to TPM 2.0 from linux

Introduction If you, like me have a linux only environment running on your system, you will run into upgrade issues once in a while. I recently found that I wanted to use the tpm chip on my laptop, a HP Probook 440 G3, to decrypt my luks partition in an automated way. And knowing that things will benefit me, from using the latest standard, it found that I should upgrade my tpm chip from 1....

<span title='2019-09-02 08:58:02 +1000 +1000'>September 2, 2019</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;514 words&nbsp;·&nbsp;Me

Handling Ubuntu Mono in Urxvt

When working with urxvt the ‘default’ way of working with the powerline font’s does not appear to be working. The work around is, installing a patched version of the font in your local home directory. This can be done using the following lines of code: cmd=$(pwd) tmp=$(mktemp -d) cd ${tmp} wget https://github.com/powerline/fonts/archive/master.zip unzip master.zip mv fonts-master/* ~/.local/share/fonts/ cd ${cmd} rm -r ${tmp} fc-cache -vf ~/.local/share/fonts And now, use the following line in your ~/....

<span title='2019-05-23 16:45:49 +1000 +1000'>May 23, 2019</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;80 words&nbsp;·&nbsp;Me

lxhotkey when using ssdm for login

Recently I switched DE (desktop environment) from Plasma to lxqt. The change itself is quite simple, it basically means executing: sudo apt install lubuntu-desktop Once the installation is complete, only an desktop environment is giving that is really limited in the way it is setup. The most annoyn thing for me was the fact that my keyboard sound (volume) buttons did not work. So I started looking on the internet what might be the cause for this....

<span title='2019-05-13 09:53:36 +1000 +1000'>May 13, 2019</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;159 words&nbsp;·&nbsp;Me

Orange PI Zero

Recently I got one of those tiny computers for some home projects. After some research in what’s available I decided to go for one of those Orange pi zero devices. The main reason to go for this one, is that is comes with build in wifi and a reasonable amount of memory for my intention, has a faster chip than the raspberry pi and a better price tag. The ordering was straight forward via ebay, as there are no resellers in Australia....

<span title='2019-05-08 21:31:35 +1000 +1000'>May 8, 2019</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;260 words&nbsp;·&nbsp;wouter

Adding java to an debian based distrubition using puppet

During some experiments I wanted to check if it is possible to install java, using puppet. This turned out to be quite simple. All that was needed where 2 simple scripts. The first shell script simply installs the puppet and a depended puppet module. #!/bin/sh sudo apt-get install puppet sudo puppet module install puppetlabs/apt sudo puppet apply java.puppet The second file (called java.puppet) should be placed in the same directory and will update apt, accept the java license and install java7, and make it the default java version....

<span title='2014-01-21 21:55:00 +0000 UTC'>January 21, 2014</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;152 words&nbsp;·&nbsp;wouter

Adding cacert.org root certificates to javakeystore (on non windows systems)

As an active user of cacert.org certificates I found that it can be quite cumbersome to have to repeat the adding of these certificates to the list of default trusted certificates in Java. Especially since this procedure has to be repeated every java update. To easy this burden I wrote a small script which I want to share with everyone. The script assumes that java is installed (somewhere) in the /usr directory and that the keytool command is in the active path....

<span title='2014-01-16 15:14:00 +0000 UTC'>January 16, 2014</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;300 words&nbsp;·&nbsp;wouter

Dealing with postgres corruption

It can happen that a postgres backup using pg_dump (or pg_dumpall) fails with a message like: pg_dump: schema with OID 849375 does not exist This can once in a while when data is not flushed properly between the transaction logs and the filesystem. The only way to solve them (after making a file level backup, for the just in case situations) is to search and delete the offending OID from the database....

<span title='2013-10-05 19:40:00 +0000 UTC'>October 5, 2013</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;177 words&nbsp;·&nbsp;wouter

Samba as DC with LDAP authentication and one annoying error

Recently I changed a Samba installation from using the ‘classic’ file based backend to a newer ldap based backend, in a production environment. Following one of the many guides in the internet helped a lot, for this task I used most information from: https://help.ubuntu.com/community/LDAPClientAuthentication & http://raerek.blogspot.hu/2012/05/samba-pdc-on-ubuntu-1204-using-ldap_28.html The biggest problem I faced was that one error showed up during domain login from a terminalserver which prevented roaming profiles to work. The error was:...

<span title='2013-07-29 07:45:00 +0000 UTC'>July 29, 2013</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;173 words&nbsp;·&nbsp;wouter

SVN post-commit hook for jenkins

Assume that you have a svn repository with branches, tags and trunk and you only want to run your jenkins-ci runs on the trunk repository. In that case you want te be sure that commits to branches / tags do not trigger a testrun, so the commit hook needs to take care of that. Below is an (yet untested) version of an commit hook that should take care of that. It will only trigger jenkins in the case of commits to a trunk subdirectory of a svn repo....

<span title='2012-10-17 18:02:00 +0000 UTC'>October 17, 2012</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;154 words&nbsp;·&nbsp;wouter

Jenkins-ci and python

On the internet it is easy to find several references on how to use Jenkins-ci in combination with python. But most of the blogs that you can find depend on an ‘older’ module called SetEnv. This module does not exists anymore. But the bright side of this all is, that there is a new module that can be used with the name ShiningPanda Plugin This plugin does allow you to make a virtualenv environment to install the dependent modules is e....

<span title='2012-10-09 19:03:00 +0000 UTC'>October 9, 2012</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;214 words&nbsp;·&nbsp;wouter