Re: Synchronize two computers

2010-01-27 Thread Celejar
On Thu, 21 Jan 2010 17:20:49 +0530 Kousik Maiti wrote: > You need cross connected cable to connect 2 pc via lan card . > http://en.wikipedia.org/wiki/Ethernet_crossover_cable IIUC, many (most?) ethernet cards today support auto-crossover, which means that you can use a crossover or a patch cable

Re: rsync with crossover cable connection (was: Synchronize two computers)

2010-01-22 Thread Michael Mohn
Am 22.01.2010 um 19:51:00 schrieb Boyd Stephen Smith Jr.: > On Friday 22 January 2010 12:24:43 Rodolfo Medina wrote: >> Johannes Wiedersich writes: >>> Check and possibly post the output of "/sbin/ifconfig" >>> >>> "ssh -v u...@192.168.0.2" might also help to diagnose your problem. >> >> Still

Re: rsync with crossover cable connection (was: Synchronize two computers)

2010-01-22 Thread Boyd Stephen Smith Jr.
On Friday 22 January 2010 12:24:43 Rodolfo Medina wrote: > Johannes Wiedersich writes: > > Check and possibly post the output of "/sbin/ifconfig" > > > > "ssh -v u...@192.168.0.2" might also help to diagnose your problem. > > Still needing your help: > The `ping' command from first machine: > >

Re: rsync with crossover cable connection (was: Synchronize two computers)

2010-01-22 Thread Michael Mohn
Am 22.01.2010 um 19:24:43 schrieb Rodolfo Medina: > Johannes Wiedersich writes: > >> Check and possibly post the output of "/sbin/ifconfig" >> >> "ssh -v u...@192.168.0.2" might also help to diagnose your problem. > > > > Still needing your help: > > following the suggestion come from the

Re: rsync with crossover cable connection (was: Synchronize two computers)

2010-01-22 Thread Rodolfo Medina
Johannes Wiedersich writes: > Check and possibly post the output of "/sbin/ifconfig" > > "ssh -v u...@192.168.0.2" might also help to diagnose your problem. Still needing your help: following the suggestion come from the list, I edited /etc/network/interfaces on the first pc as follows: auto

Re: Synchronize two computers

2010-01-22 Thread Rodolfo Medina
Rodolfo Medina wrote: >> It doesn't work either. I think that the two pcs don't see each other: also >> the command `ssh 192.168.0.2' produces nothing. Johannes Wiedersich writes: > Check and possibly post the output of "/sbin/ifconfig" > > "ssh -v u...@192.168.0.2" might also help to diagnos

Re: Synchronize two computers

2010-01-22 Thread Alexey Salmin
On Fri, Jan 22, 2010 at 3:23 PM, Rodolfo Medina wrote: > On 10-01-21 14:17:37, Rodolfo Medina wrote: > >>>  $ rsync -vru --delete ssh://192.168.0.2/home/rodolfo/test1 >>> /home/rodolfo/ >>> >>> but got error: >>> >>> ssh: ssh: Temporary failure in name resolution >>> rsync: connection unexpectedly

Re: Synchronize two computers

