[solved] Re: rsync with crossover cable connection
Sven Joachim <svenjoac@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
Reply to: