Novell Home

How to Sync your iPAQ with Evolution on SLED 10

Novell Cool Solutions: Tip
By Jan Prinsloo

Digg This - Slashdot This

Posted: 30 Mar 2007
 

Problem:

Trying to get your HP iPAQ to sync with Evolution on SLED 10

Solution:

Getting your iPAQ (Windows Mobile 2003) to sync with Evolution on SLED 10.

This is a UNSUPPORTED document. If anything goes wrong or breaks on your system, while or after following the steps in this document, we will not be held responsible!

First things first, this was tried and tested on SLED 10 with the latest patches. The kernel version reads: "2.6.16.27-0.9-default"

The HP IPAQ used for testing is the H2200 model.

Download the following files:

synce-0.9.0-1.i386.rpm
synce-multisync_plugin-0.9.0-1.i386.rpm
synce-gnomevfs-0.9.0-1.i386.rpm
synce-trayicon-0.9.0-1.i386.rpm ( Note that this will most probably not work!)

Make sure that you have the multisync package installed. If you don't, or you are not sure, do this:

  1. Open up Yast.
  2. Click Software Management.
  3. In the Search box type in "multisync"
  4. Make sure that you select at least the following:
    mutlisync
    multisync-backup
    multisync-evolution
  5. Click on Apply.
  6. When asked to install or remove more packages, click No.

Now for the dirty part!

I will assume that you know how to login in as Super User on your workstation. I will also assume that you know how to install a rpm package via the command line.

  1. Open up a console and navigate to the folder where you have downloaded the synce-* rpm's in.
  2. Run the following command as root: rpm -ivh synce-* If you get an error try installing the rpm's one by one with rpm -ivh synce-0.9.0-1.i386.rpm replacing the filename with each one of the downloaded files.
  3. Once done run the following commands as root:
    ln -s /usr/local/lib/multisync/libsynce_plugin.so /usr/lib/multisync/libsynce_plugin.so
    ln -s /usr/local/lib/multisync/libsynce_plugin.so.0 /usr/lib/multisync/libsynce_plugin.so.0
    ln -s /usr/local/lib/multisync/libsynce_plugin.so.0.0.0
    /usr/lib/multisync/libsynce_plugin.so.0.0.0
  4. Now, still as root, type:
    tail -f /var/log/messages
  5. Plug in your iPAQ via USB and watch the output of the previous tail command. It should give you something similar to this:
    kernel: usb 4-2: new full speed USB device using uhci_hcd and address 11
    kernel: usb 4-2: new device found, idVendor=03f0, idProduct=1016
    kernel: usb 4-2: new device strings: Mfr=0, Product=0, SerialNumber=0
    kernel: usb 4-2: configuration #1 chosen from 1 choice
    kernel: ipaq 4-2:1.0: PocketPC PDA converter detected
    kernel: usb 4-2: PocketPC PDA converter now attached to ttyUSB0
  6. This should tell you exactly on which USB port the iPAQ is detected. In my case, this is ttyUSB0. Write this down, you'll need it later on to get the sync clients to work.
  7. Now, still as root, run:
    synce-serial-config ttyUSB0  
    don't forget to substitute ttyUSB0 with the port used in your sytem config. For example, if your /var/log/messages contained ttyUSB3, then you will replace ttyUSB0 with ttyUSB3.
  8. Now open up a new console. Please note that this time you should only be logged in as a user, and not as super user or root.
  9. In this new console run:
    dccm
  10. Go back to your su / root console or open up a new console with root access if you closed the previous one, and run:
    synce-serial-start
  11. Now switch back to the terminal logged in as your user, and run:
    pstatus
    This should give you all the relevant information about the Ipaq currently connected to your workstation.

Good! We are almost there. What you have done so far, is completing all the initial steps needed for the software on your workstation, to properly talk to your iPAQ PDA. The only stuff left now is to configure a trust relationship and tell the synchronization software what and where to sync data to.

  1. As root, in a terminal, run:
    synce-matchmaker create
    This will create a trust relationship between your workstation and your Ipaq PDA.
  2. Now you need to fire up multisync. If you can't find the menu icon, just run: multisync in your console and hit enter.(make sure you are not root or super user)
  3. Click in New, which will popup a menu with configuration options.
  4. Under Plugins tab, select your first plugin to be Ximian Evolution 2 and under it's options, select which calendar, address book and tasks you want to sync.
  5. Now select your second plugin to be SynCE Plugin, and don't worry about options here.
  6. You can now click on Sync, sit back and smile while your data is being synchronized between your workstation and Ipaq!

Some additional information!

  1. Please note that this method makes use of ppp and ip and therefore needs certain ports opened in your workstation's firewall, if you are running one.

    My suggestion is that you temporarily disable your firewall while getting everything up and running. Once everything is working, enable your firewall rules again and make sure you create allow rules for the folowing ports:
    1. From PDA to PC : TCP 5678, 5679
    2. From PC to PDA: TCP 990


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell