*BSD News Article 99472


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!psinntp!pubxfer.news.psi.net!dan.emsphone.com!dan
From: Dan Nelson <dan@dan.emsphone.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Interesting Telnet Problem
Date: 12 Jul 1997 02:25:45 GMT
Organization: Executive Marketing Services, Inc.
Lines: 23
Message-ID: <5q6pv9$p5$1@client2.news.psi.net>
References: <868619581.373625@wicca.hi-line.net>
Reply-To: dnelson@emsphone.com (Dan Nelson)
NNTP-Posting-Host: 199.67.51.101
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970622; i386 FreeBSD 2.2-970701-RELENG]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44287

Eric Beyer <beyer%/etc/HOSTNAME> wrote:
> I recently have just installed FreeBSD 2.2.1 on my home system. I have
> everything working just fine except for one little glitch that I just cannot
> figure out. Ok here it goes, I use PPP to connect to the Linux Server I run
> at the University, anyway I can make the connection just fine but I cannot
> telnet to any machine on that network, I can FTP, use the WEB, sendmail,
> etc... to it but when I telnet I just get:
>
> #telnet isp.running-linux.edu
> Trying 234.242.24.242...
> Connected to isp.running-linux.edu
> Escape character is '^]'.
> Connection closed by foreign host.  <--- I dont even get a login prompt.

This is a bug in (at least Red Hat 4.0/2.0.27) Linux's login binary. 
It exits immediately (and probably would dump core if it weren't
setuid) when it sees a terminal type not in /etc/termcap.  The
workaround (which you'll end up doing anyways) is to add cons25 to the
machine's /etc/termcap file.

	-Dan Nelson	
	dnelson@emsphone.com