*BSD News Article 38085


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!cs.utexas.edu!news.unt.edu!replicant!jackson
From: jackson@replicant.csci.unt.edu (Bruce Jackson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: More than 16 ptys?  What are ttyq#?
Date: 19 Nov 1994 04:21:36 GMT
Organization: University of North Texas
Lines: 31
Distribution: inet
Message-ID: <3ajugg$37o@hermes.unt.edu>
References: <MARK.1269.2ECCF346@ardsley.business.uwo.ca>
NNTP-Posting-Host: replicant.csci.unt.edu

In article <MARK.1269.2ECCF346@ardsley.business.uwo.ca>,
Mark_Bramwell <MARK@ardsley.business.uwo.ca> wrote:

>I would like to have more than 16 ttys for telnet ie: /dev/ttyp*
>/etc/ttys has /dev/ttyq* defined as enabled but there are no devices in the 
>dev directory.  Does anyone know if these are supported and I should simply 
>create the device files?

>The machine holds out well with 16 logged in.  I don't want people to get 'no 
>more telnetd ports' messages.

To get another 16 pseudo tty's do the following:

1) go into /etc and as root issue the command "sh MAKEDEV pty1" to create
the special files.

2) edit /etc/ttys (which you already done).

3) build a new kernel and make sure that 32 pseudo tty's are available
like "pseudo-device  pty  32"

If you need another 16 use "sh MAKEDEV pty2" and increase pty's to 48 in
the kernel.  I have never used more than 32 but in principal this should
work.



-- 
 Bruce Jackson         | Univ. of North Texas   | jackson@cs.unt.edu
 UNIX Systems Admin.   | P. O. Box 13886        | GAB 550E (817)565-2279
 Dept. of Computer Sci.| Denton, Tx. 76203-3886 | FAX: (817)565-2799