[Udpcast] Udpcast and ssh
Stephen Kaspersen
stephen at spectrumvns.com
Wed Sep 15 11:07:30 CEST 2004
If he edits for example /etc/rc.d/skeleton in Suse 8.2
changes the line ' FOO_BIN=/usr/sbin/FOO ' to ' FOO_BIN="udp-receiver -f
/dev/hda1 -nokbd" '
and saves the file as /etc/rc.d/udp-reciever
Then ssh in type : /etc/rc.d/udp-reciever start
After exiting udp-reciever will be running as a service the same way one
uses /etc/rc.d/xinetd start to allow ftp-ing to a server
If udp-reciever was stopping because it was bound to a session this would no
longer be the case
I have tried it and it works
Stephen Kaspersen
Software Developer
Spectrum Visual Networks
A Top Technology 100 Company
----- Original Message -----
From: "Alain Knaff" <alain at knaff.lu>
To: <udpcast at udpcast.linux.lu>
Cc: "Stephen Kaspersen" <stephen at spectrumvns.com>
Sent: Wednesday, September 15, 2004 10:40 AM
Subject: Re: [Udpcast] Udpcast and ssh
> On Wednesday 15 September 2004 09:36, Stephen Kaspersen wrote:
> > You have to register udp-reciever as a service in /etc /rc.d/
> >
> > There is usualy skeleton code in this directory that you can just
replace
> > the [service] with udp-reciever
> > Then change your script to /etc/rc.d/yourscript start
> >
> > Stephen Kaspersen
> > Software Developer
> > Spectrum Visual Networks
> > A Top Technology 100 Company
>
> I'm not sure what you're talking about here, but normally udpcast
> doesn't use any files in /etc , nor in /rc.d
>
> Busybox does use files in /etc/, but for purposes not directly related
> to udpcast.
>
> Regards,
>
> Alain
>
> > ----- Original Message -----
> > From: "sistemista windows/linux cosenz int.5834"
> > <matteo.balduzzi at cdc.polimi.it>
> > To: <udpcast at udpcast.linux.lu>
> > Sent: Wednesday, September 15, 2004 8:51 AM
> > Subject: [Udpcast] Udpcast and ssh
> >
> > > Hi everybody.
> > > I have to clone a large number of machines, so i installed udpcast on
> > > the linux partition of my dual boot machines.
> > > I'd like, from the server, to do something like this:
> > >
> > > for i in `seq 0 9`; do ssh machine$i "udp-receiver -f /dev/hda1"; done
> > >
> > > to start on every machine the udp-receiver and clone the windows
> > > partition.
> > >
> > > udp-receiver starts (i see it listening on port 9000), but when i
start
> > > cloning it exits...
> > > I tried also putting the process in background, using nohup and using
> > > the option --nokbd, but nothing changes.
> > >
> > > Anybody tried somthing like this before or have any idea of what's
going
> > > wrong?
> > >
> > >
> > > -------------------------------------------------
> > > This mail sent through IMP: http://horde.org/imp/
> > >
> > > _______________________________________________
> > > Udpcast mailing list
> > > Udpcast at udpcast.linux.lu
> > > http://udpcast.linux.lu/mailman/listinfo/udpcast
> >
> > _______________________________________________
> > Udpcast mailing list
> > Udpcast at udpcast.linux.lu
> > http://udpcast.linux.lu/mailman/listinfo/udpcast
>
>
More information about the Udpcast
mailing list