1829249 Members
1855 Online
109988 Solutions
New Discussion

Re: cannot telnet out

 
SOLVED
Go to solution
Abdul Ali_1
Occasional Advisor

cannot telnet out

I have 2 linux redhat boxes on a small network.
they both have entries in hosts for each machine but i cannot telnet from one machine to the other?

Thanks in advance
6 REPLIES 6
George_Dodds
Honored Contributor

Re: cannot telnet out

this could be a dns issue

Are you wanting to dns for these machines?

Cheers

George
Abdul Ali_1
Occasional Advisor

Re: cannot telnet out

I do not needs to use dns as this is a home netwoek
George_Dodds
Honored Contributor
Solution

Re: cannot telnet out

Try renaming the file /etc/resolv.conf to resolve.conf.back on both machines and then try to telnet using the machine name.

Cheers

George
SCHLECHT
New Member

Re: cannot telnet out

Which version of RedHat ?

Is the telnet server installed? This question because, by default on RedHat 7.2 the telnet server are not automaticaly installed.

If the rpm is installed, is the /etc/xinet.d/telnet file correctly configured, and the 23 TCP port listening ( netstat -an |grep 23 )?
MiQUET Pascal
Occasional Advisor

Re: cannot telnet out

Also make sure that telnet server is installed, up and running.
Note that if you try to telnet on host as ROOT user, you should have modify the security rules, otherwise you should not be allowed to open a connection. file /etc/security to check.
HTH
Regards.
I_M
Honored Contributor

Re: cannot telnet out

Hi

1) Have you installed telnet and telnet-server rpm in both linux boxes?
# rpm -qa | grep telnet

2) Have you enable both telnet by xinetd?
Edit /etc/xinetd.d/telnet

Disable=yes to Disable=no

then restart xinetd. (/etc/rc.d/init.d/xinetd restart)

3) Have you put hosts in /etc/hosts?

4) Have you checked /etc/hosts.allow and /etc/hosts.deny?

5) Do you want to use DNS?
If no, you don't need /etc/resolv.conf

6) Have you checked ipchains?
# /sbin/ipchains -L to see if
your config reject packets from others.

7) Are you trying to login as root?
On Linux system, root login over network is not allow.
Try other user instead.

8) Exactly what is the error message you see?
Connection refused? or no message at all?

Good luck