From: Andrew Malcolmson on
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 changes, then rsync or its derivations
such as rdiff-backup are great.



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Rodolfo Medina on
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 the Acer and viceversa. I wish that only the files
> that really
>>> changed were copied, so to save useless time.
>>>
>>> Can anybody provide suggestions about both issues? I've never
> connected two
>>> machines together.

Andrew Malcolmson <andmalc(a)gmail.com> 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, actually the changes will occur on one end at a time, so rsync seems the
best to me. But the real difficulty I'm a bit worried about is that I'm
waiting for shops to open so to go and buy a crosslink cable, and then? After
plugging the two together, how shall I do the proper settings in order to be
able use rsync?

Thanks for any further help
Rodolfo


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Sjoerd Hardeman on
>> ...
> 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 can use the gui-config tools
that come with these programmes. Else you have to set
/etc/networks/interfaces (see man interfaces)
Use either the 10.x.x.x or 192.168.x.x range, these ranges are for
private use. Configure eg the two pc's as
192.168.0.1, netmask 255.255.255.0
192.168.0.2, netmask 255.255.255.0
And then you can connect from 192.168.0.1 with `ssh 192.168.0.2' and
vice versa.
Yet, I still recommend buying a router (eg. a linksys) and use dhcp to
configure the stuff. Such a router also allows sharing the internet
connection, firewalling your private network and so on. On the config
page of such routers you can usually statically set the dhcp-lease, so
the ip's don't change. Some also have a dns server, so you can actually
name the pc's and ssh with the name you've set in the dns. If you like
to experiment, buy a router that allows running Openwrt or Debian for
the arm processor. Then you have a complete linux running on your router
and you can control even more. Yet, considering that you currently don't
know how to connect two computers this might be a step too far.
>
> Sorry for my ignorance, but as I said, though I've been using Debian for some
> years now, I've never managed two computers together before.
NP

Sjoerd

From: Rodolfo Medina on
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 the Acer and viceversa. I wish that only the files
> that really
>>> changed were copied, so to save useless time.
>>>
>>> Can anybody provide suggestions about both issues? I've never
> connected two
>>> machines together.


Sjoerd Hardeman <sjoerd(a)lorentz.leidenuniv.nl> writes:

> If you use eg. network manager or wicd, you can use the gui-config tools that
> come with these programmes. Else you have to set /etc/networks/interfaces (see
> man interfaces)
> Use either the 10.x.x.x or 192.168.x.x range, these ranges are for private
> use. Configure eg the two pc's as
> 192.168.0.1, netmask 255.255.255.0
> 192.168.0.2, netmask 255.255.255.0
> And then you can connect from 192.168.0.1 with `ssh 192.168.0.2' and vice
> versa.


Will it be enough to properly edit /etc/networks/interfaces on both machines?
Can anybody suggest a practical example of those files for my case? Let's call
the two pcs `acer' and `huyndai'.

Thanks!
Rodolfo


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Johannes Wiedersich on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rodolfo Medina wrote:
> Andrew Malcolmson <andmalc(a)gmail.com> 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, actually the changes will occur on one end at a time, so rsync seems the
> best to me. But the real difficulty I'm a bit worried about is that I'm
> waiting for shops to open so to go and buy a crosslink cable, and then? After
> plugging the two together, how shall I do the proper settings in order to be
> able use rsync?

unison won't fail, if there are changes on one side only. Both unison
and rsync involve ssh for the connection, so rsync is no simpler in the
scenario that you describe. Of course both programs are capable of
achieving your means. I use both and consider unison to be the tool of
choice for synchronisation.

NB: You didn't specify the hardware you are running. If both computers
have a wireless, you won't need a cable at all.

Add something like this to your /etc/network/interfaces:

allow-hotplug eth0
iface eth0 inet static
address 192.168.11.100
netmask 255.255.255.0
broadcast 192.168.11.255

More information is found in 'man interfaces' and online [1].
Use .101 instead of .100 at the end of the respective line for the 2nd
computer.

[1]
http://www.debian.org/doc/manuals/reference/ch05.en.html#_the_network_interface_with_the_static_ip

- --
Johannes

Three nations have not officially adopted the International System
of Units as their primary or sole system of measurement: Burma,
Liberia, and the United States.

http://en.wikipedia.org/wiki/Si_units
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktYkzwACgkQC1NzPRl9qEVyOACeOCnZgGXjZJSplzwfLgbi6tl5
h54AniDnd0oC9sy/DBVRMQPLwYa8+4pi
=Zt/8
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6
Prev: Problem with Lenny
Next: Unable to start tightvncserver