2010-01-22 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rodolfo Medina wrote: > It doesn't work either. I think that the two pcs don't see each other: also > the command `ssh 192.168.0.2' produces nothing. Check and possibly post the output of "/sbin/ifconfig" "ssh -v u...@192.168.0.2" might also help to

Re: Synchronize two computers

2010-01-22 Thread Rodolfo Medina
On 10-01-21 14:17:37, Rodolfo Medina wrote: >> $ rsync -vru --delete ssh://192.168.0.2/home/rodolfo/test1 >> /home/rodolfo/ >> >> but got error: >> >> ssh: ssh: Temporary failure in name resolution >> rsync: connection unexpectedly closed (0 bytes received so far) >> [receiver] >> rsync error:

Re: Synchronize two computers

2010-01-21 Thread Tony Nelson
On 10-01-21 14:17:37, Rodolfo Medina wrote: ... > $ rsync -vru --delete ssh://192.168.0.2/home/rodolfo/test1 > /home/rodolfo/ > > but got error: > > ssh: ssh: Temporary failure in name resolution > rsync: connection unexpectedly closed (0 bytes received so far) > [receiver] > rsync error: unexp

Re: Synchronize two computers

2010-01-21 Thread Alex Samad
On Thu, Jan 21, 2010 at 12:04:07PM +, Michal wrote: > On 21/01/2010 11:50, Kousik Maiti wrote: > > You need cross connected cable to connect 2 pc via lan card . > > http://en.wikipedia.org/wiki/Ethernet_crossover_cable > > > > After connecting 2 pc via that cable you just put ip address of sam

Re: Synchronize two computers

2010-01-21 Thread Rodolfo Medina
Andrei Popescu writes: > It's all in the manpage, but here you go: > > hyundai: > > allow-hotplug eth0 > iface eth0 inet static > address 192.168.A.X > netmask 255.255.255.0 > > acer: > > allow-hotplug eth0 > iface eth0 inet static > address 192.168.A.Y > netmask 255.255.2

Re: Synchronize two computers

2010-01-21 Thread Andrei Popescu
On Thu,21.Jan.10, 18:04:12, Rodolfo Medina wrote: > > Will it be enough to properly edit /etc/networks/interfaces on both machines? Yes > Can anybody suggest a practical example of those files for my case? Let's > call > the two pcs `acer' and `huyndai'. It's all in the manpage, but here you

Re: Synchronize two computers

2010-01-21 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rodolfo Medina wrote: > Andrew Malcolmson writes: > >> Another vote here for Unison when changes can occur on either copy, as >> the OP is doing. If only one end changes, then rsync or its derivations >> such as rdiff-backup are great. > > Well, ac

Re: Synchronize two computers

2010-01-21 Thread Rodolfo Medina
Rodolfo Medina wrote: >>> I just bought the Acer One netbook, on which Lenny seems to work > fine. What I >>> need now is: >>> >>> 1) connect it to my old Hyundai laptop so to share data between the two; >>> >>> 2) periodically save, e.g. to the Hyundai the changes I made in my home >>> directory

Re: Synchronize two computers

2010-01-21 Thread Rodolfo Medina
Rodolfo Medina wrote: >>> I just bought the Acer One netbook, on which Lenny seems to work > fine. What I >>> need now is: >>> >>> 1) connect it to my old Hyundai laptop so to share data between the two; >>> >>> 2) periodically save, e.g. to the Hyundai the changes I made in my home >>> directory

Re: Synchronize two computers

2010-01-21 Thread Sjoerd Hardeman
>> ... Thanks for your explanation. > Do I have to install ssh? Yes. But that's easy, as there's no configuration involved. I'm immediately searching shops for a crosslink cable, but then how do I "set the networks on both computers appropriately"? If you use eg. network manager or wicd, you

Re: Synchronize two computers

2010-01-21 Thread Andrew Malcolmson
On Thu, 2010-01-21 at 14:08 +0100, Marc Olive wrote: > El Thursday 21 January 2010 13:34:32 Aioanei Rares va escriure: > > I'd keep it simple : ssh + rsync. > > Even simpler: use Unison > Another vote here for Unison when changes can occur on either copy, as the OP is doing. If only one end cha

Re: Synchronize two computers

2010-01-21 Thread Marc Olive
El Thursday 21 January 2010 13:34:32 Aioanei Rares va escriure: > I'd keep it simple : ssh + rsync. Even simpler: use Unison -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: Synchronize two computers

2010-01-21 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FWIW: Use 'rsync' for backups (one way transfer) Use 'unison' for *synchronization* of (equivalent) data between computers etc. - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole syste

Re: Synchronize two computers

2010-01-21 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rodolfo Medina wrote: > Eduardo M KALINOWSKI writes: >> Naturally, it needs to look at each file to see if they are equal or not, it >> cannot guess which files are changed. By default this is based on the >> modification time (and possibly size, I'

Re: Synchronize two computers

2010-01-21 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe wrote: > Unison will indeed do it, but the GUI will expect to find the source and > destination as directories. If you are already running a Samba > file-sharing server on one of the machines, that is the simplest way. You don't need a samba serve

Re: Synchronize two computers

2010-01-21 Thread Rodolfo Medina
On Qui, 21 Jan 2010, Rodolfo Medina wrote: >> 2) it seems to me that rsync processes *all* the files and not only the ones >>that really have changed, which would take long with my 2G home dir. >> Maybe >>some special option of rsync? Eduardo M KALINOWSKI writes: > How are you calling

