Archive for the ‘OSS’ Category

Duplicity – Backup to the Cloud

Sunday, March 7th, 2010

Due to current events I started to think about options for a backup solution that would be able to cope with a complete disastrous loss of hardware. So, off-site storage was warranted.

What I came up with is a backup solution based on Duplicity and Amazon S3.

Storing personal data in the cloud may ring one or another alarm, but with Duplicity the data is safe from prying eyes as all backed up data is sent through GnuPG using public-key encryption before being transferred to Amazon’s data center. You should, however, make sure that one of the private keys used for encrypting the backup is locked away in a safe place, so you have it handy when it is time to perform a restore.

As far as storage costs are concerned, storing 50 GB of data in the AWS S3 cloud for a month costs around 6 EUR, which I personally consider quite competitive for redundant off-site data storage.

Naturally, one drawback remains: Bandwidth usage. It takes a while to load the first full backup into the cloud as the upstream of most DSL lines is rather limited. After that initial load has completed, however, Duplicity is capable of appending incremental backup sets to the existing backup data, so the incremental backups complete much faster.

P.S.: It may sound a little weird that I chose Amazon Web Services as a storage provider after my recent trouble with Amazon.de, but after some thorough market analysis AWS remained as the only feasible option.

Hash It! – Stop overloading your brain with passwords

Tuesday, January 5th, 2010

As a happy long-term user of the Password Hasher extension for Mozilla Firefox I got used to being able to use different secure passwords per web site without having to take the burden of remembering them all.

When I recently bought an Android-based smartphone I was missing most of that convenience while surfing the Internet from my smartphone as Password Hasher was not available natively on that platform.

Hash It!, an application for the Android platform I developed, is there to bridge this gap: It eases using unique passwords per web site without overloading your brain by generating site-specific passwords derived from a secret master key. It maintains compatibility with the Password Hasher Firefox extension.

Hash It! is free (as in speech) open source software released under the GPLv3 with the source code being available on GitHub.

Further details on how to download it to your mobile phone are available at: http://android.ginkel.com/

Enjoy!

Transferring Text Messages (SMS) from Nokia to Android

Friday, December 25th, 2009

Around a month ago I replaced my old Nokia 6300 cell phone with the Android-based Motorola Milestone (aka. Motorola Droid). While I could easily transfer all contacts by adding them to my GMail contacts list the text messages (aka. SMS) were stuck on the old phone without any official way to transfer them to the Milestone. Fortunately, there is a solution using Gammu, some Perl scripting and the Android SMS Backup & Restore application. (more…)

Running Asterisk on a FRITZ!Box 7270

Sunday, December 20th, 2009

Around a week ago I started experimenting with running Asterisk on my FRITZ!Box 7270 to replace my DECT phone, which has been getting a bit long in the tooth, with a SIP client running on my new Motorola Milestone cell phone so that when I am at home and my cell phone is signed in to my WLAN I can use it as a mobile handset for calls arriving on my landline.

As it turned out it is a little bit tricky to get Asterisk to compile for the FRITZ!Box, so this posting is supposed to summarize the steps I had to take and also comes with a neat helper script, which should automate most of the required preparation and compilation steps.
(more…)

Ext4 Performance Improvements

Tuesday, November 24th, 2009

In order to speed up the general performance of my personal computer I put an Intel X25-M SSD into it some time ago and made sure that most binaries that are needed to start up Linux are loaded from the SSD. I could not go without a conventional hard disk, though, because the storage capacity of typical SSDs (or the budget that I am willing to spend) is still too limited. While boot times already improved dramatically after adding the SSD, mounting the file systems located on my conventional hard disk was still limiting the overall speed of the boot process.

That was when I read about the performance improvements introduced by the ext4 file system. (more…)

Sparse File Support for rsync

Tuesday, November 24th, 2009

From time to time one needs to migrate large amounts of data from one file system to another, such as when migrating to a new hard disk, setting up a RAID array or migrating a file system from ext3 to ext4. Each time this happens I find myself googling for the exact rsync command to do the sync operation and each time the command line parameters mentioned in most search results neglect the existence of sparse files. So, mostly as a note to myself, here is the rsync command line I tend to use when replicating data to a new file system (including sparse file support):

rsync -aqxPS source destination

Using Valgrind to Profile KDE Plasmoids

Sunday, November 1st, 2009

During the past days I prepared my KDE Weather Ion for wetter.com for inclusion in the KDE Trunk. Before entering the review phase, the KDE people are asking for a memory leak analysis of the new code using Valgrind. That’s easier said than done as I could not really find some documentation on how to run a Plasmoid (along with its data sources) through Valgrind…

After a little bit of googling I finally figured out how to do this and would like to use this post to document my findings.

Well, the key to the solution lies in a neat tool called plasmoidviewer, which can be used to run a Plasmoid as a standalone application. From that point on, things get easy: Just run Valgrind on plasmoidviewer along with the desired Plasmoid and you are done, such as in (this example will run the leak check on the Weather Plasmoid):

valgrind --tool=memcheck --leak-check=full plasmoidviewer weather

Answers

Wednesday, October 21st, 2009

A picture is worth a thousand words ;-)

Google Reader Screenshot

More answers than I had expected…

Firefox 3.5 on Ubuntu

Sunday, July 5th, 2009

Being both a Firefox and (K)ubuntu user I was awaiting the Firefox 3.5 release last week only to find out that a branded Firefox 3.5 release will not be made available for Jaunty Jackalope (Ubuntu 9.04), but only for its successor release, Karmic Koala.

Instead, there are various “Shiretoko Browser” incarnations available for Jaunty, the artwork of which I do not consider very appealing.

Still, I wanted to use Firefox 3.5 due to the speed improvements it offers compared to its predecessor.

Well, Firefox is free open source software, so all I had to was to fetch its source code from the Ubuntu Mozilla Security Team PPA and change the branding. The result is available in yet another PPA I created. Detailed installation instructions are available on the PPA page.

The Answer Has Arrived: KDE 4.2 Has Been Released

Thursday, January 29th, 2009

The (at least by me) long-awaited KDE 4.2 release has hit the road! What can I say: It’s beautiful and now contains most of the features that one wanted from a modern desktop environment that were still missing in KDE 4.1. I think I will write a more-detailed article about KDE 4.2 in a couple of days and so will concentrate today on a feature that many people were missing in previous 4.x releases: Icons on the desktop. Yes, there were some workarounds in 4.1.x like placing a large folder view plasmoid on the desktop, but nobody really liked it. In 4.2 the whole desktop becomes a large folder view at the user’s command just as one is used to from KDE 3.5 or Windows. To activate it, just right click on the new shiny desktop and select Appearance Settings from the context menu. Select “Folder View” from the “Type” drop-down and you are done.
Folder View Selection