You are here: Home How to Sincronizar un Nokia N73 con Ubuntu
Views

Edit detail for Sincronizar un Nokia N73 con Ubuntu revision 1 of 1

1
Editor: xil
Time: 2007/01/29 19:28:44 GMT+0
Note:

changed:
-
A continuación detállanse os pasos para sincronizar un calendario de Sunbird co calendario dun N73:

* É necesario conectar o móbil a Windows, para que a "PC Suite" instale unha nova aplicación de sincronización.

* Instalar opensync_. Hai `paquetes precompilados de opensync`_ :, pero teño AMD64:
 
* Descargar as fontes do repositorio subversion: 

::

  svn co http://svn.opensync.org/trunk opensync
  svn co http://svn.opensync.org/multisync/trunk multisync-0.90
  svn co http://svn.opensync.org/plugins/{nome-do-plugin} 

 
* Sendo os plugins que eu utilizo (http://www.opensync.org/browser/plugins) google-calendar, sunbird, syncml, synce.

Agora é convinte crear os paquetes Debian

:: 

  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync/libopensync_0.20+svn20070126.orig.tar.gz
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync/libopensync_0.20+svn20070126-edgy1_i386.changes
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync/libopensync_0.20+svn20070126-edgy1.dsc
  dpkg-source -x libopensync_0.20+svn20070126-edgy1.dsc
  cd libopensync-0.20+svn20070126
  dpkg-buildpackage
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync-plugin-file/libopensync-plugin-file_0.20+svn20061106-edgy1.diff.gz
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync-plugin-file/libopensync-plugin-file_0.20+svn20061106-edgy1.dsc
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync-plugin-file/libopensync-plugin-file_0.20+svn20061106-edgy1.orig.tar.gz
  dpkg-source -x libopensync-plugin-file_0.20+svn20061106-edgy1.dsc
  cd libopensync-plugin-file-0.20+svn20061106/
  dpkg-buildpackage

  ....
  
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libs/libsyncml/libsyncml_0.4.2+svn20070118-edgy1_i386.changes
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libs/libsyncml/libsyncml_0.4.2+svn20070118-edgy1.dsc
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/libs/libsyncml/libsyncml_0.4.2+svn20070118-edgy1.diff.gz

  .... 

  wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/multisync-gui/multisync-gui_0.91.0+svn20061106-edgy3.diff.gz
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/multisync-gui/multisync-gui_0.91.0+svn20061106-edgy3.dsc
  wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/multisync-gui/multisync-gui_0.91.0+svn20061106-edgy3_i386.changes

  ....

  wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/msynctool/msynctool_0.20+svn20061116.orig.tar.gz

  ....

Agora é preciso configurar Bluetooth para conectarse co teléfono, e configurar o cliente syncml-obex-client_. 

:: 

 # msynctool --addgroup nokia 
 # msynctool --addmember nokia sunbird-sync
 # msynctool --addmember nokia syncml-obex-client
 # hcitool scan
 # msynctool --configure nokia 2

Isto configura a parte do móbil (pódese utilizar multisync-gui ou kitchensync para crear este ficheiro):  

::

 <?xml version="1.0"?>
 <config>
   <bluetooth_address>00:XX:XX:XX:XX:XX</bluetooth_address>
   <bluetooth_channel>13</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>
   <onlyLocaltime>0</onlyLocaltime>
   <recvLimit>0</recvLimit>
   <maxObjSize>0</maxObjSize>
   <contact_db>Contacts</contact_db>
   <calendar_db>Calendar</calendar_db>
   <note_db>Notes</note_db>
 </config>


Na canle débese poñer a que corresponda ao servizo SyncMLClient ou Nokia SyncML Server (10 ou 13, neste caso).

E isto a de Sunbird:
::

  # msynctool --configure nokia 1

::

        <config>
 	   <file path="/path/to/calendar1.ics" deletedaysold="30" />
 	   <file default="1" path="/path/to/calendar2.ics" />
 	   <webdav username="user" password="password"
 	           url="http://server.com/path/to/webdav1.ics" />
 	   <weddav username="user" password="password"
 	           url="http://server.com/path/to/webdav2.ics" />
 	   ...
 	</config>


Tamén é preciso ter instalado algún xestor para as claves Bluetooth (PIN):

::

 apt-get install bluez-passkey-gnome


E agora a sincronizar...

:: 

  msynctool --sync nokia 


Detectei que isto só funciona se se utiliza a versión 1.1 de SyncML (haino que indicar nas opcións de sincronización do móbil).








.. _OpenSync: http://www.opensync.org
.. _paquetes precompilados de opensync: http://www.in.fh-merseburg.de/~jahn/
.. _syncml-obex-client: http://www.in.fh-merseburg.de/~jahn/

A continuación detállanse os pasos para sincronizar un calendario de Sunbird co calendario dun N73:

  • É necesario conectar o móbil a Windows, para que a "PC Suite" instale unha nova aplicación de sincronización.
  • Instalar opensync. Hai paquetes precompilados de opensync :, pero teño AMD64:
  • Descargar as fontes do repositorio subversion:
svn co http://svn.opensync.org/trunk opensync
svn co http://svn.opensync.org/multisync/trunk multisync-0.90
svn co http://svn.opensync.org/plugins/{nome-do-plugin} 

Agora é convinte crear os paquetes Debian

wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync/libopensync_0.20+svn20070126.orig.tar.gz
wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync/libopensync_0.20+svn20070126-edgy1_i386.changes
wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync/libopensync_0.20+svn20070126-edgy1.dsc
dpkg-source -x libopensync_0.20+svn20070126-edgy1.dsc
cd libopensync-0.20+svn20070126
dpkg-buildpackage
wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync-plugin-file/libopensync-plugin-file_0.20+svn20061106-edgy1.diff.gz
wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync-plugin-file/libopensync-plugin-file_0.20+svn20061106-edgy1.dsc
wget http://www.in.fh-merseburg.de/~jahn/pool/main/libo/libopensync-plugin-file/libopensync-plugin-file_0.20+svn20061106-edgy1.orig.tar.gz
dpkg-source -x libopensync-plugin-file_0.20+svn20061106-edgy1.dsc
cd libopensync-plugin-file-0.20+svn20061106/
dpkg-buildpackage

....

wget http://www.in.fh-merseburg.de/~jahn/pool/main/libs/libsyncml/libsyncml_0.4.2+svn20070118-edgy1_i386.changes
wget http://www.in.fh-merseburg.de/~jahn/pool/main/libs/libsyncml/libsyncml_0.4.2+svn20070118-edgy1.dsc
wget http://www.in.fh-merseburg.de/~jahn/pool/main/libs/libsyncml/libsyncml_0.4.2+svn20070118-edgy1.diff.gz

.... 

wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/multisync-gui/multisync-gui_0.91.0+svn20061106-edgy3.diff.gz
wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/multisync-gui/multisync-gui_0.91.0+svn20061106-edgy3.dsc
wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/multisync-gui/multisync-gui_0.91.0+svn20061106-edgy3_i386.changes

....

wget http://www.in.fh-merseburg.de/~jahn/pool/main/m/msynctool/msynctool_0.20+svn20061116.orig.tar.gz

....

Agora é preciso configurar Bluetooth para conectarse co teléfono, e configurar o cliente syncml-obex-client.

# msynctool --addgroup nokia 
# msynctool --addmember nokia sunbird-sync
# msynctool --addmember nokia syncml-obex-client
# hcitool scan
# msynctool --configure nokia 2

Isto configura a parte do móbil (pódese utilizar multisync-gui ou kitchensync para crear este ficheiro):

<?xml version="1.0"?>
<config>
  <bluetooth_address>00:XX:XX:XX:XX:XX</bluetooth_address>
  <bluetooth_channel>13</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>
  <onlyLocaltime>0</onlyLocaltime>
  <recvLimit>0</recvLimit>
  <maxObjSize>0</maxObjSize>
  <contact_db>Contacts</contact_db>
  <calendar_db>Calendar</calendar_db>
  <note_db>Notes</note_db>
</config>

Na canle débese poñer a que corresponda ao servizo SyncMLClient? ou Nokia SyncML? Server (10 ou 13, neste caso).

E isto a de Sunbird:

# msynctool --configure nokia 1
<config>
   <file path="/path/to/calendar1.ics" deletedaysold="30" />
   <file default="1" path="/path/to/calendar2.ics" />
   <webdav username="user" password="password"
           url="http://server.com/path/to/webdav1.ics" />
   <weddav username="user" password="password"
           url="http://server.com/path/to/webdav2.ics" />
   ...
</config>

Tamén é preciso ter instalado algún xestor para as claves Bluetooth (PIN):

apt-get install bluez-passkey-gnome

E agora a sincronizar...

msynctool --sync nokia 

Detectei que isto só funciona se se utiliza a versión 1.1 de SyncML? (haino que indicar nas opcións de sincronización do móbil).


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards:

Personal tools