PDA

View Full Version : Use CD burner over the network



probono
03-20-2004, 10:46 PM
Hi all,

cdrecord on the Knoppix CD comes with a tool called "rscsi" that allows to share the CD burner over the network.

However, it seems that rscsi is configured in a very restrictive way out of the box and refuses all connections. I always get "Connection refused".

Has anyone got it to work?

Dave_Bechtel
03-21-2004, 01:44 AM
rscsi (I think) needs rlogin, and disallowing logins may be a firewall / iptables thing. Anyhow, see:

http://gd.tuwien.ac.at/utils/schilling/cdrecord/README.rscsi


Hi all,

cdrecord on the Knoppix CD comes with a tool called "rscsi" that allows to share the CD burner over the network.

However, it seems that rscsi is configured in a very restrictive way out of the box and refuses all connections. I always get "Connection refused".

Has anyone got it to work?

probono
03-21-2004, 03:32 PM
rscsi (I think) needs rlogin

rlogin on Knoppix is just a link to ssh. Thanks for the readme file, I have already tried to understand it (wit no success) but I will continue to try.

OErjan
03-21-2004, 03:40 PM
you could login with ssh and use the X-forwarding, that will open the program on the remote machine but you will see it on your side.

probono
03-21-2004, 06:57 PM
This is how I finally did it:


# examples for using a CD burner remotely (using just ssh)

# on the machine with the CD burner ("server", in this example 10.0.0.1),
# sshd must be running and you must be able to
# log in to the server using ssh

# 4x speed works just fine over a 10 Mbit network

# erase CDRW
ssh root@10.0.0.1 "cdrecord -blank=fast dev=0,0,0"

# to burn just simply one single file, e. g. a movie
# without joliet or other fancy stuff
mkisofs /mnt/hda2/movie.avi | ssh root@10.0.0.1 "cdrecord -speed=4 dev=0,0,0 -"

# to burn an ISO
ssh root@10.0.0.1 "cdrecord -speed=4 dev=0,0,0 -" < /mnt/hda1/xxx.iso

Dave_Bechtel
03-22-2004, 07:39 AM
Note - if using ssh, you may want to use protocol 2 and the "blowfish" cipher to speed things up:

' ssh -2 -X -c blowfish -l dave 10.0.0.2 $* '

--Also note that allowing people to login as root over ssh is a security hole, but you prolly already knew that. ;-)


This is how I finally did it:


# examples for using a CD burner remotely (using just ssh)

# on the machine with the CD burner ("server", in this example 10.0.0.1),
# sshd must be running and you must be able to
# log in to the server using ssh

# 4x speed works just fine over a 10 Mbit network

# erase CDRW
ssh root@10.0.0.1 "cdrecord -blank=fast dev=0,0,0"

# to burn just simply one single file, e. g. a movie
# without joliet or other fancy stuff
mkisofs /mnt/hda2/movie.avi | ssh root@10.0.0.1 "cdrecord -speed=4 dev=0,0,0 -"

# to burn an ISO
ssh root@10.0.0.1 "cdrecord -speed=4 dev=0,0,0 -" < /mnt/hda1/xxx.iso