Installation

The following packages should be installed:

Use System->Administration->Synaptic Package Manager to grab those, or for terminal users:

sudo aptitude install multisync-tools opensync-plugin-evolution opensync-plugin-syncml libsyncml-utils

Check your installation

To test if everything went ok type:

msynctool --listplugins

You should get:

Available options:
  syncml-http-server
  syncml-obex-client
  evo2-sync

Configuration

Group setup

Opensync is complicated. It requires you to define groups first; groups basically pair a device with an application. So the first thing to do is to create a group:

msynctool --addgroup nokia-evo

Next we need to add 2 members to our group, one for Evolution (using the evo2-sync plugin) and one for your phone (which uses the obex plugin).

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

Now, you will need to set up the actually applications.

Configuring

Remember I said it was complicated? Well, the next step is to configure group members. The Evolution side doesn't need configuring, but you need to have run evolution successfully once as the user.

The phone does need configuring, so run:

export EDITOR=gedit && msynctool --configure nokia-evo 2

The 2 at the end of the line indicates you're configuring the second member of the group. Once you run that, the text editor will be launched. This is XML, and it will scare you, but if you figure out how the file works, change the values that are there to:

Don't change contact_db, calendar_db or note_db, and don't put in a username or password (perhaps unless you have one set up in the phone).

You'll also need to configure some additional bits based on what connection you're using, as per the following sections:

USB

Poor you, you'll need to fix permissions for your USB device. First you should connect your device with the usb cable. Then make sure that the lsusb command lists your device:

dani@marvin:~> lsusb
Bus 001 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 002 Device 059: ID 0421:040f Nokia Mobile Phones 6230 GSM Phone
Bus 002 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  

Now, unplug the phone. Run

sudo gedit /etc/udev/rules.d/40-nokia-mobiles.rules

and put the following line in there:

BUS=="usb", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="*", MODE="0660", GROUP="dialout"
# This might work if the above doesn't :-(
# SUBSYSTEM=="usb", ATTR{idVendor}=="0421", ATTR{idProduct}=="*", MODE="0660", GROUP="dialout" 

Save and exit. Now run:

sudo /etc/init.d/udev reload

so udev makes use of the rule. Plug the phone back in.

Now, finish off the configuration and change the following configuration options in the XML file you started editing above:

Bluetooth

If you're using Bluetooth, fill out:

Syncing

Make sure the configuration has been updated using the command below:

msynctool --showgroup nokia-evo

If you encounter problems updating the configuration, try using a different editor (e.g. vi instead of gedit). That should be everything in terms of installing and configuration. Time to try to sync your phone. To do this type:

msynctool --sync nokia-evo

Alternatively you can start multisync0.90 graphical tool and do the syncing there. If you did everything right, it should output a lot of noisy stuff and the contacts should be synchronized. If not.. file a bug!

Related forums thread is: http://www.ubuntuforums.org/showthread.php?t=145289

Caveats

NokiaEvolutionSyncing/Opensync (last edited 2012-03-12 14:44:06 by tweety)