Re: [ILUG] network/serial Q

From: Justin Mason (jm at domain netnoteinc.com)
Date: Mon 09 Aug 1999 - 12:01:14 IST


jplooney at domain compapp.dcu.ie said:

> I have my pilot link software setup on my machine in DCU. Does stuff like
> uses sitescooper [...]

Cool! ;)

> Make a /dev/pilot fifo pipe file on my machine that runs the pilot-sync
> software, and the desktop of the day (offsite). Use netcat, somehow, do
> take anything written to /dev/pilot on one machine, and send it over the
> network, to look like it was written to /dev/pilot on the other machine....

IMHO a good starting point might be vsound -- you could implement it
similarly to vsound, by using LD_PRELOAD to cut in on open() and catch
opens, reads writes and ioctls etc. on "/dev/pilot".

In terms of what kind of tool to use to do the networking -- I think you'd
be better off using ssh to encapsulate it -- otherwise you could have some
potential security problems. AFAIK netcat is actually a security tool like
nmap (or at least there's a tool called netcat).

(BTW I would recommend trying to mirror the pending_install dir instead of
making /dev/pilot network-aware; I would imagine that pilot-link might
have some speed limitations and using it over any kind of high-latency net
like the internet could cause your Pilot to crash... I've even had a few
crashes on my desktop Linux machine using pilot-link while the machine was
just being dragged down by netscape.)

BTW has anyone been able to get vsound working with re*lplayer? I know of
a couple of Re*l streams I wouldn't mind getting on disk, but the player
just coredumps when I use vsound. :(

--j.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:26 GMT