OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Mac Issues => Topic started by: dhns on May 14, 2004, 05:09:27 am
-
Dear all,
we have a new alpha release available for download through: http://www.dsitri.de/wiki.php?page=ZMacSync (http://www.dsitri.de/wiki.php?page=ZMacSync)
New Features* it is now copying (not yet syncing!) Addresses and Stickies from the Mac to the Zaurus (so, don\'t \'SYNC\' twice or you will get duplicated entries!)
* Log window
Note: this is alpha-ware which may not work at all with your system. Please report bugs.
PLEASE MAKE A BACKUP OF YOUR ZAURUS DATA BEFORE EXPERIMENTING!
-- hns
-
Hi
THis seems to work great.
It copies all the addresses intact as far as I can tell -still checking.
The program did finish on an error but not sure what tthis means.
keef
Console:
SlZDataManager::startEditCard(0)
SlZDataManager::finishEditCard(0)
2004-05-14 14:51:39.488 ZMacSync[1714] terminate notification NSConcreteNotification 113910 {name = NSTaskDidTerminateNotification; object = <NSConcreteTask: 0x1eb2710>}
2004-05-14 14:51:39.489 ZMacSync[1714] terminated.
2004-05-14 14:51:39.491 ZMacSync[1714] launch: /usr/bin/ssh -2 -l zaurus 192.168.129.201 /bin/cat >/etc/ZMacSync.ref
2004-05-14 14:51:39.497 ZMacSync[1714] launched.
2004-05-14 14:51:40.601 ZMacSync[1714] stderr: cannot create /etc/ZMacSync.ref: permission denied
2004-05-14 14:51:40.609 ZMacSync[1714] terminate notification NSConcreteNotification 113910 {name = NSTaskDidTerminateNotification; object = <NSConcreteTask: 0x19c4c0>}
2004-05-14 14:51:40.610 ZMacSync[1714] writeStatus: commit error Zaurus-1
-
2004-05-14 14:51:39.491 ZMacSync[1714] launch: /usr/bin/ssh -2 -l zaurus 192.168.129.201 /bin/cat >/etc/ZMacSync.ref
2004-05-14 14:51:39.497 ZMacSync[1714] launched.
2004-05-14 14:51:40.601 ZMacSync[1714] stderr: cannot create /etc/ZMacSync.ref: permission denied
2004-05-14 14:51:40.609 ZMacSync[1714] terminate notification NSConcreteNotification 113910 {name = NSTaskDidTerminateNotification; object = <NSConcreteTask: 0x19c4c0>}
2004-05-14 14:51:40.610 ZMacSync[1714] writeStatus: commit error Zaurus-1
Ok. ZMacSync tries to leave a timestamp in the file /etc/ZMacSync.ref when the last sync was completed. It appears that this file can\'t be written to on your Zaurus (missing access privileges).
Questions:
* Which model and ROM do you use use?
* do you use a user/password name different from \'root\' to access the Zaurus?
Many thanks,
hns
-
Hi
I have a C860 with original sharp rom 1.10 jp and mac osx 10.3.3
User name in Zmacsync was Zaurus as this is Hostname in PCsettings on the Z.
Should this be set to: root.?
keef
-
User name in Zmacsync was Zaurus as this is Hostname in PCsettings on the Z.
Should this be set to: root.?
Hi,
thanks!
That explains the error message. I think we should move the reference file to a different location (not /etc/ZMacSync.ref) so that you can access it through the \"zaurus\" user id.
The next release will try on this.
-- hns
-
Well, I couldn\'t use Samba to transfer the IPKs, so I just downloaded them to the Z instead. But ZMacSync application (after installing the IPKs on the Zaurus) works like a charm over the wireless. I didn\'t try the Address Book sync (since I use my Zaurus, not my Mac as my address book currently, and don\'t want to have to restore a backup of them), but the iCal/Caldendar/Todo psudo-sync worked like a charm.
I didn\'t try it over the USB, but may sometime soon.
I look forward to working releases of ZMacSync, especially ones where it takes the Z data and puts it on the Mac.
-
We just learned about an unexpected malfunction:
PLEASE NOTE
If you installed openssh and zdbat from the ZMacSync package you might encounter the following effect:
The Calendar/Datebook application crashes in Month-View mode.
The reason is that Calendar scans /home/zaurus/Documents and openssh installes some html files in a subdirectory OpenSSH therein.
But with root ownership and rw-------- access rights. Calendar (running at \'zaurus\' user id) is not prepared to handle unreadable directories.
To fix this, either change the access rights (through a Terminal) or even simpler, delete the OpenSSH folder - you do not need it for operation.
-- hns
-
Is ZMacSync specific to any particular Zaurus ROM?
-
Is ZMacSync specific to any particular Zaurus ROM?
Not directly. The main requirement it has is the DTM database which was introduced by Sharp in the ROM 3.10 for the 5500 series for Calendar, Addresses, Mail, ToDo etc. It comes with the standard installation on the other models (5600, C7xx, C860, 6000).
What will NOT work is OPIE (they have AFAIK a different database) and I don\'t know anything about pdaXROM.
-- hns
-
Hi, I am trying to get ZMacSync going on my PB running OS X 10.3.4 and a SL-C860 running the original ROM. ssh works fine between the two, as does smb. I can connect over both USB and 802.11b, but keep getting the following error message:
loading plugins
writing backup: mkdir -p ~/Library/ZMacSync; cd ~/Library/ZMacSync && tar czf `date +\'%Y%m%d%H%M%S\'`.tgz -C .. Addresses Calendars StickiesDatabase Safari/Bookmarks.plist
fetching Local-1 data...
fetching Zaurus-1 data...
syncing...
syncing Local-1 ...
slow syncing Local-1 with Zaurus-1 ...
syncing Zaurus-1 ...
slow syncing Zaurus-1 with Local-1 ...
committing Local-1...
committing Zaurus-1...
commit error Zaurus-1
I am using login \"root\". Is this commit error one of writing to my Z?
TIA,
C.
-
committing Local-1...
committing Zaurus-1...
commit error Zaurus-1
I am using login \"root\". Is this commit error one of writing to my Z?
It is a known bug in the 1.0a3 version. Just stay tuned for a new release to come (which will probably be a 1.0b1).
-- hns
-
Hi, I am trying to get ZMacSync going on my PB running OS X 10.3.4 and a SL-C860 running the original ROM. ssh works fine between the two, as does smb. I can connect over both USB and 802.11b, but keep getting the following error message:
. . .
I am using login \"root\". Is this commit error one of writing to my Z?
TIA,
C.
The password doesn\'t get used in the ssh connection ZMacSync uses to transfer files. To get around it, you can get ssh to authenticate with a public key rather than a password. Off the top of my head, it goes something like this:
On your Mac, open up the terminal. At the prompt, type:
ssh-keygen -t rsa
Let it put the file in the default location and leave the passphrase blank. Then scp the id_rsa.pub file in your ssh directory to your Zaurus.
scp ~/.ssh/id_rsa.pub root@:~/Documents/
Then ssh to your Zaurus as root, or open up the console on the Zaurus and su to root, and append the contents of id_rsa.pub to the authorized_keys file in the .ssh directory:
cat ~/Documents/id_rsa.pub >> ~/.ssh/authorized_keys
And that should make it work. Test it by trying to ssh to your Zaurus as root. It shouldn\'t ask you for a password. And if that works, ZMacSync should too. Hooray!
-
Then ssh to your Zaurus as root, or open up the console on the Zaurus and su to root, and append the contents of id_rsa.pub to the authorized_keys file in the .ssh directory:
cat ~/Documents/id_rsa.pub >> ~/.ssh/authorized_keys
And that should make it work. Test it by trying to ssh to your Zaurus as root. It shouldn\'t ask you for a password. And if that works, ZMacSync should too. Hooray!
Cool thx for the tip. The thing is ssh doesn\'t seem to keep its its keys in ~/.ssh/authorized_keys - I\'ll have to dig around awhile to find out where to cat id_rsa.pub.
C.
-
Hmmmm. It should do! That\'s where they are kept on my C750 with the Sharp ROM. That should be the same as yours. Don\'t worry if the authorized_keys file isn\'t there. It\'s not by default, not until you make it so that you can add some keys.
-
OK cool got it! I see that authorized_keys needs to be in /home/root/.ssh. Does the ZMacSync app need root access in order to transfer the data from the Mac?
Also, only a few degrees off-thread, but does anyone the location of the Z\'s data files that get written by ZMacSync? I want to make sure all is backed-up ok...
C.
-
Hi -
As a further post, ZMacSync worked for my AddressBook & Stickies over a 802.11b connection!! Nice one. Allyrfriends\' tip above did the trick. ;-) Thx all!
However, I couldn\'t get ZMacSync to do anything with my to-do or ical data from my Mac. Is this feature working in this version?
I\'ll ask again, but which are the data files on the Z that are being used written/psudo-sync\'ed?
-
As said in the first post in this thread... Only the Stickies and Address are COPIED (not SYNCED) from the Mac TO the Zaurus.
I assume the other things will be synced/copied in future versions.
On another note, I cannot wait for a fully working version...
-
I just tried this yesterday on my Powebook running the latest OS X.3 version. It didn\'t quite work.
I had to install the USB driver twice. On the second try, I could see it in System Preference -] Network. I could then ping it, ssh to it, etc.
The first problem I ran into was trying to set up the SMB/CIFS connection. I changed the workgroup to WORKGROUP and the username to zaurus and left the password blank. However, each time I tried to connect, it kept saying my username and password were wrong.
Since I could ssh, I figured I just try to run ZMacSync anyway. It did create some files, but those never got transferred over to the Z. I assume the problem setting up SMB is to blame.
Does anyone know what might be wrong here?
Thanks
Curt
-
ZMacSync does not use SMB. It only uses SSH.
The SMB problem might be resolved by trying \"root\" as the user and no password. Also if you have set a security passcode in the Security app, try that as the password.
1.0a3 version of ZMacSync only copies (not syncs) the Stickies (to Text Editor notes) and the Address Book (to Address Book, duh). Also, I\'m not sure, but does Cacko use the DTM format for the PIM database? Because ZMacSync only works with the DTM. (I don\'t know since I have a 5600). And if it does, you did install the zdbat ipk included with ZMacSync?
-
Yep, I have zdbat installed and I believe the Cacko Qt ROM should support the right format since it\'s a derivative of the Sharp ROM. I\'ll have to check my Z to see if the files were uploaded and just not loaded into the AddressBook app.
Curt
-
Any chance of maybe releasing the source code for ZMacSync? It seems to not be having a lot of work being done on it (please, correct me if I'm wrong), and I wouldn't mind trying my hand at getting some more features working...
-
Also, I'm not sure, but does Cacko use the DTM format for the PIM database? Because ZMacSync only works with the DTM. (I don't know since I have a 5600). And if it does, you did install the zdbat ipk included with ZMacSync?
Cacko does use DTM. Any chance for syncing with KOrganizer/PI?
-
It seems to not be having a lot of work being done on it (please, correct me if I'm wrong).
We have had published some alpha-versions (still buggy and not complete) to gain first user-experience and feedback (thanks to all for your encouragement!). We are currently working to finalize the (shareware) version which does real syncing and includes the calendar. And we had to tackle the 10.3.5 USB driver issue first. Please give us a little more time.
-- hns
-
We have had published some alpha-versions (still buggy and not complete) to gain first user-experience and feedback (thanks to all for your encouragement!). We are currently working to finalize the (shareware) version which does real syncing and includes the calendar. And we had to tackle the 10.3.5 USB driver issue first. Please give us a little more time.
I know about the alpha versions. Just since they don't go both ways it's kinda useless to me at the moment.
I asked if it was still being worked on because it's been four months since any updates on it... May 14th was the post about the latest alpha release. The kernel panic was only a few weeks ago.
One more thing, by shareware, you mean once it's complete it's gonna be something requiring money? (I'm not someone who buys much software -- any kind of it. The last piece of software I purchased was OSX -- and I mean the OSX that came with my PowerBook. Coming from Linux [and still using it for x86 desktops and servers], I'm not used to paying for... Well, anything. 90% of it is OSS [Open Source Software].)
-
So,
it is time to describe what is going on with this project and why it was quiet for a longer time.
The reason is that we have found a very annoying behaviour (not really a bug). If you delete the first entry in the Address book or Calendar on the Zaurus and create a new one, the sync mechanism might confuse both and not be able to distinguish them any more.
The cause is deep and a potential cure was very difficult to find - but is now easily explained:
* on the Mac, Address book entries and Calendar entries are qualified by vCard/vCalendar "Unique ID" which needs to be translated to the Zaurus
* we use up to now 'zdbat' to access the Sharp DTM database
* 'zdbat' hides the interesting fields "CTTM", "MDTM", "SYID" which would allow to uniquely indentify entries by creation date
* we have been looking for a replacement trick - which did not work
* so, since we do not have the source code of zdbat, we have now started our own tool based on 'dtmdump'
* we currently fix bugs and extend this tool (which by the way is GPL, so we will publish the modified source)
* this changes the data format from Comma Separated Value lines to XML (which is generally a good step)
* but requires us to modify the parser in the ZMacSync logic as well
All this needs more time and testing...
So, please stay tuned.
-- hns
-
Finally some more news! I really would like to be able to sync my 5600 and my PowerBook soon... Using only the Z for school is gonna get a little difficult, so I'd prefer to have a sync going on...
Any ideas on a timeframe for a final, working release (with at least Calendars/Addresses/Todos)?
-
* so, since we do not have the source code of zdbat, we have now started our own tool based on 'dtmdump'
* we currently fix bugs and extend this tool (which by the way is GPL, so we will publish the modified source)
* this changes the data format from Comma Separated Value lines to XML (which is generally a good step)
A first experimental version of the new dtmdump tool is available for download (USE AT YOUR OWN RISK). Details are described in this thread:
https://www.oesf.org/forums/inde...?showtopic=7299 (https://www.oesf.org/forums/index.php?showtopic=7299)
-- hns
-
Hey looking foward to the completion of this software woudlnt' mind to pay small amount of money if the PIM sync could work with mac properly (but sorry I'm too chicken to try to beta verizon, my PIM info are too important, and dont want to go through the hassle of backing them up or restoring them in case anythig happened)
-
i really wish the sync works for Mac <-> Zaurus Sharp ROM (or Cacko)
for my iCal, Addressbook, Stickes, Todo List
so i can make myself more productive
-
Hi all,
I just want to let you know that we have made much progress for the new ZMacSync.
What is now working (again):
* the new dtm2xml tool seems to work on SL5500 and C860 with Sharp ROM 3.10 resp. ROM 1.4 JP
* it has been fixed to be fully XML compliant
* the new Zaurus.conduit is now properly reading all DTM database entries from the Zaurus into the Mac
* most of the records are converted properly (except Calendar entries)
* writing (sync) to the Zaurus ends in a core dump - so real syncing is still a little away
* the new scheme for uniquely identifying entries on the Zaurus could not be tested yet because it needs to track written entries properly
So, this means some final wrapup, bug fixing and internal testing until we can publish a free (but restricted) beta release. I hope this can be within the next two weeks.
If the beta test phase, we want to make ZMacSync a shareware at a price of 10 US$.
-- hns
-
Ah, $10 US isn't bad.... Unfortunately I have NO way at all to pay for anything online, personally. No credit cards, and, being Canadian, sending money would really be problematic...
Oh well, maybe I'll play around with making my own sync scripts sometime...
-
Ooopss....
-
FWIW, I think $10 is a small price to pay for all the work involved and finally having Mac Sync capabilities!
Look forward to the next release!
Thanks,
Mark
-
Any news on this?
A month ago it sounded like there would soon be a more functional beta. Having finally got a Mac at work, I'm keen to give it a go...