How hide "Connection closed by foreign host."

How hide "Connection closed by foreign host."

Post by Ulf-Dietrich Brauman » Wed, 28 Jul 1999 04:00:00



Short question:

How can I simply hide the message "Connection closed by foreign host."
in telnet sessions? The problem occurs since this message is print over
the previous line which displays some other useful (I hope) information.

Regards

Ulf-Dietrich Braumann

 
 
 

How hide "Connection closed by foreign host."

Post by Ken Pizzi » Wed, 28 Jul 1999 04:00:00


On Tue, 27 Jul 1999 11:54:47 +0100,


>How can I simply hide the message "Connection closed by foreign host."
>in telnet sessions? The problem occurs since this message is print over
>the previous line which displays some other useful (I hope) information.

perl -pe 's/C(onnecton closed by foreign host)/\0$1/' /usr/bin/telnet >mytelnet
chmod +x mytelnet

Now use "mytelnet" instead of regular telnet, and you won't see the
message anymore.

                --Ken Pizzini

 
 
 

1. "Connection closed by foreign host"

I recently installed RedHat 4.2, and I'm having trouble maintaing my ISP
connection.  Sometimes it works for hours, sometimes it drops me without
warning.  Once I get the 'Connection closed by foreign host message' It
persistently drops me within a minute of redialing.  This happens even
if I reboot and try dialing again. Of course, I can go right to my
Slackware machine, dial up, and everything is fine.

I've been dropped in the middle of telnet, ftp, netscape.....I was
dropped while pinging another machine too.
I've emailed various sources at school (my ISP), and they just shrug
their shoulders and say 'We don't know from Linux.'  I have a friend who
has had the same problem.  Any advice here would be most appreciated.
It seems as though the ISP is expecting some sort of signal, if it
doesn't get it, it kicks me out.

Rod

2. Apache: directory permissions

3. all but http on the server is really slow?

4. "Connection closed by foreign host." why?

5. read/write color cells

6. "Connection closed by foreign host"

7. Why this won't work ?

8. telnet says "Connection closed by foreign host"

9. telnet error: "connection closed by foreign hosts????

10. can no longer log in - "Connection closed by remote host"

11. GETSERVBYNAME()????????????????????"""""""""""""

12. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""