Posts

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.

Intel Turbo Boost and Linux

"Usual" places on Linux will show wrong CPU frequency for Intel Turbo Boost enabled CPUs. You can check actual frequency used with "i7z". It works with i3, i5 and i7 series processors.

Adding custom entries to Windows 7 start menu with Group PolicyPreferences

Been bit quiet lately. I might as well document another hack to entertain my very small audience. This time post is about how to add custom entries to Windows 7 start menu. Not under all programs, but directly to same level as other options such as Control Panel, My Computer etc.

Riki Sorsan veli

SMTP NAT with Sendmail

This post is closely related to my  previous  one. Big difference is that in this case company we bought had Lotus Notes based email system that had to be kept running concurrently with new common email platform for several months. Well, actually it is still running to some extent over 4 years later but that's another story.

Simple fetchmail config

Few hours ago you got called to meeting with your boss. You were told that company you're working for just bought another firm and everything needs to be integrated ASAP starting with unifying email addresses.

Reliable IP over multiple unrealiable IP links with Linux and Strongswan

Some time ago I wrote about how to make multiple unreliable Internet connections function like single reliable Internet connection. That was done using OpenVPN and some iptables trickery. This time we're going to do same without OpenVPN and without iptables.

Linux multipoint GRE tunneling

Here's another interesting little known feature of Linux kernel GRE support.

Layer 2 over Layer 3 using Linux built-in features

Often it's not necessary to encrypt traffic when tunneling L2 network over L3 in corporate environment. I hear, you say use OpenVPN, tinc, gvpe, n2n etc. Now, did you know that there's easy built-in solution that has been part of Linux kernel since 2.6.29? If you need encryption just use IPsec to protect GRE traffic.

Fixing broken VMware vSphere 5 VMDK disk image

These are kind of "last resort" fixes if all normal ways fail to resolve problem. No guarantees. Worked for me...

Planet WNAP-7300 (Zcomax ZCN-1523H-5) with OpenWrt r29664

It turned out to be just like I suspected , Planet WNAP-7300 (at least with firmware "2.0.3(PL)4") is exactly same device as Zcomax ZCN-1523H-5. Atheros AR7240 rev. 2 at 350MHz, Atheros AR9280 rev 2 5GHz radio, 32MB RAM, 8MB Flash and two 10/100 Ethernet ports. Therefore it works with Zcomax OpenWrt firmware. Bridge performance seems acceptable, around 70Mbit/s real world in bridged mode and 60Mbit/s if OpenWrt is doing NAT. With around 25 meters nearly line-of-sight performance is ~40Mbit/s. All tests uni-directional TCP (FTP/HTTP) with no other traffic than ICMP echo going on at the same time.

Using dy.fi dynamic DNS with OpenWrt

Didn't see this documented anywhere so here it is. How to use Finnish dy.fi dynamic DNS service with OpenWrt router.

Running Mac OSX Lion 10.7.2 with VMware Workstation 8.0.1 for Linux

Host system configuration: Intel Core2Duo 6300 w/VT CentOS 5.7 x64 VMware Workstation 8.0.1

Strongswan 4.6.2dr3 on Ubuntu 12.04 alpha 1

For some reason latest Strongswan version for Ubuntu is still 4.5.1. See below how to compile and package latest 4.6.2dr3. Not pretty, but works for me when testing new version.

Bridging networks with OpenWrt (r29611) using L2TPv3

As OpenWrt Wiki lacks this particular example (there's other L2TPv3 examples) I guess better I document it somewhere.

Unpacking Planet Tech. Corp. WNAP-7200 and WNAP-7300 wireless APfirmware

Instructions were tested with Ubuntu 11.04.

(Ab)using OpenVPN to make two unrealiable Internet connections act asone reliable connection (Success!)

Hi, I'm Troy McClure. You might remember me from such posts as Failure #1 and Failure #2 . Today I'm here to tell you about "OpenVPN inside OpenVPN".

(Ab)using OpenVPN to make two unrealiable Internet connections act asone reliable connection (Failure #2)

We mirror our hard disks, we mirror RAM on servers. Why not mirror network traffic as well? 

(Ab)using OpenVPN to make two unrealiable Internet connections act asone reliable connection (Failure #1)

Got packet loss? Got two or more connections? Got server somewhere to route packets thru?

Extroot on USB with OpenWrt

My notes on setting up extroot on USB memory stick with OpenWrt on TP-Link MR3220 v1.