Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to run rcp over crossover cable on crude network config

Reply
Thread Tools Display Modes

How to run rcp over crossover cable on crude network config

 
 
linq936@hotmail.com
Guest
Posts: n/a

 
      08-13-2005, 12:05 AM
Hi,
I just installed Fedora Core 3 on my laptop and I selected network
support in installing. This laptop is basically used for me to try out
Linux. I will not use this laptop to connect to any network, the only
use of its ethernet connection is for me to transfer some big files to
other machine. And I have some problem here.

I use a crossover cable to connect this laptop to my PC which is on
my employer network, this PC is running Windows XP. I have cygwin
installed on the PC.

I name the laptop IP address as 1.2.3.4 when i installed Fedora,
obviously such address is not accessible from PC, so I run this command
to add it to the routing table of PC,

Route add 1.2.3.4 mask 255.255.255.255 xxx.xxx.xxx.xxx metric 1 if 3

"xxx.xxx.xxx.xxx" is the PC gateway address.

Now from PC I ping 1.2.3.4 good, this basically tells me that IP
connection between PC and laptop through crossover cable is good.

Then I think I can run rcp to copy files, so in cygwin I run this,
rcp file_1 1.2.3.4.my_login_in_laptop:

But what I get is:
1.2.3.4:Connection refused

I check the web and it seems i need to set up ~/.rhosts in laptop, but
isn't true that it is only needed if I do not want to input password?
Anyway, I created the file in laptop and its content is simply as,
+ +

this is to trust anyone on any machine, right?

But rcp still has the same problem, connection refused.

Is there any simple way to set up for rcp to run? I prefer not to
bother about those dauting services like domain name resolution, you
can see that my application is only a copy over crossover cable.

Thanks.

 
Reply With Quote
 
 
 
 
Allen McIntosh
Guest
Posts: n/a

 
      08-13-2005, 02:47 AM
Is your firewall turned off?
 
Reply With Quote
 
Rainer Krienke
Guest
Posts: n/a

 
      08-13-2005, 06:57 AM
(E-Mail Removed) wrote:

> Hi,
> I just installed Fedora Core 3 on my laptop and I selected network
> support in installing. This laptop is basically used for me to try out
> Linux. I will not use this laptop to connect to any network, the only
> use of its ethernet connection is for me to transfer some big files to
> other machine. And I have some problem here.
>
> I use a crossover cable to connect this laptop to my PC which is on
> my employer network, this PC is running Windows XP. I have cygwin
> installed on the PC.
>
> I name the laptop IP address as 1.2.3.4 when i installed Fedora,
> obviously such address is not accessible from PC, so I run this command
> to add it to the routing table of PC,
>
> Route add 1.2.3.4 mask 255.255.255.255 xxx.xxx.xxx.xxx metric 1 if 3
>
> "xxx.xxx.xxx.xxx" is the PC gateway address.
>
> Now from PC I ping 1.2.3.4 good, this basically tells me that IP
> connection between PC and laptop through crossover cable is good.
>
> Then I think I can run rcp to copy files, so in cygwin I run this,
> rcp file_1 1.2.3.4.my_login_in_laptop:
>
> But what I get is:
> 1.2.3.4:Connection refused
>


Just try ssh (with scp) instead of rcp.

Rainer
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      08-13-2005, 07:15 AM
On 12 Aug 2005 17:05:42 -0700, (E-Mail Removed)
<(E-Mail Removed)> wrote:
> I name the laptop IP address as 1.2.3.4 when i installed Fedora,
> obviously such address is not accessible from PC, so I run this command
> to add it to the routing table of PC,
>
> Route add 1.2.3.4 mask 255.255.255.255 xxx.xxx.xxx.xxx metric 1 if 3
>
> "xxx.xxx.xxx.xxx" is the PC gateway address.
>
> Now from PC I ping 1.2.3.4 good, this basically tells me that IP
> connection between PC and laptop through crossover cable is good.
>
> Then I think I can run rcp to copy files, so in cygwin I run this,
> rcp file_1 1.2.3.4.my_login_in_laptop:
>
> But what I get is:
> 1.2.3.4:Connection refused
>

Is an rsh server running on the laptop? Is it even installed? You
might try scp instead.


--
BOFH excuse #188:

