From owner-freebsd-questions Wed Jun 3 19:12:58 1998 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02567 for freebsd-questions-outgoing; Wed, 3 Jun 1998 19:12:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from nwalme.pair.com (nwalme.pair.com [209.68.1.123]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02551 for <freebsd-questions@FreeBSD.ORG>; Wed, 3 Jun 1998 19:12:52 -0700 (PDT) (envelope-from dima@nwalme.pair.com) Received: (from dima@localhost) by nwalme.pair.com (8.9.0/8.6.12) id WAA10291; Wed, 3 Jun 1998 22:11:42 -0400 (EDT) Message-Id: <199806040211.WAA10291@nwalme.pair.com> X-Envelope-To: freebsd-questions@FreeBSD.ORG Subject: Re: Would you please help me? To: b9573021@bupt.edu.cn (TangXiaosheng) Date: Wed, 3 Jun 1998 22:11:42 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <3.0.3.32.19980603232719.006c2774@noya.bupt.edu.cn> from TangXiaosheng at "Jun 3, 98 11:27:19 pm" From: Dima Dorfman <dima@zwb.net> X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Dear Sirs: > > I am a Chinese User of Freebsd 2.2.5. > > Now I met a problem, I have installed a BBS Server on my FreeBSD 2.2.5, > > but it can only support 256 users, I have consult a lot of people around > > me about it, they can only tell me that I should change tty_pty.c and > telnetd.c They're right about tty_pty.c, but if it's a BBS, I suppose that people dialin to you, so telnetd has nothing to do with it. If I'm wrong, please tell me. There are many ways to interpret "BBS". > > But I don't know how to change it. Did you try using vi? ;-) > > And how can I make kernal to meet my requirement? Hack the kernel. Sorry, I'm a little sarcastic today. If you have system sorces installed, edit /usr/src/sys/kern/tty_pty.c at line 98. It says: #define MAXUNITS (8 * 32) Try changing the 8 to 9, or whatever, and recompile your kernel. I highly suggest you use a test platform if you plan to do this. There is a chance it will screw everything up (.1%), and a chance it won't help. Also, make sure you have enough /dev entries. DISCLAIMER: I do not guarantee anything. AS said above, it could screw everything. Don't blame me. I've warned you. > > Thanks, > > Your's Sincerely, > > TangXiaosheng 1998.6.3 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Dima Dorfman (dima@zwb.net) "640k ought to be enough for anybody." - Bill Gates, 1981 Micro$oft Sucks! FreeBSD Rules! http://www.freebsd.org/ Finger dima@zwb.net for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message