Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 22:37:04 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        dlr <dlr@insane.asylum.org>
Cc:        efinley@castlenet.com, questions@FreeBSD.ORG
Subject:   Re: Number of tty's
Message-ID:  <Pine.BSF.3.96.980112223615.22079a-100000@gdi.uoregon.edu>
In-Reply-To: <19980110101559.50311@insane.asylum.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Jan 1998, dlr wrote:

> On Sat, Jan 10, 1998 at 06:31:14AM +0000, Elliot Finley wrote:
> > On Sat, 10 Jan 1998 00:14:58 -0500, you wrote:
> > 
> > man MAKEDEV
> 
> > >I just got the following message on a freebsd machine:
> > >telnetd: All network ports in use.                        
> > >I'm having problems with secure shell leaving dead shells around.
> > >Is there a way i can increase the number of logins accepted?
> > >I have ptys set to 256 in the kernel. Do I need to create new ttys?
> > >There are 49 tty* found in /dev.  Do i need to increase this somehow?
> 
> man MAKEDEV says:
> 
> tty#    standard PC COM ports
> The i386 supports the following devices.  Where a device name is followed
>      by a hash sign (``#''), the hash sign must be replaced by a unit number.
> 
> so i did MAKEDEV tty1 thru tty9. This took it from 49 up to 67 tty's. 
> Is there a way to increase this, or is this the maximum number of connections (i
> don't think that it would be the max number).

Try running

/dev/MAKEDEV pty256

That should be plenty for ya :-)

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980112223615.22079a-100000>