Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 1997 22:11:12 -0400 (EDT)
From:      spork <spork@super-g.com>
To:        Adam Furman <afurman@sunfire.ucs.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Telnet Sessions
Message-ID:  <Pine.BSF.3.95.970429220422.16981C-100000@super-g.inch.com>
In-Reply-To: <Pine.BSF.3.96.970429205409.4449A-100000@sunfire.ucs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

You missed an important line at the bottom of the kernel config file:

-|super-g|-$ tail /usr/src/sys/i386/conf/SUPERG
#pseudo-device  ppp     1
#pseudo-device  tun     1
>>pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's

Just increase the "pseudo-device  pty" line to 32 and recompile the
kernel.  If you want 64, you will have to make more device nodes, which I
believe goes like this:

in /dev ./MAKEDEV pty2 

But I'd double-check that one...

Charles 

On Tue, 29 Apr 1997, Adam Furman wrote:

> We are running a new 2.2.1 box which was an upgrade.  It seems like we
> can't have more then 16 connections to this box.  When you telnet to it
> this is the error
> Trying 127.0.0.1...
> Connected to localhost.j51.com.
> Escape character is '^]'.
> telnetd: All network ports in use.
> Connection closed by foreign host.
> 
> In the kernel we have maxusers set to 64
> we also have 32 devices and they are listed in ttys
> I can't think of anything else that could be causing this.  Please email
> me if you know what could be causing this.
> Adam
> 
> Adam Furman    
> Assistant System Administrator of United Computer Specialists
> afurman@amf.net
> Irc Admin of irc.ucs.net
> 
> 
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970429220422.16981C-100000>