...disk or the processor is on fire.
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      08-13-2005, 08:53 AM
(E-Mail Removed) wrote:
> Hi,
> I just installed Fedora Core 3 on my laptop and I selected network
> support in installing. This laptop is basically used for me to try out
> Linux. I will not use this laptop to connect to any network, the only
> use of its ethernet connection is for me to transfer some big files to
> other machine. And I have some problem here.
>
> I use a crossover cable to connect this laptop to my PC which is on
> my employer network, this PC is running Windows XP. I have cygwin
> installed on the PC.
>
> I name the laptop IP address as 1.2.3.4 when i installed Fedora,
> obviously such address is not accessible from PC, so I run this command
> to add it to the routing table of PC,
>
> Route add 1.2.3.4 mask 255.255.255.255 xxx.xxx.xxx.xxx metric 1 if 3
>
> "xxx.xxx.xxx.xxx" is the PC gateway address.
>
> Now from PC I ping 1.2.3.4 good, this basically tells me that IP
> connection between PC and laptop through crossover cable is good.
>
> Then I think I can run rcp to copy files, so in cygwin I run this,
> rcp file_1 1.2.3.4.my_login_in_laptop:
>
> But what I get is:
> 1.2.3.4:Connection refused
>
> I check the web and it seems i need to set up ~/.rhosts in laptop, but
> isn't true that it is only needed if I do not want to input password?
> Anyway, I created the file in laptop and its content is simply as,
> + +
>
> this is to trust anyone on any machine, right?
>
> But rcp still has the same problem, connection refused.
>
> Is there any simple way to set up for rcp to run? I prefer not to
> bother about those dauting services like domain name resolution, you
> can see that my application is only a copy over crossover cable.
>


Install the SSH daemon on your laptop, and get the
WinSCP utiliuty to the Windows computer.

After the computers are connected and set up so they
can ping each other, fire up WinSCP on the Windows
computer, log in into the Linux computer and use
the utility's window (much like any Windows file
tool) to manage the files on either computer.

--

Tauno Voipio
tauno voipio (at) iki fi


 
Reply With Quote
 
Cantankerous Old Git
Guest
Posts: n/a

 
      08-13-2005, 10:23 AM
(E-Mail Removed) wrote:
> Hi,
> I just installed Fedora Core 3 on my laptop and I selected network
> support in installing. This laptop is basically used for me to try out
> Linux. I will not use this laptop to connect to any network, the only
> use of its ethernet connection is for me to transfer some big files to
> other machine. And I have some problem here.
>
> I use a crossover cable to connect this laptop to my PC which is on
> my employer network, this PC is running Windows XP. I have cygwin
> installed on the PC.
>
> I name the laptop IP address as 1.2.3.4 when i installed Fedora,
> obviously such address is not accessible from PC, so I run this command
> to add it to the routing table of PC,
>
> Route add 1.2.3.4 mask 255.255.255.255 xxx.xxx.xxx.xxx metric 1 if 3
>
> "xxx.xxx.xxx.xxx" is the PC gateway address.
>
> Now from PC I ping 1.2.3.4 good, this basically tells me that IP
> connection between PC and laptop through crossover cable is good.
>
> Then I think I can run rcp to copy files, so in cygwin I run this,
> rcp file_1 1.2.3.4.my_login_in_laptop:
>
> But what I get is:
> 1.2.3.4:Connection refused
>
> I check the web and it seems i need to set up ~/.rhosts in laptop, but
> isn't true that it is only needed if I do not want to input password?
> Anyway, I created the file in laptop and its content is simply as,
> + +
>
> this is to trust anyone on any machine, right?
>
> But rcp still has the same problem, connection refused.
>
> Is there any simple way to set up for rcp to run? I prefer not to
> bother about those dauting services like domain name resolution, you
> can see that my application is only a copy over crossover cable.
>
> Thanks.
>


My guess is that the rcp service is not running on the Fedora
box. And I can't remember the name of this service. But rcp is
regarded as insecure, and Fedora may not even contain server s/w
for it.

You may be better off using scp (secure copy) which is one of the
features of ssh (secure shell). For Linux, ssh is the client
program, and sshd (ssh daemon) is the server program. Fedora will
certainly contain both of these, but sshd may not be started in a
default install - you may have to start it yourself. You can find
many ssh and scp clients for windows (putty and filezilla come to
mind), but I don't now about ssh servers.

If you're just trying to copy files, it might be easier to go to
the Linux machine and mount the windows shared folders. I don't
know which program Fedora supply for this though. Try entering:
smb://xxx.xxx.xxx.xxx/C$
into the konqueror address bar.

The Cog
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Sharing works with crossover-cable but not Wireless. Network Wizard doesn't complete. Philip Herlihy Wireless Networks 0 07-01-2004 09:02 AM
Can I convert a FastCat5e network cable into a crossover cable? Sherri & Garry January Windows Networking 10 10-30-2003 04:19 AM
Can I convert a FastCat5e network cable into a crossover cable? Sherri & Garry January Home Networking 10 10-30-2003 04:19 AM
Can I convert a FastCat5e network cable into a crossover cable? Sherri & Garry January Windows Networking 8 10-30-2003 04:19 AM
linux <-> 2k crossover cable network cam Linux Networking 1 08-30-2003 08:27 PM



1 2 3 4 5 6 7 8 9 10 11