[solved] Re: rsync with crossover cable connection

2010-01-28 Thread Rodolfo Medina
Sven Joachim svenj...@gmx.de writes:

 It may be that eth1 is the right device.  Can you please show the
 contents of /etc/udev/rules.d/70-persistent-net.rules ?


It seems that you were right.  In /etc/network/interfaces I replaced eth0 with
eth1 and (some days after, when I got back home) it worked fine: now I can use
rsync to copy data between the two pcs connected via an ethernet cable.


Here's Hyundai's /etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
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 here's Acer's /etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
#auto lo
#iface lo inet loopback

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

From Acer to Hyundai, I do:

 $ rsync -vr test 192.168.0.1:/home/rodolfo

, and, from Hyundai to Acer:

 $ rsync -vr test 192.168.0.2:/home/rodolfo

Thanks
Rodolfo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [solved] Re: rsync with crossover cable connection

2010-01-28 Thread Alex Samad
On Thu, Jan 28, 2010 at 09:35:22PM +0100, Rodolfo Medina wrote:
 Sven Joachim svenj...@gmx.de writes:
 

[snip]

 From Acer to Hyundai, I do:
 
  $ rsync -vr test 192.168.0.1:/home/rodolfo
 
 , and, from Hyundai to Acer:
 
  $ rsync -vr test 192.168.0.2:/home/rodolfo

what happens if you have modified the same file on both of them ?

plus I would probably add 

-SHz

spare
hardlink
compression


 
 Thanks
 Rodolfo
 
 

-- 
You teach a child to read, and he or her will be able to pass a literacy test.

- George W. Bush
02/21/2001
Townsend, TN


signature.asc
Description: Digital signature