Date: Wed, 23 Sep 1998 11:29:50 -0700 (PDT) From: michael@blueneptune.com To: 1193016@student.unpar.ac.id (Thomas Wahyudi) Cc: freebsd-isp@FreeBSD.ORG Subject: Re: network port all in use Message-ID: <199809231829.LAA27249@rainey.blueneptune.com> In-Reply-To: <Pine.BSF.4.03.9809231343290.21706-100000@student.unpar.ac.id> from Thomas Wahyudi at "Sep 23, 98 01:46:41 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Could someone tell me how to void this message ? > > telnetd : All network port in use You have run out of ptys (pseudo terminals). You can increase this with the following line in your kernel configuration file: pseudo-device pty NN replacing NN with some number, usually a multiple of 32. Rebuild the kernel, and you'll have that many ptys available. I believe the absolute maximum you can have is 256. You need one pty for every telnet session. Other programs (such as emacs) can also use ptys. So be sure you have enough for your maximum needed number of logins, plus some slack. You will also need to make sure you make the appropriate files in /dev. Use "MAKEDEV ptyN", where "N" is "0" through "7", to make the following device nodes in sets of 32: pty0: /dev/ttyp[0-v], /dev/ptyp[0-v] pty1: /dev/ttyq[0-v], /dev/ptyq[0-v] pty2: /dev/ttyr[0-v], /dev/ptyr[0-v] pty3: /dev/ttys[0-v], /dev/ptys[0-v] pty4: /dev/ttyP[0-v], /dev/ptyP[0-v] pty5: /dev/ttyQ[0-v], /dev/ptyQ[0-v] pty6: /dev/ttyR[0-v], /dev/ptyR[0-v] pty7: /dev/ttyS[0-v], /dev/ptyS[0-v] For example, if you specify 128 ptys in the kernel, be sure you have the device nodes made for pty0 through pty3. > fyi: kernel compile with MAXUSER 256 That should be more than enough. -- Michael Bryan michael@blueneptune.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809231829.LAA27249>