- I can't telnet to 127.0.0.1 -- I'm dying over here.

- I can't telnet to 127.0.0.1 -- I'm dying over here.

Post by amadeu » Thu, 01 Jun 1995 04:00:00



For that matter I cannot ftp, talk, finger, rlogin, or otherwise access my
system remotely or through loopback.  I have no idea what may have caused this.
As I am posting this letter it is obvious that all my clients work.  I have
tried every client (telnet, irc, finger, etc..) I can think of from my computer
to my internet server and they all work, but loopback or remote logins to my
computer will not.  This is all through a SL/IP connection using DIP.  I can
send and receive mail with popclient also.  Regard this:

TeDiuM:/usr/devel/w2# telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
TeDiuM:/usr/devel/w2#

        ...all in a matter of seconds.

        If you have any ideas I would greatly appreciate any help.  Especially as I
must access my computer for work.

        Thank you very much,
        Thomas Marsh

 
 
 

- I can't telnet to 127.0.0.1 -- I'm dying over here.

Post by Bob Hau » Fri, 02 Jun 1995 04:00:00


|> For that matter I cannot ftp, talk, finger, rlogin, or otherwise access my
|> system remotely or through loopback.  I have no idea what may have caused this.

|> TeDiuM:/usr/devel/w2# telnet 127.0.0.1
|> Trying 127.0.0.1...
|> Connected to 127.0.0.1.
|> Escape character is '^]'.
|> Connection closed by foreign host.
|> TeDiuM:/usr/devel/w2#

It looks like inetd is not running, or is configured wrong.  For the
services you mentioned to work, inetd must be started somehow.  This
is usually done by your startup scripts in /etc/rc.d.

---
 Bob Hauck                              Wasatch Communcations Group


 
 
 

- I can't telnet to 127.0.0.1 -- I'm dying over here.

Post by Chris Pinkh » Fri, 02 Jun 1995 04:00:00




> |> For that matter I cannot ftp, talk, finger, rlogin, or otherwise access my
> |> system remotely or through loopback.  I have no idea what may have caused this.
> |> TeDiuM:/usr/devel/w2# telnet 127.0.0.1
> |> Trying 127.0.0.1...
> |> Connected to 127.0.0.1.
> |> Escape character is '^]'.
> |> Connection closed by foreign host.
> |> TeDiuM:/usr/devel/w2#
> It looks like inetd is not running, or is configured wrong.  For the
> services you mentioned to work, inetd must be started somehow.  This
> is usually done by your startup scripts in /etc/rc.d.

inetd has to be running or the connection wouldn't be initiated.  (if you
telnet to a port that does not have a listen on it you will get "connection
refused."  Perhaps the original poster put "in.telnetd: ALL" in his
/etc/hosts.deny and didn't put "in.telnetd: 127.0.0.1" in his
/etc/hosts.allow file.  The loopback is working and inetd is running so it
is either a problem with in.telnetd running or a problem with the
hosts.allow (or something else I am not thinking of, but I would check
these out)

Chris

____________T_H_E__T_R_U_T_H__I_S__O_U_T__T_H_E_R_E____________________
|Chris Pinkham               The X-Files                    OS/2 v2.11|

|                                                                     |
|"Kill Mulder and you risk turning one man's religion into a crusade."|
|        -The Smoking Man                                             |
|                                                                     |
\___________________B_U_T__S_O__A_R_E__L_I_E_S________________________/

 
 
 

- I can't telnet to 127.0.0.1 -- I'm dying over here.

Post by Kenneth J. Hendricks » Sun, 04 Jun 1995 04:00:00


I have a ppp connection to a machine on a subnetwork.  IT WORKS.  I can
use any networking program to access machines on the internet PAST the
local subnet, but NOT ON the local subnet.  All packets get routed
correctly in both directions through the local subnet, and through my
ppp connection.  I start up pppd with the proxyarp option on the machine
on the subnet, and it correctly forwards me packets.  However, when I try
to telnet to any machine on the local subnet, I get the
        Connection closed by foreign host.
message immediately.

On all machines on the local subnet, /etc/hosts.allow and /etc/hosts.deny
are empty, and inetd is running.  (I get to the machine on the local
subnet through its ethernet, through a dial-up terminal server.)  Here is
an example routing table from the machine (129.119.13.150) to which I
establish my ppp link:

