Geen artikel gevondenGeen artikel gevonden
Thinkpad T440s keyboard backlight
A while back I made a simple python script to get the keyboard backlight of the laptop to dynamically switch on and off. Normally you control the backlight with a key combination. But I prefer to only have backlight when I'm typing.
The newer version of the script uses the /sys kernel interface to change the backlight. The older version was quite a hack, poking around some bytes. You can still find it on github.
The newer version can be found on github as well:
I hope it is useful for someone :)
Wifi kerstboom code
Sinds de laatste post heb ik de kerstboom verbonden met de esp8266. Ik heb hiervoor een
Wemos D1 mini gebruikt, en erg fijn bord om mee te ontwikkelen.
Tijdens het bladeren door de Kwantum folder kwam ik een kleine, interessant en vooral
goedkope kerstboom tegen.
Proxmox 4.1 lxcfs
Since Proxmox 4.1 I've had a number of issue's on my servers.
The first (and smallest) issue has to do with my Thinlinc installations. The agent component can hang after running a specific cronjob. A "ps" process starts to hang. The only way to resolv this is to restart the zone. This behaviour seems to be related to the lxcfs package on version 0.13-pve3. Later versions seem to resolve this.
The second issue was much more of a problem. This manifests itself as a server with very high load (>12), lots of processes (normally 1400, now > 10.000) but otherwise responding fine. Everything that is running in the lxc containers seems to hang on IO. While checking the processlist further (before rebooting the server, as this seems the only way out), the output of pstree shows something intresting.
Proxmox 4 migration issues
With the introduction of Proxmox 4 a rather large change was introduced. The combination of KVM and OpenVZ was changed to KVM and LXC. The big upside of this is a recent kernel, changing up from 2.6.36 (released 2010) to 4.2 (currently).
But with the change from OpenVZ to LXC come some changes which make a migration less trivial (depending of the amount of features that are in use with OpenVZ).
The Proxmox Wiki has some good information on migrating from Proxmox 3 to Proxmox 4. I have a couple of issue's I ran into during a couple of migrations that I will share here. Maybe it is of use to someone else. Keep in mind I only run Debian containers, so other distributions might have other issue's.
When running a larger amount of containers, it is quite possible you're going to run out of inotify instances. Default this is set to 128 (at least it was on my system). After the first migration I started to get into issues after restoring a couple of containers. The errors pointed to this setting. After increasing the value the problems went away:
Thinlinc reverse proxy
I ran into this program a while ago when I wanted to run the HTML5 ThinLinc client behind a reverse proxy. The HTML5 client has a number of references in it (and a redirect) that refers to the root of the webserver. So serving the client from a url like
just doesn't work.
But we have nginx and with some pointers from the excellent people at Cendio I got it working :)
To make the setup a little bit more clear, I wanted to do this:
Veeam Jaguar fix
The other day there arrived a package for me at work from Veeam. Having ordered nothing and having to do nothing to do with VMWare I was confused.
Unpacking the parcel showed a Jaguar remote controlled car with the Veeam logo on its roof.
Beveiliging banken websites
Toen ik vanmorgen een transactie uitvoerde via mijn bank (ASNBank) zag ik dat deze netjes een score van 10 aangaf in ssleuth. Deze add-on is overigens erg handig om een idee te krijgen of de verbinding tussen je webbrowser en de webserver van het website een beetje veilig is. Uiteraard zegt dit niets over de veiligheid van de applicatie bij de bank.
Ik vroeg me daarna af hoe de websites van de verschilende banken zich verhouden, zetten ze allemaal een veilige verbinding op met de webbrowser?
Ik heb de volgende banken even snel gescanned: