štvrtok 29. novembra 2012

Munin and Dreambox DM500HD

I bought DM500HD a few months ago.  Since it's always on, I intended to install munin monitoring on it.  The problem is it does not have Perl bundled.
First I wanted to install Perl (I even tried to install mipsel packages from Debian and it kind of worked), but then I found muninlite which perfectly fit my need.
I developed 2 new plugins to monitor its temperature and fan speed.

nedeľa 1. júla 2012

Upgrade to 12.04

I just upgraded my htpc to Ubuntu 12.04. The upgrade was done via ssh, no problems at all.
The problem is xbmc, as usual after an upgrade. My custom keys mapping I described here stopped working. And the auto-hibernate stopped working as well. Currently investigating.

EDIT:  suspend fixed following instructions here
keys fixed using instructions here

streda 6. júna 2012

History in sqlplus

Use rlwrap sqlplus. Credit goes to this blog post.

utorok 25. októbra 2011

ID3 v2.4 tags

It all started when I found out my xmms2 did not read ID3 tags of some of my files properly. I use kid3 to create and modify the ID3 tags of my music collection and it was reading them all OK, so I started investigating. The first clue was this bug in id3v2 which did not read the ID3 tags as well, so I recompiled the latest sources but still no cigar. I learned id3v2 is using id3lib to parse tags and I found this bug. So I changed the ID3V2_LATEST = ID3V2_3_0 to ID3V2_LATEST = ID3V2_4_0 and it all started working. The question is why is this not enabled by default.

pondelok 1. augusta 2011

Machine Cycle: SSH and DBUS Sessions

Machine Cycle: SSH and DBUS Sessions

Get rid of w00tw00t

Ever since I installed Apache on my server, I noticed annoying w00tw00t requests in the access log. At first I created fail2ban rule to block the IPs that originated the requests, but of course this is quite useless, since the requests come from different IPs and only repeat from the same IP after a few days.
So I found out the best solution to be blocking it at iptables level.