1848719 Members
6793 Online
104036 Solutions
New Discussion

Re: telnet problems ..

 
Juuso Siniketo
Advisor

telnet problems ..

Hi,

I recently upgraded my C3600 system to December XSW bundle and everything went ok. Today I tried to telnet this system and here's the result:

# telnet ws1
Trying...
Connected to ws1.test.com.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
#

.. and syslog looks like this:

Dec 28 13:48:29 ws1 telnetd[1985]: I_LINK_DEV ioctl failed: Invalid argument

Remember to rebel against authorities, kids!
3 REPLIES 3
Darrel Louis
Honored Contributor

Re: telnet problems ..

- what /usr/lbin/telnetd
- what /usr/conf/lib/libtelnet.a

Check if there is a difference with the above, the patch level should be the same. If not install patch PHNE_21822.

See my output below of a hp-ux 11.X system

/usr/lbin/telnetd:
Copyright (c) 1983, 1986 Regents of the University of California.
Patch ID: PHNE_21822
telnetd.c $Revision: 1.29.214.16 $ $Date: 2000/06/08 23:40:02 $
telnetd.c 5.31 (Berkeley) 2/23/89
authenc.c 8.1 (Berkeley) 6/4/93
/usr/conf/lib/libtelnet.a:
str_telnet.c: PHNE_21822
str_telnet.c $Revision: 1.2.118.6 $ $Date: 2000/06/08 10:12:57
Berlene Herren
Honored Contributor

Re: telnet problems ..

remember to install the mksf patch first!

The 'insf' patch PHCO_21596(or its superseding patch if any) MUST be installed prior to the installation of this telnetd patch, for this patch to work. Please note, after installation of PHNE_21822 the naming convention for /dev/pts/t* changes from /dev/pts/tnumber to /dev/pts/tcharacter to allow creation of more than 1000 telnet device files. Consequently the first telnetd device file is renamed from /dev/pts/t0 to /dev/pts/ta.


Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Darrel Louis
Honored Contributor

Re: telnet problems ..

This is what Berlene is referring to, the Special Installation Instructions:

Special Installation Instructions:
The 'insf' patch PHCO_17090 (or its superseding patch if any) MUST be installed prior to the installation of this telnetd patch, for this patch to work.

Please note, after installation of PHNE_14957 the naming convention for /dev/pts/t* changes from /dev/pts/tnumber to /dev/pts/tcharacter to allow creation of more than 1000 telnet device files.
Consequently the first telnetd device file is
renamed from /dev/pts/t0 to /dev/pts/ta.

NOTE:
For getting more user logins, the kernel configuration parameter 'nstrtel' needs to be modified to the desired number and rebuild the kernel. Ensure that the extra telnet pseudo ttys are created by doing 'insf -d tels'.

On trusted systems, the telnetd patch has a dependency on the libsec patch PHCO_17622( or later) also apart from the insf patch PHCO_17090 (or later).

Thus, on trusted systems before installing the telnetd patch, please ensure that the libsec patch PHCO_17622 (or later) and the insf patch PHCO_17090 (or later) are installed to generate device file names similar to telnetd.

Please note that the dependency on PHCO_17622 ( or later )is applicable only for trusted systems.