Sunday, October 14, 2007

Nokia E-series sync with Evolution via Bluetooth in Ubuntu

The Nokia E-series consists of business-oriented smartphones, with emphasis on support for corporate e-mail. Currently Nokia e-series includes: E60, E61, E70, E50, E61i, E65, E90.

This is a howto (provided by Nailor) shows how to sync Nokia E-series phone (Symbian 9.1, Series60 3rd edition) with Gnome Evolution in Ubuntu Edgy Eft (6.10) and Feisty Fawn (7.04). This has been tested with Nokia E50. Information on how to sync Nokia E65 is available here. Kubuntu users may be interested in this.

1. Add required repositories:

Add following repositories to /etc/apt/sources.list:
deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ feisty main
deb-src http://opensync.gforge.punktart.de/repo/opensync-0.21/ feisty main

To add key for the repo, do the following:
gpg --keyserver hkp://subkeys.pgp.net/ --recv-keys CB210090B029CB84
gpg --export CB210090B029CB84 | sudo apt-key add -

2. Install required software

sudo aptitude install libopensync-plugin-* libopensync0 opensyncutils msynctool mulstisync-qad bluez-passkey-gnome bluez-gnome

3. Configure msynctool
You can configure opensync via a graphical interface using multisync-qad (using similiar settings as below) or you can use command line. Guide below is for command line. Note, that the command line is reported not to work flawlessly on Feisty. You'll bet better results with GUI

Add a new group of preferred name (I'll be using nokia in this example):
msynctool --addgroup nokia

Add plugins to group. If you get errors in this face, they are propably due to missing plugins so check you've installed all required plugins.

msynctool --addmember nokia evo2-sync
msynctool --addmember nokia syncml-obex-client

Next is the 'trickiest' part. Installed plugins need to be configured. First, you have to find your phone’s MAC. Use hcitool to do that:
hcitool scan

It should return something like:
xx:xx:xx:xx:xx:xx PhoneName

Now, configure the syncml-obex-client:
msynctool --configure nokia 2

Replace the context of the configuration (should be open in separate editor after running previous command) with the following XML:

xx:xx:xx:xx:xx:xx
10
0
PC Suite
1
1


2
1
0
0
0
Contacts


Where bluetooth_address is your phone’s MAC address you just discovered.

After configuring the syncml-obex-client it’s time to configure evo2-sync. Open configuration file with command:
msynctool --configure nokia 1

And modify it to look like:


file:///home/USERNAME/.evolution/addressbook/local/system

Replace USERNAME with your username.

Edgy note: With the latest update from jahn repositories, this works with defaults. You can configure Calendar as calendar_db to syncml-obex-client setup to make calendar syncing work

4. Sync!
You should be good to go now, so you should try synchronizing:
msynctool --sync nokia

No comments: