> So here goes: (I understand objections to helping out with basic Linux
> procedures/ syntax, but what could be more Toms-specific than this?)

Nothing about this is tomsrtbt specific, and the question doesn't give 
any indication of where you had problems when you tried to do it
without help, but, I'll give it a shot...

> You've got two machines on the same worksurface, both powered up, and
> connected via LPT1 with the yellow LapLink cable or equivalent. They are
> both booted from Tom's disk, and you've just typed the password xxxx at
> each keyboard. What do you have to do to copy some files from one machine
> to the other? (An illustration where files are transferred between, say,
> an ext2 partition and a FAT32 partition, will be very helpful and offer
> sufficient pointers for other combinations.)

The partitions types are irrelevent as long as they are mounted.

One of the problems is that there are often several ways to do the same
thing, rsh & rshd OR nc, tar OR cpio, etc., The way I do it is roughly:

# on 192.168.1.9
insmod plip
ifconfig plip0 192.168.1.9 pointopoint 192.168.1.10 up
route add 192.168.1.10 plip0

# on 192.168.1.10
insmod plip
ifconfig plip0 192.168.1.10 pointopoint 192.168.1.9 up
route add 192.168.1.9 plip0
cat > /.rhosts <<!
192.168.1.9
!
cat > /etc/inittab <<!
c5:5:respawn:/usr/bin/nc -l -p 514 -e /usr/bin/rshd
!
kill -HUP 1
mount /dev/hda1 /mnt

# on 192.168.1.9
mount /dev/hda1 /mnt
find /mnt/filenames | cpio -o | rsh 192.168.1.10 cd dirname ";" cpio -iuvmd


Now, you can, if you want, use nc on both machines instead of rsh/rshd,
or, use tar instead of cpio/find, or, use various other combinations.

You should DEFINITELY READ AND UNDERSTAND the manpages included on
tomsrtbt for the following:

ash     cat     cpio    dd      fdisk   find    ifconfig        init
inittab insmod  mount   nc      pax     route   rsh     rshd    script
snarf   sync    tar     umount

and any reading in the net3-howto that is supportive, then try it out,
then tell us where exactly you get stuck and what isn't working.  Given
the set of tools available, there are many ways to do it, given you have
the plip link up and the routing in place.  Where are you getting stuck?

-Tom

Reply via email to