Re: Synchronize two computers

2010-01-21 Thread Rodolfo Medina
Rodolfo Medina wrote: >>> I just bought the Acer One netbook, on which Lenny seems to work > fine. What I >>> need now is: >>> >>> 1) connect it to my old Hyundai laptop so to share data between the two; >>> >>> 2) periodically save, e.g. to the Hyundai the changes I made in my home >>> directory

Re: Synchronize two computers

2010-01-21 Thread Sjoerd Hardeman
Aioanei Rares schreef: > Rodolfo Medina wrote: >> Hi to all Debian users. >> >> I just bought the Acer One netbook, on which Lenny seems to work fine. What I >> need now is: >> >> 1) connect it to my old Hyundai laptop so to share data between the two; >> >> 2) periodically save, e.g. to the Hy

Re: Synchronize two computers

2010-01-21 Thread Aioanei Rares
Rodolfo Medina wrote: Hi to all Debian users. I just bought the Acer One netbook, on which Lenny seems to work fine. What I need now is: 1) connect it to my old Hyundai laptop so to share data between the two; 2) periodically save, e.g. to the Hyundai the changes I made in my home director

Re: Synchronize two computers

2010-01-21 Thread Michal
On 21/01/2010 11:50, Kousik Maiti wrote: > You need cross connected cable to connect 2 pc via lan card . > http://en.wikipedia.org/wiki/Ethernet_crossover_cable > > After connecting 2 pc via that cable you just put ip address of same > class . Then you can communicate between 2 pcs > A lot of mo

Re: Synchronize two computers

2010-01-21 Thread Eduardo M KALINOWSKI
On Qui, 21 Jan 2010, Rodolfo Medina wrote: 2) it seems to me that rsync processes *all* the files and not only the ones that really have changed, which would take long with my 2G home dir. Maybe some special option of rsync? How are you calling rsync? That's exactly what it doesn't. I

Re: Synchronize two computers

2010-01-21 Thread Kousik Maiti
You need cross connected cable to connect 2 pc via lan card . http://en.wikipedia.org/wiki/Ethernet_crossover_cable After connecting 2 pc via that cable you just put ip address of same class . Then you can communicate between 2 pcs On Thu, Jan 21, 2010 at 5:15 PM, Rodolfo Medina wrote: > Rodolfo

Re: Synchronize two computers

2010-01-21 Thread Rodolfo Medina
Rodolfo Medina wrote: >>> I just bought the Acer One netbook, on which Lenny seems to work fine. >>> What I need now is: >>> >>> 1) connect it to my old Hyundai laptop so to share data between the two; >>> >>> 2) periodically save, e.g. to the Hyundai the changes I made in my home >>> directory in

Re: Synchronize two computers

2010-01-21 Thread Rob Owens
On Thu, Jan 21, 2010 at 10:54:13AM +, Joe wrote: > Rodolfo Medina wrote: >> Hi to all Debian users. >> >> I just bought the Acer One netbook, on which Lenny seems to work fine. What >> I >> need now is: >> >> 1) connect it to my old Hyundai laptop so to share data between the two; >> >> 2) pe

Re: Synchronize two computers

2010-01-21 Thread Joe
Rodolfo Medina wrote: Hi to all Debian users. I just bought the Acer One netbook, on which Lenny seems to work fine. What I need now is: 1) connect it to my old Hyundai laptop so to share data between the two; 2) periodically save, e.g. to the Hyundai the changes I made in my home director

Re: Synchronize two computers

2010-01-21 Thread Leonardo Canducci
unison (has a gtk frontend too) -- Leonardo Canducci -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Synchronize two computers

2010-01-21 Thread Rodolfo Medina
Hi to all Debian users. I just bought the Acer One netbook, on which Lenny seems to work fine. What I need now is: 1) connect it to my old Hyundai laptop so to share data between the two; 2) periodically save, e.g. to the Hyundai the changes I made in my home directory in the Acer and viceve