From: Longfellow on
I'm trying to migrate from an old box to a new machine, using rsync to
port over all the stuff I've collected over the years. But it won't
work. Says the target machine doesn't exist and that is trying it both
ways. So, looking at the route table, no listing (I'm sure there used
to be one).

Whatever the case, I'm trying "route add -host {hostname}" and "route
add -host {IP address}" Neither of these work, I get "SIOCADDRT: No
such device".

I've got /etc/hosts with both machines listed on both machines. I've
even got /etc/hosts.allow with the appropriate host listing on both
machines. I can telnet and ftp both ways with no problem.

I don't see what I'm doing wrong: What am I missing here, please?

Thanks for reading.

Longfellow

From: Grant on
On Mon, 07 Jun 2010 01:50:32 -0500, Longfellow <not(a)this.address> wrote:

>I'm trying to migrate from an old box to a new machine, using rsync to
>port over all the stuff I've collected over the years. But it won't
>work. Says the target machine doesn't exist and that is trying it both
>ways. So, looking at the route table, no listing (I'm sure there used
>to be one).
>
>Whatever the case, I'm trying "route add -host {hostname}" and "route
>add -host {IP address}" Neither of these work, I get "SIOCADDRT: No
>such device".
>
>I've got /etc/hosts with both machines listed on both machines. I've
>even got /etc/hosts.allow with the appropriate host listing on both
>machines. I can telnet and ftp both ways with no problem.
>
>I don't see what I'm doing wrong: What am I missing here, please?

man route? Particularly the examples?

Grant.
--
http://bugs.id.au/
From: Lew Pitcher on

On June 7, 2010 02:50, in alt.os.linux.slackware, not(a)this.address wrote:

> I'm trying to migrate from an old box to a new machine, using rsync to
> port over all the stuff I've collected over the years. But it won't
> work. Says the target machine doesn't exist and that is trying it both
> ways.
[snip]
> I can telnet and ftp both ways with no problem.

If you can telnet and/or ftp from old_box to new_box and from new_box to
old_box, then your routing tables are working properly. You have a route
from old_box to new_box, and an inverse route from new_box to old_box
already. There's no need to go blindly adding explicit routes.

> I don't see what I'm doing wrong: What am I missing here, please?

Telnet, FTP, and Rsync all require a running server application on the
target system. It sounds like you have a telnet server and an ftp server on
both the new_box and the old_box.

But, have you started an rsync server on the new_box or on the old_box?
Rsync can use ssh or rsh (at your command) /or/ connect directly via TCP;
if you are using the ssh or rsh rsync commands, do you have an ssh or rsh
(as required) server running on the "remote" machine?

> --
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576
Me: http://pitcher.digitalfreehold.ca/ | Just Linux: http://justlinux.ca/
---------- Slackware - Because I know what I'm doing. ------


From: Emilio Lazardo on
On Mon, 07 Jun 2010 01:50:32 -0500, Longfellow wrote:

> I'm trying to migrate from an old box to a new machine, using rsync to
> port over all the stuff I've collected over the years. But it won't
> work. Says the target machine doesn't exist and that is trying it both
> ways. So, looking at the route table, no listing (I'm sure there used
> to be one).
< snip >

Pls post output from 'netstat -nr' on each machine.
Pls post output from 'ping -c3 -w3 <opposite_machine>' on each machine.
Pls post output from 'host <machine>' on each machine.

Cheers,



--
Laugh while you can