[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [coldsync-hackers] modem sync-multiple palms



On Thu, 15 Nov 2001, John Joseph Roets wrote:
> > > I need multiple Palms (a full company's) to be able to dial in to a
> > modem, and
> > > sync via the ColdSync daemon process [-md].
> > >
> > 	In daemon mode, if you specify the device as "-", ColdSync will
> > use stdin as the sync device. Thus, you should be able to set up your
> > favorite daemon to answer the phone, then run
> > 		coldsync -t serial -md -
>
> Cool.  Does this mean that it should work directly over stdin?
> I am running the following as root from mgetty:
> "/usr/local/bin/coldsync -vvvvvvvvvv -l /usr/local/etc/test.log -t serial -md -"

	Instead of the "-v" options (which are intended for end-users),
try using debugging options. "-dsync:5 -dmisc:5 -dio:5" should be a good
start. RTFS to see what various values do.

> The palm connects, and mgetty runs coldsync [as above], and the ColdSync log
> file gets:
> Log started on Thu Nov 15 15:28:34 2001
>
> And that's it.  It just hangs around for a few minutes, and then coldsync stops,
> and mgetty re-spawns.

	Try rerunning it with debugging turned on. That should give a
better idea of what's going on.
	If the log file is empty, that suggests that it timed out waiting
for a Palm to show up. This could be a bug in ColdSync, or it could be a
problem with the way this is set up.

	As a simple test, you may want to replace coldsync in your
configuration with a different script:

	#!/bin/sh
	/bin/cat > /tmp/synclog

Since the Palm initiates the sync, you should wind up with the first
packet or so in /tmp/synclog. If not, check your mgetty (or pppd, or
whatever) setup.

Andrew Arensburger                      Actually, these _do_ represent the
arensb@ooblick.com                      opinions of ooblick.com!
                        Generic Tagline V 6.01

This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.