Return to BSD News archive
#! rnews 2312 bsd Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!uwm.edu!news-peer.gsl.net!news.gsl.net!news-dc.gsl.net!news.gsl.net!news From: John Lucas <jlucas@jnet.vi> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: All network ports in use?? Date: Tue, 26 Nov 1996 16:01:25 -0400 Organization: University of the Virgin Islands Lines: 54 Message-ID: <329B4C95.59E2B600@jnet.vi> References: <329a57b8.136625@news.resolink.com> NNTP-Posting-Host: backen.uvi.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386) CC: kinson@resolink.com Kinson Chan =B3=AF =ABe wrote: > = > Hi, > When I tried to telnet to my FreeBSD host, it display this message > = > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [beta-kinson]:/home/tech/kinson>telnet 202.88.252.50 > Trying 202.88.252.50... > Connected to 202.88.252.50 > Escape character is '^]'.on > telnetd: All network ports in use. > Connection closed by foreign host. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > = > Anybody know the reason? How to increase the network ports? > Pls give me a mail. > = You need to do two things after you decide how many terminal sessions you need: 1. Edit your kernel config file the default says: pseudo-device pty 16 = change it to any value up to 128 and generate a new kernel. 2. run /dev/MAKEDEV as root to create the new devices, use these commands serially: ./MAKEDEV pty1 (for total of 64) ./MAKEDEV pty2 (for total of 96) ./MAKEDEV pty3 (for total of 128) Don't get carried away, these things take resources (as will more simultaneous terminal sessions). To go from 16 to 32 just requires the new kernel (apparently), but anything higher will require creation of new devices too. = -- = | John Lucas jlucas@jnet.vi | | Information Technology NIC Handle: JL423 | | University of the Virgin Islands (809) 693-1216 | | St. Thomas, VI 00802 http://www.jnet.vi/jlucas.html |