OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> ANN: ZMacSync-1.0a3 available
dhns
post May 14 2004, 01:09 AM
Post #1





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



Dear all,

we have a new alpha release available for download through: http://www.dsitri.de/wiki.php?page=ZMacSync

New Features[list]
* 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
[list]

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
Go to the top of the page
 
+Quote Post
keef
post May 14 2004, 08:55 AM
Post #2





Group: Members
Posts: 124
Joined: 31-January 04
Member No.: 1,634



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
Go to the top of the page
 
+Quote Post
dhns
post May 15 2004, 12:00 AM
Post #3





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE
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
Go to the top of the page
 
+Quote Post
keef
post May 16 2004, 02:16 AM
Post #4





Group: Members
Posts: 124
Joined: 31-January 04
Member No.: 1,634



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
Go to the top of the page
 
+Quote Post
dhns
post May 16 2004, 03:34 AM
Post #5





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE
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
Go to the top of the page
 
+Quote Post
Inuyasha
post May 21 2004, 11:01 PM
Post #6





Group: Members
Posts: 74
Joined: 19-October 03
From: Canada
Member No.: 679



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. smile.gif
Go to the top of the page
 
+Quote Post
dhns
post May 22 2004, 02:37 AM
Post #7





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



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
Go to the top of the page
 
+Quote Post
charlesa
post May 25 2004, 10:32 AM
Post #8





Group: Members
Posts: 89
Joined: 23-April 04
From: Thailand
Member No.: 2,967



Is ZMacSync specific to any particular Zaurus ROM?
Go to the top of the page
 
+Quote Post
dhns
post May 25 2004, 10:36 AM
Post #9





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE
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
Go to the top of the page
 
+Quote Post
charlesa
post Jun 4 2004, 11:04 AM
Post #10





Group: Members
Posts: 89
Joined: 23-April 04
From: Thailand
Member No.: 2,967



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.
Go to the top of the page
 
+Quote Post
dhns
post Jun 5 2004, 12:14 PM
Post #11





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE
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
Go to the top of the page
 
+Quote Post
allyrfriends
post Jun 8 2004, 02:41 AM
Post #12





Group: Members
Posts: 32
Joined: 9-December 03
Member No.: 1,094



QUOTE
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:

CODE
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.

CODE
scp ~/.ssh/id_rsa.pub root@<Zaurus IP address>:~/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:

CODE
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!
Go to the top of the page
 
+Quote Post
charlesa
post Jun 8 2004, 09:24 AM
Post #13





Group: Members
Posts: 89
Joined: 23-April 04
From: Thailand
Member No.: 2,967



QUOTE
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:

CODE
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.
Go to the top of the page
 
+Quote Post
allyrfriends
post Jun 8 2004, 10:11 AM
Post #14





Group: Members
Posts: 32
Joined: 9-December 03
Member No.: 1,094



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.
Go to the top of the page
 
+Quote Post
charlesa
post Jun 9 2004, 08:01 AM
Post #15





Group: Members
Posts: 89
Joined: 23-April 04
From: Thailand
Member No.: 2,967



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.
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th July 2014 - 01:01 AM