From owner-freebsd-questions Tue Jan 13 16:53:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01120 for questions-outgoing; Tue, 13 Jan 1998 16:22:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06796 for ; Tue, 13 Jan 1998 15:31:54 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id WAA22623; Mon, 12 Jan 1998 22:37:04 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 12 Jan 1998 22:37:04 -0800 (PST) From: Doug White Reply-To: Doug White To: dlr cc: efinley@castlenet.com, questions@FreeBSD.ORG Subject: Re: Number of tty's In-Reply-To: <19980110101559.50311@insane.asylum.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk 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