1833325 Members
2902 Online
110051 Solutions
New Discussion

Re: # of Telnet Sessions

 
Patrick S. McKinley
New Member

# of Telnet Sessions

Someone told me that the HP K570 will only support 15 telnet sessions. Is that true? We want to hook wireless terminals to K570. Doesn't make sense to me! Thanks for the help!!
10 REPLIES 10
A. Clay Stephenson
Acclaimed Contributor

Re: # of Telnet Sessions

That is nonsense. You can pretty much set npty and nstrpty to anything reasonable (60 - ~ 500)
you like.
If it ain't broke, I can fix that.
Bernie Vande Griend
Respected Contributor

Re: # of Telnet Sessions

They musta been smoking something good. The only limits are those set by the kernel, the default is usually 60.
If its an 11.* system, change these:
npty, nstrpty, nstrtels
We set these all to 300 when we build a system.
Ye who thinks he has a lot to say, probably shouldn't.
Alexander M. Ermes
Honored Contributor

Re: # of Telnet Sessions

Hi there.
That is nonsense. The number of telnet sessions depend mostly on your kernel parameter nstrtell.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Michael Tully
Honored Contributor

Re: # of Telnet Sessions

Hi,

What drugs are those guys on??

As suggested you can have more whatever you choose. You need to build a new kernel though. Heres how to do it if you don't know how. You will need to reboot your system after the changes. You don't say whether your system is HPUX 10.20 or 11.

From the command line (HP-UX 11)

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (and make the necessary changes)
save file

# /usr/sbin/mk_kernel -s system
# /usr/sbin/kmupdate
# cd /

Reboot your system

From the command line (HP-UX 10.20)

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (and make the necessary changes)
save file

# /usr/sbin/mk_kernel -s system
# mv /stand/system /stand/system/system.prev
# mv /stand/vmunix /stand/vmunix.prev
# mv /stand/build/system /stand/system
# mv /stand/build/vmunix_test /stand/vmunix
# cd /

Reboot your system

Using SAM

sam --> kernel configuration --> configurable parameters
Make your changes and then from the actions menu, select 'process new kernel'

HTH
-Michael
Anyone for a Mutiny ?
Shahul
Esteemed Contributor

Re: # of Telnet Sessions

Hi

Who told U like this? I think he is a marketing guy of a competitor company. Anyway, U can very well set this more than 15. Normally default will be 60. I am using more than 15 telnet connection in old servers like D class and E45 with 10.2 OS.

Best of luck

Shahul
Scott Van Kalken
Esteemed Contributor

Re: # of Telnet Sessions

You also need to install device files or you run into a situation where person number 61 (say if you've set your kernel values to 60) gets an error message along the lines of no device file.

Not as bad to fix as no reboot required.

from memory it's along the lines of insf -C
or insf -d pty -n

I'm not 100% sure of the syntax of the insf for terminals so check up before using it or you end up with files all over the shop.
Jim Turner
HPE Pro

Re: # of Telnet Sessions

Sanjay_6
Honored Contributor

Re: # of Telnet Sessions

Deshpande Prashant
Honored Contributor

Re: # of Telnet Sessions

Hi
Changing the kernel parameters (npty, nstrpty, nstrtels ) you should be able to control the number of telnet sessions to your HP-Unix box.

Thanks.
Prashant.
Take it as it comes.
harry d brown jr
Honored Contributor

Re: # of Telnet Sessions

15 huh? Must have been an NT person? Maybe they meant 15 groups for NFS mounts?

live free or die
harry
Live Free or Die