[comp.protocols.tcp-ip.ibmpc] NCSA Telnet 2.2D and ISC TCP/IP 1.2

mjhammel@Kepler.dell.com (Michael J. Hammel) (08/15/90)

I have both of these, along with TCP/IP 1.1.2.  Actually, I'm running
NCSA Telnet 2.2TN and the Clarkson Packet driver for the WD8003EB.  The
NCSA package seems to work fine with 1.1.2 but will not telnet to 1.2. 
A connection is made but there seems to be some sort of negotiating
thats not getting completed so I don't get the login prompt.  

Specifically, here is what I get:

On the NCSA Telnet PC:

	National Center For Supercomputing Applications
	NCSA Telnet for the PC Version 2.2D

	Alt-h presents a summary of special keys
	(system name bottom left corner and time bottom right corner, and thats it.)

On the console (alt-m):
	(messages stating IP address and such)
	trying to open TCP connection to: <system>
	DO Option TERMINAL TYPE (WILL)
	IAC SB Sent type VT102
	DO Option NAWS (WILL)
	IAC SB NAWS 80 24
	DO Option Unknown Option (WONT)

And thats it.  No other messages on either system (UNIX or DOS).

On the UNIX box running netstat -a I show a telnet connection
established between the NCSA PC and the UNIX box.  If I do an alt-x on
the PC the connection is properly closed on both ends.  The problem is I
never get the login prompt.

None of these problems shows up with ISC's TCP/IP 1.1.2.

Is there any other way to get more debug information out of this?  Is
this a known problem?  Should I just read through the Telnet RFC (is
there one?) to figure out what these DO's and WILL's, etc, are?
  
Michael J. Hammel        | mjhammel@{Kepler|socrates}.dell.com
Dell Computer Corp.      | {73377.3467|76424.3024}@compuserve.com
Disclaimer equ standard  | zzham@ttuvm1.bitnet
"I am attempting the hell to communicate." Spock of Vulcan

dougm@ico.isc.com (Doug McCallum) (08/15/90)

In article <8420@uudell.dell.com> you write:
>I have both of these, along with TCP/IP 1.1.2.  Actually, I'm running
>NCSA Telnet 2.2TN and the Clarkson Packet driver for the WD8003EB.  The
>NCSA package seems to work fine with 1.1.2 but will not telnet to 1.2. 
>A connection is made but there seems to be some sort of negotiating
>thats not getting completed so I don't get the login prompt.  
...
>	IAC SB NAWS 80 24
>	DO Option Unknown Option (WONT)
>
...
>None of these problems shows up with ISC's TCP/IP 1.1.2.
>
>Is there any other way to get more debug information out of this?  Is
>this a known problem?  Should I just read through the Telnet RFC (is
>there one?) to figure out what these DO's and WILL's, etc, are?

In TCP/IP 1.2, some new options were implemented.  It is possible that
the 1.2 telnetd or the NCSA code isn't handling them correctly.  Other
telnet commands work with the 1.2 named but I have seen the problem with
AIX 1.1 on the PS/2 trying to connect to ISC.

The new options are flow control negotiation, terminal speed,
window size and X display location.  For compatibility with telnet
clients that can't deal with these new options, they can be disabled
by adding a -X<option> command line parameter to the telnetd startup.

That is, add the parameter to the telnetd template in /etc/inetd.conf

telnet	stream	tcp	nowait	root	/etc/telnetd	telnetd -Xfswd

The <option> part consists of any of the following to indicate the option
to disable:

	f	Flow control
	s	Terminal speed
	w	Negotiate about window size
	d	X display location

Hope this helps,
Doug McCallum
Interactive Systems Corp.
dougm@ico.isc.com