From owner-freebsd-questions Mon Jun 2 01:22:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA06926 for questions-outgoing; Mon, 2 Jun 1997 01:22:54 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA06917 for ; Mon, 2 Jun 1997 01:22:50 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id KAA00607; Mon, 2 Jun 1997 10:22:25 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199706020822.KAA00607@helbig.informatik.ba-stuttgart.de> Subject: Re: Maximum telnet connections In-Reply-To: <199706020608.XAA09269@netmug.org> from Michael Haro at "Jun 1, 97 11:08:36 pm" To: perl@netmug.org (Michael Haro) Date: Mon, 2 Jun 1997 10:22:25 +0200 (MET DST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > How do I increase the maximum number of telnet connections. I just had 16 > users logged into my computer, and when I tried to connect, telnetd told me > that it couldn't accept any more connects. > > Why is this? How can I fix it? Probably not enough pseudo terminals in /dev and/or in your kernel. Do a # cd /dev # MAKEDEV pty1 This will create 32 (or 16 depending on the version of your FreeBSD) additional pseudo terminals in you /dev directory. If you have enough special files (/dev/ptyp? and /dev/ttyp?) you should increase the number of pseudo terminals your kernel is supporting. Change the pseudo-device pty 16 line in your kernel configuration file to pseudo-device pty 32 Wolfgang