Michal Čihař - Blog Archives for English

Wammu for Windows is reality

As you might have noted in Wammu 0.14 announcement, I made Wammu for Windows reality. At the end there is more support for that than I expected :-). All you need it to download full installer and everything will be done automatically including start menu entry.

Wammu on Windows looks almost identically as GTK version on Linux, there is really no big difference as you can see from screenshot.

It revived my memories about creating native Windows application years ago as I used same tool for creating instalator (Inno Setup). It works still same way and is very easy to use even when I didn't remember anything from time I created installator for CodeConv.

Yet another links in phone database

While looking for modem driver for Alcatel One Touch 535 for Windows (thanks Alcatel for removing support for old phones!), I found the mobile phone directory website. There are nice reviews of phones and I quickly decided to add it to linked content in phone database. So enjoy more information about phones!

BTW: does anybody have that stupid inf file for OT535?

Wammu 0.14

Wammu 0.14 has been just released. New features:

  • Automatically append backup extension.
  • PuBluez is now default for bluetooth devices lookup.
  • Fixed mail export for non english locales.
  • Fixed installation on Windows.
  • Added support for py2exe for distributing Windows executable.
  • Added script for creating Wammu installer on Windows (using Inno Setup).

There is imortant change in this release - we finally have Windows support! On download pakge you will find Windows installer which includes all needed (thanks to py2exe and Inno Setup). Please share experiences, as I'm definitely not experienced in this area :-).

New Wammu version? Soon

There wasn't much progress on Wammu in past months. Partly it has been caused by changes in real life, but major reason was that I want to go away from wxPython and this step is quite large to happen over night :-).

Meanwhile I didn't do much in current Wammu codebase, but few bugfixes were applied. I will fix few more bugs during weekend and release new version. Don't expect much of it, I will only try to test it a bit on Windows and fix some recently reported bugs. So most changes are already in and you can see them in arch repository.

It will be most likely latest which is using wxPython and I will start writing completely (well this it not true, most code will be reused) new Wammu which will use PyGTK. It will be highly modullar and should provide all those heavilly missing features as remembering of read data and support for multiple phones.

I don't have any timeframe when new version will be ready, but I'd like to make preview available somewhere in September. But life can bring completely different worries, so everything might be completely different :-).

Backing up using duplicity

I used quite long time rdiff-backup for creating server backups. But I had to move away from it because it requires same program to run on the other end where backups are stored. And there was no chance that I can get it into 4Mib memory of my Asus router with OpenWrt which will now act as bacup server.

So I googled a bit and after reading several articles I decided to try duplicity. This decision was heavily inspired by article on Debian Administration website.

The setup with encryption and signing was very quickly and even restoring seems to work :-).

Man gets used to pay by credit card

I pay almost all expenses using credit card as I find it comfortable. I don't need much cash and it's quite widely accepted.

However when you have full basket of goods and you hear announcement that due to technical reasons you can not pay using credit card, you have a problem.

This happened to my girlfriend yesterday. No problem, I will go there with money and everything will be fine. But Murphys law was working as usual, so as soon as I arrived credit cards were again accepted :-).

I will read the doc next time

After spending few hours (not intensive work, I was doing also other stuff) with duplicty and dropbear, I finally got the idea to enter magic words to Google to find solution.

Those words were excitingly "openwrt sftp" where first link points to sftp with Dropbear howto.

Next time I should start with looking for documentation, most likely somebody already had same issue…

Printing through OpenWrt in few seconds

The OpenWrt toy is doing more and more work for me. I just connected USB/LPT adaptor and my printer and setup printing in few seconds. Hardest and longest part was to follow howto and click in windows on correct buttons :-).

Cups also speaks well with this device, so I'm definitely convinced it was a good buy.

Munin and OpenWrt

Last thing which was missing was to add new router to monitoring using Munin which I use for this purpose. The only reasonable way seemed to be SNMP so I installed it to OpenWrt.

And the rest was incredibly simple! Just add snmp host to munin.conf:

[openwrt.lan]
    address localhost

And run SNMP discovery on monitoring host (the one which runs munin-node):

munin-node-configure-snmp openwrt.lan | sh

It automatically creates symlinks for everything it detects (network interfaces, load, disk space and users) and only remaining thing is to restart munin-node.

OpenWrt rocks

I'm starting to love this distribution. After few hours I've setup everything I needed including OpenVPN to other locations. Most of things were pretty easy to configure and basic settings can done as well over web interface.

The only thing I don't understand is that for some reason I don't see WAN IP address settiongs (I'm using static IP) and same way I lost WEP/WPA key configuration. Those parts of dialog simply do not appear on page while HTML is still there. I didn't yet have time to debug, but maybe later.