Solved

Delay in telnet

Posted on 1998-10-07
4
301 Views
Last Modified: 2010-04-21
When I telnet from a PC I have to wait ~30 seconds to connect. Upon connecting, the command RCP also does not work but running other applications seems OK.
0
Comment
Question by:pentomino
4 Comments
 
LVL 1

Expert Comment

by:vulkanr
ID: 2007268
is the telnet to a host in the same segment ?

if not, probably its a routing problem. ping to the host
from the PC, check if its a network problem (takes long) or
a routing problem (low TTL).

in the host, try to use "traceroute" to the computer you try to RCP to/from and look if the routing order makes scence.

anyway, to fix the problem if its a routing problem, you just have to configure the routing tables correctly.
0
 
LVL 3

Expert Comment

by:arunm
ID: 2007269
Do you have permission to rcp?

0
 
LVL 1

Author Comment

by:pentomino
ID: 2007270
I have permission.
0
 
LVL 4

Accepted Solution

by:
jlms earned 50 total points
ID: 2007271
If the remote machine is using NIS, NIS+ or any other naming service (or combination of them) then the time to stablish the initial connection could be relatively long. One way to deal with this is to inlcude as much as possible in local files, but this defeats the porpouse of a naming service.

 rcp is controlled by .rhosts in the home directory of the login account you use in the UNIX machine. Check the man page and compare that with whatever you have there. If there is not such a file you don't have permission... check also the man page for hosts.equiv, it is a similar thing but for all the machine's users.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question