Destination      Gateway            Flags     Refs     Use  Interface
default          129.119.13.1       UGS         4  2670361  ed2
127.0.0.1        127.0.0.1          UH          1        1  lo0
129.119.13       link#1             UC          0        0  ed2
129.119.13.1     0:0:ef:1:c5:40     UHL         1        0  ed2
129.119.13.150   link#1             UHL         2    21659  ed2
129.119.13.152   127.0.0.1          UGHS        0       34  lo0
129.119.13.156   0:80:13:31:ec:e5   UHL         1   216952  ed2
129.119.13.255   link#1             UHL         1     6366  ed2

All packets destined for other places get correctly sent through the ppp
link, and then through 129.119.13.1.  All packets destined for my
machine get sent through 129.119.13.1 and 129.119.13.150 then forwards
them to my machine through the ppp link.  However, I cannot telnet to
129.119.13.150, 129.119.13.152, or any other machine on the 129.119.13
subnet.  Why?  What should I tell the system administrator to do in
order to fix the problem?

--
"Arguing about predestination is virtually irresistible."    --RC Sproul

 
 
 

- I can't telnet to 127.0.0.1 -- I'm dying over here.

Post by Adrian Clo » Mon, 05 Jun 1995 04:00:00


: For that matter I cannot ftp, talk, finger, rlogin, or otherwise access my
: system remotely or through loopback.  I have no idea what may have caused

: TeDiuM:/usr/devel/w2# telnet 127.0.0.1
: Trying 127.0.0.1...
: Connected to 127.0.0.1.

As far as I know, this means it has successfully connected, ie. the
loopback interface is running.  Try typing ifconfig.  You should have an
entry for 'lo'.  If not, there's no loopback, and you need to have
'/sbin/ifconfig lo 127.0.0.1' in your /etc/rc.d/rc.inet1

: Escape character is '^]'.
: Connection closed by foreign host.

This looks more like a problem with inetd.  Check your /etc/services file
and make sure you have an entry like this 'telnet 23/tcp'.  Also, make
sure the entry for telnet in /etc/inetd.conf points to a valid telnet
program and the other parameters are right.  I have:
'telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd'

You could also try running the netconfig that comes with Slackware if you
installed the N disk series.  Also, the Linux Network Administrator's
Guide (or NAG) by Olaf Kirsch has some good stuff on this.

Hope this helps!

--
Adrian Close                                    First year Comms. Elec. Eng.

Voice : +61 3 9853 3288 (bh),        +61 3 9888 5750 (ah),
Fax   : +61 3 9853 9264      Data  : +61 3 9853 0457 (BBS)

 
 
 

- I can't telnet to 127.0.0.1 -- I'm dying over here.

Post by ^_^ Hi! I'm Mitc » Sun, 11 Jun 1995 04:00:00


: : For that matter I cannot ftp, talk, finger, rlogin, or otherwise access my
: : system remotely or through loopback.  I have no idea what may have caused

: : TeDiuM:/usr/devel/w2# telnet 127.0.0.1
: : Trying 127.0.0.1...
: : Connected to 127.0.0.1.

Did this guy deleted the "root" account this line from passwd file?  I
had same kind of problem before, and reason for that is I deleted "root"
this account and make a user has root access.
YOu need root this account line on passwd to telnet lookup port..

: As far as I know, this means it has successfully connected, ie. the
: loopback interface is running.  Try typing ifconfig.  You should have an
: entry for 'lo'.  If not, there's no loopback, and you need to have
: '/sbin/ifconfig lo 127.0.0.1' in your /etc/rc.d/rc.inet1

: : Escape character is '^]'.
: : Connection closed by foreign host.

: This looks more like a problem with inetd.  Check your /etc/services file
: and make sure you have an entry like this 'telnet 23/tcp'.  Also, make
: sure the entry for telnet in /etc/inetd.conf points to a valid telnet
: program and the other parameters are right.  I have:
: 'telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd'

: You could also try running the netconfig that comes with Slackware if you
: installed the N disk series.  Also, the Linux Network Administrator's
: Guide (or NAG) by Olaf Kirsch has some good stuff on this.

: Hope this helps!

: --
: Adrian Close                                    First year Comms. Elec. Eng.

: Voice : +61 3 9853 3288 (bh),        +61 3 9888 5750 (ah),
: Fax   : +61 3 9853 9264      Data  : +61 3 9853 0457 (BBS)
--
 __________________________________________________________________________
/========================================================================/|
|         M i t c h   C h e n          ---===> A B B E <===---           ||


|                 PGP encrypted E-mail preferred.                        ||
|========================================================================||
|        The ideas expressed above are mine, and they are intend         ||
|              to stay that way... whether or not they suck.             ||
|=========================================================================/