From owner-freebsd-questions Fri Jul 21 06:45:03 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id GAA00433 for questions-outgoing; Fri, 21 Jul 1995 06:45:03 -0700 Received: from mercury.unt.edu (mercury.unt.edu [129.120.1.1]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id GAA00427 for ; Fri, 21 Jul 1995 06:45:01 -0700 Received: from gab.unt.edu by mercury.unt.edu with SMTP id AA09442 (5.65c/IDA-1.4.4 for ); Fri, 21 Jul 1995 08:44:23 -0500 Received: from GAB/SpoolDir by gab.unt.edu (Mercury 1.13); Fri, 21 Jul 95 8:44:24 CST6CDT Received: from SpoolDir by GAB (Mercury 1.13); Fri, 21 Jul 95 8:44:13 CST6CDT From: "John Booth" Organization: University of North Texas To: amnuay muthitacharoen Date: Fri, 21 Jul 1995 08:44:07 CST6CDT Subject: Re: Limited FreeBSD Concurrent Users Cc: questions@freebsd.org Priority: normal X-Mailer: Pegasus Mail v3.22 Message-Id: <131A5BA5F66@gab.unt.edu> Sender: questions-owner@freebsd.org Precedence: bulk > The FreeBSD Unix that I installed from the Wallnut Creek FreeBSD > CDROM can accommodate upto 16 concurrent users via ethernet TCP/IP . > Is there anyway to bring the number of concurrent users up further ? > You need to re-compile the kernel with more pseduo terminals (pty's). If you have made the kernel already DON'T copy the GENERIC over the configure file for it. 1. Make sure you have kernel source installed, if not install it. 2. cd /usr/src/sys/i386/conf 3. cp GENERIC name_for_your_kernel 4. vi name_for_your_kernel (assuming it's the editor you use vi) Goto end of file, find pseudo-device pty line, increase # to # of people you would like logged in. Save file. I believe screen may also use pty's so it's not stricly the maximum # of people that can be logged in. I think you can goto 64 w/o any major changes anywhere else. I use 32 personally and have between 3 and 16 users on most of time. 5. config name_for_your_kernel 6. cd ../../compile/name_for_your_kernel 7. make depend && make 8. cp kernel / 9. reboot your machine and the extra pty's will be available assuming the compilation process went ok. You may need to use the MAKEDEV script to generate more pty devices in the etc directory. (you can cd /dev;ls pt* and see how many devices are there already). ---------------------------------------------------------------------- College of Arts & Sciences Computing Services John A. Booth, john@gab.unt.edu