The Following 14 Users Say Thank You to pinsh For This Useful Post: | ||
|
2011-08-16
, 20:49
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#2
|
|
2011-08-17
, 14:41
|
Posts: 74 |
Thanked: 142 times |
Joined on Oct 2009
@ Chicago, US
|
#3
|
The Following User Says Thank You to pinsh For This Useful Post: | ||
|
2011-08-18
, 16:24
|
Posts: 46 |
Thanked: 8 times |
Joined on Sep 2010
|
#4
|
Nokia-N900:~$ syncevolution --configure \ --template google-calendar \ username=X \ password=X \ target-config@default_google
ERROR: no configuration template for ' --template@default' available. Use '--template none' and/or specify relevant properties on the command line to create a configuration without a template. Need values for: syncURL
Available configuration templates (clients and servers):
template name = template description
eGroupware = http://www.egroupware.org
Funambol = http://my.funambol.com
Google_Calendar = event sync via CalDAV, use for the 'target-config@google-calendar' config
Google_Contacts = contact sync via SyncML, see http://www.google.com/support/mobile...py?topic=22181
Goosync = http://www.goosync.com/
Memotoo = http://www.memotoo.com
Mobical = https://www.everdroid.com
Nokia_N900 = Template for all Nokia phones which support contacts, notes and combined tasks+events
Oracle = http://www.oracle.com/technology/pro...ive/index.html
Ovi = http://www.ovi.com
ScheduleWorld = server no longer in operation
Sony_Ericsson_K750i = Template for old Sony Ericsson phones, with separate databases for contacts/events/tasks/memos and SyncML 1.1
Sony_Ericsson_W595 = Template for all current Sony Ericsson phones, with separate databases for contacts/events/tasks/memos and SyncML 1.2
SyncEvolution = http://www.syncevolution.org
SyncEvolution_Client = SyncEvolution server side template
Synthesis = http://www.synthesis.ch
WebDAV = contact and event sync using WebDAV, use for the 'target-config@<server>' config
Yahoo = contact and event sync using WebDAV, use for the 'target-config@yahoo' config
Nokia-N900:~$
|
2011-08-19
, 08:37
|
|
Posts: 77 |
Thanked: 49 times |
Joined on Apr 2010
@ Italy
|
#5
|
|
2011-08-19
, 09:14
|
Posts: 46 |
Thanked: 8 times |
Joined on Sep 2010
|
#6
|
ERROR: no configuration template for ' --template@default' available. Use '--template none' and/or specify relevant properties on the command line to create a configuration without a template. Need values for: syncURL
|
2011-08-19
, 09:26
|
|
Posts: 77 |
Thanked: 49 times |
Joined on Apr 2010
@ Italy
|
#7
|
syncevolution --configure --template Google_Calendar username=X password=X target-config@default_google
|
2011-08-19
, 11:32
|
Posts: 46 |
Thanked: 8 times |
Joined on Sep 2010
|
#8
|
The Following User Says Thank You to iTor For This Useful Post: | ||
|
2011-08-19
, 12:06
|
|
Posts: 77 |
Thanked: 49 times |
Joined on Apr 2010
@ Italy
|
#9
|
The Following User Says Thank You to djdas For This Useful Post: | ||
|
2011-08-19
, 14:21
|
Posts: 46 |
Thanked: 8 times |
Joined on Sep 2010
|
#10
|
Luckily, Syncevolution recently gained CalDAV/CardDAV support, which means we can use it to sync to google calendar without using a third-party SyncML server.
The following howto describes how to setup syncing the default calendar and another calendar to google.
BE WARNED: A mis-configuration may screw up your calendars and I will not take responsibility for this. Also: I have yet to figure out how to get Syncevolution to accept google's SSL certificate. For now, SSL certificate verification is disabled, which opens the doors to MITM attacks and synchronization should only be performed from trusted networks. Hopefully we will soon figure out how to get SSL working correctly.
Prerequisites:
Install syncevolution version 1.1.99.5-1 (earlier versions don't support CalDAV/CardDAV)
A) Synchronizing the Default Calendar:
This is really simple. On your N900 execute the following (as user, not root):
Then perform the initial synchronization:
After that, you can perform incremental synchronizations using
B) Synchronizing Other Calendars:
This is somewhat more complicated to setup and I am sure there is a better way. Assume you have a calendar called "Test" on your N900 which you would like to sync to a google calendar (other than your default calendar on google).
The following assumes that you have already setup synchronization of the default calendar, as described above.
First, get the calendar ID by going to the google calendar settings page. The ID is where it says "Calendar Address:", next to the ICAL/XML/HTML buttons. Here we assume the ID is
Disable SSL verfication by setting "SSLVerifyServer = 0" in ~/.config/syncevolution/test_google/peers/target-config/config.ini
Then perform the initial synchronization:
As mentioned above, I still haven't figured out how to get the SSL certificate verification working. I tried downloading a ca-cert-bundle and setting SSLServerCertificates in the config.ini file, as described here, but for some reason it doesn't seem to work.