Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 1998 22:11:42 -0400 (EDT)
From:      Dima Dorfman <dima@zwb.net>
To:        b9573021@bupt.edu.cn (TangXiaosheng)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Would you please help me?
Message-ID:  <199806040211.WAA10291@nwalme.pair.com>
In-Reply-To: <3.0.3.32.19980603232719.006c2774@noya.bupt.edu.cn> from TangXiaosheng at "Jun 3, 98 11:27:19 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806040211.WAA10291>