感谢支持
我们一直在努力

Ubuntu 9.04与Windows Mobile同步

参考很多前人的说明才得以成功,以下只是自己在Ubuntu 9.04的安装记录:


1、Ubuntu 9.04需要自行安装Odccm:
sudo apt-get install odccm
(odccm – Daemon to keep a connection to Windows Mobile device,9.04未带,需自行安装)


2. 安装synce包(好像不用添加以前文档中指定的源)
sudo apt-get install synce-hal librra-tools librapi2-tools synce-trayicon
(似乎并不需要synce-hal包,且安装synce-hal时,会自动卸载掉odccm,造成同步无法成功,重新安装odccm后即可正常同步。)


3. 安装opensynce支持包
sudo apt-get install multisync-tools opensync-plugin-evolution opensync-plugin-synce


4.下载配置文件(经测试可不用执行这步)
mkdir ~/.synce
wget -O ~/.synce/syncengine.conf.xml http://synce.svn.sf.net/svnroot/synce/releases/0.11.1/sync-engine/config/config.xml


5. 连接pda,运行snyc引擎:
synce-sync-engine
运行后可用synce-pls命令查看是否可查看到pda信息。如果能看到你设备上的文件列表,那么恭喜你,你已经成功连接至你的设备。
若出现下面的错误,请检查是否已安装odccm服务,或可重启odccm服务解决(sudo /etc/init.d/odccm restart)


6. 配置同步关系
synce-create-partnership “Linux desktop” “Contacts,Calendar,Tasks,Files”
msynctool –addgroup synce-sync
msynctool –addmember synce-sync synce-opensync-plugin
msynctool –addmember synce-sync evo2-sync


7.console同步命令:
msynctool –sync synce-sync


8.另外有个gui同步工具:
1) sudo apt-get install multisync0.90
2) multisync0.90
9.以后每次同步步骤:
引用:
a. 联接pda
b. 运行synce-sync-engine
c. 运行multisync0.90,刷新
d. 同步完成后,用Ctrl+C关闭synce-sync-engine。
e. 断开pda联接

因调试PXE安装Windows,在工作电脑上安装了samba服务,今天发现无法与手机同步问题,情况如下:


1、ifconfig查个eth1未获得IP、或获得IP后又丢失。
2、dmesg中包括一条错误信息:
[ 5839.057905] rndis_host 1-3:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
3、运行synce-pls很长时间才提示:
代码:


代码:
synce-pls


引用:
** Message: Hal reports no devices connected


** (process:6135): WARNING **: synce_info_from_odccm: Failed to get a connection for My_Diamond: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
synce-pls: Could not find configuration at path ‘(Default)’


临时解决办法,用dhclient重启获取IP地址:


代码:
sudo dhclient eth1


引用:
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/


Listening on LPF/eth1/80:00:60:0f:e8:00
Sending on LPF/eth1/80:00:60:0f:e8:00
Sending on Socket/fallback
DHCPREQUEST of 169.254.2.2 on eth1 to 255.255.255.255 port 67
DHCPACK of 169.254.2.2 from 169.254.2.1
* Reloading /etc/samba/smb.conf smbd only

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu 9.04与Windows Mobile同步
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