Posts

Quick and dirty OpenVPN bridge configuration

Quick and dirty configuration to bridge two ethernet segments using OpenVPN. With this setup you need two ethernet interfaces per host or alternatively one ethernet and wireless access to Internet.

Restoring full capacity of SATA disk on Linux with hdparm

For some reason some of my 2TB Hitachi SATA disks report 2000000000000 bytes instead of 2000396697600 2TB disk from all other manufacturer do. Even some Hitachi’s show 2000396697600 bytes.

Converting Ubuntu Linux with GPT system disk back to MBR

GPT and EFI. Worst. Idea. Ever. At least with WTF-8 aka UTF-8 your system boots while looking funny, but with GPT all you get is black screen with blinking cursor at best. Sometimes even your cursor is taken away.

Handbrake auto-crop and channel logos

Updated:  http://blog.asiantuntijakaveri.fi/2013/04/handbrake-auto-crop-and-channel-logos.html

HP Compaq 8200 Elite SFF won't boot from USB drive

After spending way too much time trying to figure out why new HP's can't boot from USB I finally spotted  this .

Tracking execution of Perl program

Install Devel::Trace (libdevel-trace-perl in Ubuntu) and launch your program using "perl -d:Trace ./xx.pl" like syntax. This gives you tracing similar to "set -x" on shell scripts.

Manually adding tracker to torrent with rtorrent 0.9.2

Until recently rtorrent didn't support adding new trackers to torrent except by editing actual .torrent. Either manually, with some tool or via online service such as http://www.torrenteditor.com. Recently support to add trackers on the fly to active torrent was added, but documentation seems to be little thin.