1833776 Members
2380 Online
110063 Solutions
New Discussion

telnetd problem

 
CSP_ALGERIA
Frequent Advisor

telnetd problem

helo
i have a problem with an RP8400 with unix 11.i
the problem is there is not network connection
and the error is :
telnetd : telnet device drivers missing : no such device
thanks it is urgent .
Nothing in the world can take the place of persistence.
4 REPLIES 4
Fabio Ettore
Honored Contributor

Re: telnetd problem

Hi,

often that message is a reached limit of kernel parameters.
Check the following:

maxusers
npty
nstrpty
nstrtel

If you note these values too many little then increase them and reboot, in my example I will take them to 200. After boot up

# rm /dev/pty/*
# rm /dev/ptym/*
# cd /dev
# insf -d pty -n 200

Hope this helps you.

Best regards,
Fabio
WISH? IMPROVEMENT!
Mel Burslan
Honored Contributor

Re: telnetd problem

run the following commands.

insf -e -d pts -s 400
insf -e -d pty -n 400
insf -e -d tels -s 400

the value 400 is something I picked from one of my old experiences but if it does not work for you as they are dependent on physical memory and kernel parameters, reduce them to 200 then to 100 and finally to their default value of 60.

HTH
________________________________
UNIX because I majored in cryptology...
Venkatesan_5
Frequent Advisor

Re: telnetd problem

hi,

According to my findings, this message indicates a problem may be with the
device files, used by telnet.

The corresponsing device files are: /dev/telnetm and /dev/pts/t*

The error message is caused by the fact, that the device files are
either not available or do have wrong major/minor numbers.
# ll /dev/pts/t*

# ll /dev/telnetm

The value shown by "lsdev" for "telm" would need to be equal to the minor
number of "/dev/telnetm"
- AND -
the value shown for "tels" would need to be equal to the major number of
the /dev/pty/t* device files.

By the way an "fuser /dev/pts/t*" should not show any usage of the
device files.

To solve the problem, we need to remove the incompatible device files
and create new device files:

1.) For the "tels"-devices:

=> rmsf /dev/pts/t*
=> insf -v -d tels

2.) For the "telm"-device:

=> rmsf /dev/telnetm
=> insf -v -d telm

============================================================================

Afterwards, the lsdev-command and an ll-command on the device files
do show matching values:

# ll /dev/pts/t*

# ll /dev/telnetm

# lsdev | grep tel

Starting a new telnet-connection to the system, should show, that everything
works fine, after re-creating the device files.


regds

Venkatesan.
Robert Fritz
Regular Advisor

Re: telnetd problem

You may also want to consider using ssh instead of telnet. It doesn't send out your password and data in clear text for others on the subnet to see, and even sets your X-display variable automatically (protecting your X-traffic as well).

It is already on your 11.23 systems and is a free download on 11.00/11.11:
https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=T1471AA
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin