Kamil Figiela

CyanogenMod OpenVPN GUI – how to load keys&certs

In Android on 7 March 2010 at 21:19

There’s built-in OpenVPN GUI in CyanogenMod since v4.2.15 and it’s poorly documented. When adding new VPN connection you have to tell which key you want to use and you can’t load anything from files. After few minutes of googling I found solution. Probably you have user.crt, user.key and ca.crt files generated with OpenVPN’s easy-rsa scripts. You can’t use them directly, you have to bundle certs and key into PKCS12 file. You need simply to run the following:

openssl pkcs12 -export -in [PathToClientCert] -inkey [PathToClientKey] -certfile [PathToCACert] -name [FriendlyName] -out certs.p12

Remember to replace [PathTo...] with proper filenames. [FriendlyName] will be displayed in certificate select dialog on your phone.

After that, upload file to your SD card and go to the Settings › Security and location, and select Import from SDcard. Now you can setup your OpenVPN connection.

Advanced channel mixing on Mac

In Audio, Mac on 28 August 2009 at 23:40

The thing I missed the most after switching to Mac was foobar2000 media player and it’s Channel Mixer plugin. The DSP lets you upmix 2.0 to 5.1 via various methods e.g. creating surround channels or simply copying front to rear, mixing left and right to center and redirecting bass to LFE. What is more there there is also speaker delay management which allows you to keep sound you hear from 6 speakers in same phase – it really makes a difference.

As I switched to the MacBook and Mac OS X of course, I had stereo only audio as I my speaker set doesn’t have optical input. Recently I bought cheap 5.1 USB sound card which works well with Leopard 10.5.8. Unfortunately, there was still 2.0 audio from iTunes – until I combined power of JackOSX and AU Lab