Linux and Syncml, Multisync with Nokia 6280
I successfully synced my calendars with my Nokia 6280.
# yum install libopensync-devel glib-devel libsyncml-devel wbxml2-devel \Now we need to compile the syncml-plugin:
libopensync-plugin-evolution2 libopensync-plugin-kdepim libopensync-plugin-file
$ wget -O libopensync-plugin-syncml-0.20.tar.gz \and as root:
'http://www.opensync.org/attachment/wiki/download/libopensync-plugin-syncml-0.20.tar.gz?rev=&format=raw'
$ tar xzf libopensync-plugin-syncml-0.20.tar.gz
$ cd libopensync-plugin-syncml-0.20
$ ./configure
$ make
$ make installand then follow Syncing a Nokia 6630 over bluetooth using opensync and syncml-plugin. Copied here for reference.
Configuration
Now lets configure multisync. In this example we will sync the phone against a directory called “sync” in our home directory. If you want to configure an evolution sync instead skip this part, and go straight to the evolution configuration.
$ cd
$ mkdir sync
$ msynctool --addgroup filenokia
$ msynctool --addmember filenokia file-sync
$ msynctool --addmember filenokia syncml-obex-client
In order to continue we need some Infos from our phone. First of all we need to find out the bluetooth address of our phone:
$ hcitool scan
Scanning ...
XX:XX:XX:XX:XX:XX MYPHONENAME
As you may guess the value represented by XX:XX:XX:XX:XX:XX is your phones address. Now we need the channel on which the service called “SyncMLClient” is running:
$ sdptool browse XX:XX:XX:XX:XX:XX
This command will return a lot of information. Look for something like this:
Service Name: SyncMLClient
Service RecHandle: 0x10003
Service Class ID List: "Error: This is UUID-128" (0x00000002-0000-1000-8000-0002ee000002)
Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003)
Channel: 11 "OBEX" (0x0008)
Language Base Attr List: code_ISO639: 0x454e encoding: 0x6a base_offset: 0x100
Profile Descriptor List: "Error: This is UUID-128" (0x00000002-0000-1000-8000-0002ee000002)
Version: 0x0100
As you can see in my case the needed channel was channel 11. Now we have everything we need. so there just a few steps left:
$ msynctool --configure filenokia 1
This will open a vi instance, where you need to input this:
<config>
<path>/home/USERNAME/sync</path>
<recursive>FALSE</recursive>
</config>
Now we just need to configure the syncml-client:
$ msynctool --configure filenokia 2
Again a vi instance will open. This time you need this:
<config>
<bluetooth_address>XX:XX:XX:XX:XX:XX</bluetooth_address>
<bluetooth_channel>YY</bluetooth_channel>
<identifier>PC Suite</identifier>
<version>1</version>
<wbxml>1</wbxml>
<username></username>
<password></password>
<type>2</type>
<usestringtable>1</usestringtable>
<onlyreplace>0</onlyreplace>
<recvLimit>10000</recvLimit>
<maxObjSize>0</maxObjSize>
<contact_db>Contacts</contact_db>
<calendar_db>Calendar</calendar_db>
<note_db>Notes</note_db>
</config>
You just need to replace XX:XX:XX:XX:XX:XX with your bluetooth address and YY with your channel. Nothing more is necessary to sync against a file. The following part describes the configuration for an evolution sync.
The procedure is almost the same as above. There are just some slight modifications. First of all you should name your group differently. Here we will use “evo2nokia” instead of “filenokia”. Before beginning the opensync coniguration you should make sureTherefore the first steps should be these:
$ msynctool --addgroup evo2nokia
$ msynctool --addmember evo2nokia evo2-sync
$ msynctool --addmember evo2nokia syncml-obex-client
Now we need to configure the evo2-sync plugin:
$ msynctool --configure evo2nokia 1
Enter the follwoing into the opening editor:
<config>
<address_path>default</address_path>
<calendar_path>default</calendar_path>
<tasks_path>default</tasks_path>
</config>
Next we need to configure the syncml side of the group:
$ msynctool --configure evo2nokia 2
We can use the same configuration as above.
Synchronization
That’s it, now you can sync your phone:
$ msynctool --sync filenokia
or if you configured opensync for evolution synchronization:
$ msynctool --sync evo2nokia
If you want to sync againt another plugin than the file-sync plugin,
you can still use this guide. The configuration is exactly the same
except for the fact that you need to add your plugin as a member
instead of the file-sync plugin. Of course you also need an apropriate
configuration for that plugin. But the syncml part stays the same.
If you don’t have a bluetooth dongle and/or want to use your USB cable for syncing go the syncml-guide and check out the forum at nabble. Also don’t forget to check out the excellent opensync wiki. Here are some links where you can find additional information about how to use your nokia 6630 with a linux box.
Harald Hoyer
Previous: Installing Fedora 7 on Sony Vaio VGN-FE31Z

RPM for Fedora