A ping just means there's a route to the machine. It doesn't mean it's actually reachable. Pings go through things that other things sometimes can't. In other words, if you have a firewall between you and the machine you're trying to reach, a ping will usually go through, but telnet may be blocked. Your network admin should be able to give you more info.
Also, a traceroute (tracert on Win2k) should be able to tell you the path to the other machine. You can usually start tracking down your problems that way.
the telnet service on the UNIX system can also be configure to allow/deny IP ranges/subnets. They might only allow ssh connections to the UNIX box. Traceroute is a good tool to start with. What happens when you telnet to the UNIX box? does it hang, or do you get refused connection?
I went to the machine to follow the above instructions. I saw the 'common desktop environment' console. I entered the ID: root and pwd. Then I followed the above instructions, but of no use. It says 'connect failed'. Should I restart any services?
you have to make sure the inetd process is running.
how it works is the file /etc/inetd.conf contains a list of services that can be invoked like ftp, telnet, samba services and so on. poke around with the file and make sure that telnet is there.
this file is used by the inetd process which allows you to run the services defined in the file. so do a ps -ef | grep inetd and you should see something like this ...
root 172 1 0 Nov 23 ? 0:00 /usr/sbin/inetd -s
then you need to check out /etc/services and make sure telnet has an available port to run out of. telnet should be tcp/23. make sure there isn't a # in front of telnet in any of these files.
once the files are modified and saved you need to restart the inetd process. you can either do this by going to /etc/init.d and running inetsvc stop then inetsvc start, or you can do a kill -HUP 172 (172 being the process ID of my inetd process shown above. yours will most likely be different)
from your win2k workstation you could always just pop a dos box and run telnet from there. START - RUN - CMD then at the prompt run telnet machinename
you have resolution set up yeah? try telnetting to the ip address if the machine name doesn't work. if this is the case then you have name resolution issues so you will be about to embark upon a crash course in dns
The network restriction points raised in this thread (a possible firewall or restrictions on which IPs can telnet in) can be checked by seeing if you can telnet to the Sun box from itself. i.e. login to the Sun box on the console and telnet to itself from there.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.