Los usuarios de windows lo tienen muy fácil ya que poseen el Nokia PC Suite y tras instalar este programa, sus problemas de sincronización se acabaron. Pero en Linux la cosa cambia.
El emulador de windows (wine) no puede con la instalación del PC Suite, por un problema de librerias y flash, por lo que la sincronización se ha de hacer desde otro sitio. Por supuesto los magníficos desarrolladores de Linux han pensado en ello y existen soluciones al respecto.
La mayoría de la literatura de este tema viene dada para los symbian de 2ª generación, pero en nuestro caso es casi la misma manera.
La idea va a ser sincronizar el N95 con ubuntu por medio de Evolution. Para ello necesitaremos tener instalado evolution: (posiblemente lo tendreis por defecto)
sudo apt-get install evolutionLuego tenemos que añadir unos repositorios:
sudo gedit /etc/apt/sources.listy añadir
deb http://opensync.gforge.punktart.de/repo/opensync-svn/ sid mainy también unos paquetes necesarios:
deb-src http://opensync.gforge.punktart.de/repo/opensync-svn/ sid main
sudo apt-get install multisync libopensync1 libopensync-plugin-syncml libopensync-plugin-evolution2 libopensync-plugin-syncml multisync-cli libopensync-plugin-file gnokii libsyncml-utils msynctool xgnokii msynctoolLlegados a este punto ya tenemos todo lo necesario.
En Menú- Accesorios, tenemos una nueva entrada: Multisync-gui. La ejecutamos.
Le damos al botón añadir:
Nos pedirá un nombre de grupo:
evo2-n95
Dentro de este grupo, le damos a editar y nos pedirá Add member, seleccionamos:
evo2-syncAqui seleccionaremos todo en privado.
NOTA. Para que esto funcione tenemos que tener inicializado (arrancado aunque sólo sea una vez) el Evolution.
Luego seleccionamos al otro miembro: syncml-obex-client. Nos saldrá texto a la derecha.
Tranquilos es muy fácil:
(Los campos a cambiar están en negrita)
<?xml version="1.0"?>
<config>
<!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected -->
<bluetooth_address>XX:XX:XX:XX:XX:XX</bluetooth_address>
<!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel -->
<bluetooth_channel>10</bluetooth_channel>
<!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. -->
<interface>0</interface>
<!-- The string that the plugin will use to identify itself. Some devices need a special string here. -->
<identifier>PC Suite</identifier>
<!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->
<version>0</version>
<!-- if the plugin should use wbxml -->
<wbxml>1</wbxml>
<!-- The username to use. Leave empty to not require a username -->
<username></username>
<!-- the password for the username -->
<password></password>
<!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth -->
<type>2</type>
<!-- If wbxml is enabled, defines wether the wbxml should use string tables -->
<usestringtable>0</usestringtable>
<!-- Never send ADD command, but send REPLACE (not needed normally) -->
<onlyreplace>0</onlyreplace>
<!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! -->
<onlyLocaltime>0</onlyLocaltime>
<!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 -->
<recvLimit>10000</recvLimit>
<maxObjSize>0</maxObjSize>
<!-- The name of the contacts db. Must be the same as the phones sends -->
<contact_db>Contacts</contact_db>
<!-- The name of the calendar db. Must be the same as the phones sends -->
<calendar_db>Calendar</calendar_db>
<!-- The name of the note db. Must be the same as the phones sends -->
<note_db>Notes</note_db>
</config>
$ hcitool scanesto nos dará todas las direcciones MAC al alcance. Buscamos el nombre de nuestro móvil y la MAC está al lado.
El canal que yo le he puesto es el que me da cuando ejecuto
sdptool browse XX:XX:XX:XX:XXen el apartado de SyncMLClient, el canal es 10. Creo que para todos es igual, pero si no os funciona comprobadlo.
Y ya está. Ahora sólo hay que darle al botón refrescar.
5 comentarios:
hay alguna solución que funcione con cable en vez de BT?
Sí, donde dice:
type 2
Hay que cambiar el "2" por el "5"
Hola, estoy un poco desesperado porque, no hay forma de que encuentre el paquete libopensync1 .......
Alguien sabe algun repositorio que funcione a día de hoy?
Gracias adelantadas.
No sé si leerás esto alguna vez pero el problema de que no te coja la librería es por no haber actualizado los repositorios una vez añadidos.
Si teneis problemas con los repositorios, solo teneis que añadir la clave.
Escribir esto:
gpg --keyserver hkp://subkeys.pgp.net/ --recv-keys CB210090B029CB84
gpg --export CB210090B029CB84 | sudo apt-key add -
Publicar un comentario