Telnet connection refused

Telnet connection refused

Post by Christopher Rhode » Thu, 16 Jan 1997 04:00:00



I'm currently running Red Hat Linux v3.0.3 and cannot telnet to my
machine from a different host after about 60 minutes of up time.  If at
the server terminal I can telnet to anywhere and have access to the
internet, but no one can telnet into my machine from any other host.
Any  ideas?  I'm also using a 3Com 3c503.  

C.R. Rhodes
University of *ia

 
 
 

Telnet connection refused

Post by Sandi Horga » Thu, 16 Jan 1997 04:00:00


I'm running Linux v3.0.3 on a 166 MHz Cyrix 6x86 chip.  The system run
amazingly fast (takes about 1 s to load X).  The problem I have is
telneting to the machine after a given period.  After booting the
machine one can telnet in from a different host for about 60 minutes.
After this time, I have to shutdown the machine and reboot to allow
other hosts to telnet in.  I can still telnet out and have www access as
long as I'm at the terminal.  I have the ethernet card connected through
a hub and was wondering if maybe that's the problem?

 
 
 

Telnet connection refused

Post by Rodney van den Oev » Sat, 18 Jan 1997 04:00:00


This seems like an inetd-problem.

I'm experiencing the same=problem with the newest NetKit.

Quote:>I'm currently running Red Hat Linux v3.0.3 and cannot telnet to my
>machine from a different host after about 60 minutes of up time.  If at
>the server terminal I can telnet to anywhere and have access to the
>internet, but no one can telnet into my machine from any other host.
>Any  ideas?  I'm also using a 3Com 3c503.  

>C.R. Rhodes
>University of *ia

Rodney van den Oever
 
 
 

Telnet connection refused

Post by Zora » Mon, 20 Jan 1997 04:00:00



> I'm currently running Red Hat Linux v3.0.3 and cannot telnet to my
> machine from a different host after about 60 minutes of up time.  If at
> the server terminal I can telnet to anywhere and have access to the
> internet, but no one can telnet into my machine from any other host.
> Any  ideas?  I'm also using a 3Com 3c503.

Have a look at your /etc/inetd.conf file. Are you using the tcp wrapper
tcpd for inetd services like the telnetd. If you are you should have
line like this in the inetd.conf file for telnetd:

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd

If this is the case, then have a look at /etc/hosts.allow and
/etc/hosts.deny to see if you are allow certain domains in and denying
certain domains. You should be able to do a man on tcpd to learn more
about the tcpd wrapper and how it works.

You may notice that you cannot telnet into your machine as root. (The
fact that you cannot telnet in as other users is odd and perhaps a
configuration thing). If you cannot telnet in as root, that is probably
because of the /etc/securetty file. This file lists the tty's that root
is allowed to come in on. Do a man on securetty.

Also, have a look at the log file /var/log/secure and /var/log/messages
for messages.

Hope this helps, Zoran.

 
 
 

1. HELP: Telnet Connection Refused

Hi,

I can't telnet to my linux box at home from a remote site.  I get a
Connection closed by foreign host message.  My ISP swears that it is not
them and must be _MY_ configuration.  Can anybody tell me where to start
looking for something like that!  I don't know if this is related or
not, but I cannot ping or traceroute anymore from that same Linux box.

Thanks in advance for any help!

        Cheers
        Rich    

********************************************************************
*                       RICHARD P VIENNEAU                         *
*                RYERSON POLYTECHNIC UNIVERSITY                    *

********************************************************************

2. LOCAL: [Brisbane,Australia] HUMBUG Unix Club Meeting

3. telnet connection refused?

4. Maintainance scripts?

5. telnet connection refused

6. Shut Up and Route the Packet (also IP Masquerading)

7. Telnet: Connection Refused from Redhat 6.2

8. Linux Frequently Asked Questions with Answers (Part 5 of 6)

9. xinet telnet connection refused woes

10. Telnet connection refused

11. telnet : Connection refused

12. Telnet (connection refused)

13. ftp & telnet,connection refused