Author Topic: ANN: ZMacSync-1.0a3 available  (Read 12052 times)

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
ANN: ZMacSync-1.0a3 available
« 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

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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

keef

  • Full Member
  • ***
  • Posts: 129
    • View Profile
ANN: ZMacSync-1.0a3 available
« Reply #1 on: May 14, 2004, 12:55:03 pm »
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

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
ANN: ZMacSync-1.0a3 available
« Reply #2 on: May 15, 2004, 04:00:59 am »
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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

keef

  • Full Member
  • ***
  • Posts: 129
    • View Profile
ANN: ZMacSync-1.0a3 available
« Reply #3 on: May 16, 2004, 06:16:59 am »
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

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
ANN: ZMacSync-1.0a3 available
« Reply #4 on: May 16, 2004, 07:34:51 am »
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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Inuyasha

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • http://www.duelmonsters.ca/
ANN: ZMacSync-1.0a3 available
« Reply #5 on: May 22, 2004, 03:01:01 am »
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.
-Justin

Zaurus SL-5600
PXA250
Mildly customized 1.32 Sharp ROM
Custom (cache workaround disabled only) zImage
256 MB Transcend Compact Flash, 64 MB Transcend MMC
Linksys WCF12 WiFi Card
Palm Tungsten T Stylus

PowerBook 12" G4 1 Ghz/1.25 GB RAM/80 GB HD/32 MB GeForce FX Go5200
OS X 10.3.4

Pentium II 417 Mhz/320 MB RAM/2x 20 GB HD/64 MB ATI Radeon 7500
Debian Sid

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
ANN: ZMacSync-1.0a3 available
« Reply #6 on: May 22, 2004, 06:37:38 am »
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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

charlesa

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
ANN: ZMacSync-1.0a3 available
« Reply #7 on: May 25, 2004, 02:32:06 pm »
Is ZMacSync specific to any particular Zaurus ROM?

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
ANN: ZMacSync-1.0a3 available
« Reply #8 on: May 25, 2004, 02:36:39 pm »
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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

charlesa

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
ANN: ZMacSync-1.0a3 available
« Reply #9 on: June 04, 2004, 03:04:45 pm »
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.

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
ANN: ZMacSync-1.0a3 available
« Reply #10 on: June 05, 2004, 04:14:10 pm »
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
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

allyrfriends

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.takeyourhand.com
ANN: ZMacSync-1.0a3 available
« Reply #11 on: June 08, 2004, 06:41:38 am »
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: [Select]
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: [Select]
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:

Code: [Select]
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!
[span style=\'font-size:8pt;line-height:100%\']SL-C750/pdaXrom 1.1.0 rc8 + Symbol WiFi, Lexar 1GB SD, Kingston 256MB SD & Magicstor 2.2GB microdrive
SL-5500/OZ 3.5.1/GPE + Origo WiFi & Pretec 64MB SD
--------------------
We're driving the ghosts out!
[/span]

charlesa

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
ANN: ZMacSync-1.0a3 available
« Reply #12 on: June 08, 2004, 01:24:42 pm »
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: [Select]
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.

allyrfriends

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.takeyourhand.com
ANN: ZMacSync-1.0a3 available
« Reply #13 on: June 08, 2004, 02:11:42 pm »
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.
[span style=\'font-size:8pt;line-height:100%\']SL-C750/pdaXrom 1.1.0 rc8 + Symbol WiFi, Lexar 1GB SD, Kingston 256MB SD & Magicstor 2.2GB microdrive
SL-5500/OZ 3.5.1/GPE + Origo WiFi & Pretec 64MB SD
--------------------
We're driving the ghosts out!
[/span]

charlesa

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
ANN: ZMacSync-1.0a3 available
« Reply #14 on: June 09, 2004, 12:01:07 pm »
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.