Hi Rodolfo,

How are you connecting both PCs, are you using a switch or hub?. If you are connecting both devices directly to one another, you should use an ethernet crossover cable not a regular straight one... cause pc's nics don't have auto mdi/mdix capability.

Before attempting to use rsync, be sure that there's an established link between the pcs and that you have network connectivity (you can use nic's LEDs and "ifconfig" or "ethtool" for the first one and "ping" for the last one)

Best regards,

Ariel

On 09/02/2010 08:18 PM, Rodolfo Medina wrote:
Some months ago I managed to connect my Hyundai and Acer laptops with an
ethernet cable.  I can copy file from one PC to another with rsync.  The file
`/etc/network/interfaces' is edited on the Acer as follows:

auto lo
iface lo inet loopback

auto eth1
allow-hotplug eth1
iface eth1 inet static
        address 192.168.0.1
        netmask 255.255.255.0


, and on the Hyundai:

auto eth0
allow-hotplug eth0
iface eth0 inet static
        address 192.168.0.2
        netmask 255.255.255.0


Now, I want to connect the Hyundai with an old desktop PC.  How do I know how
to properly edit the same file?  I tried with eth0, eth1, 192.168.0.3, etc...,
but they don't connect:

$  rsync -vrtul --delete u 192.168.0.2:/home/rodolfo
ssh: connect to host 192.168.0.2 port 22: No route to host
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(453) [sender=2.6.9]


Please help on this issue.

Thanks
Rodolfo




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c804eda.9060...@ariellagana.com.ar

Reply via email to