From nobody@FreeBSD.ORG  Tue Sep 26 23:12:38 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id DA66D37B423; Tue, 26 Sep 2000 23:12:37 -0700 (PDT)
Message-Id: <20000927061237.DA66D37B423@hub.freebsd.org>
Date: Tue, 26 Sep 2000 23:12:37 -0700 (PDT)
From: Stanley.Hopcroft@IPAustralia.Gov.AU
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Inocrrect pseudo-device entry in GENERIC kernel configuration file (4.1-RELEASE)
X-Send-Pr-Version: www-1.0

>Number:         21590
>Category:       kern
>Synopsis:       Inocrrect pseudo-device entry in GENERIC kernel configuration file (4.1-RELEASE)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 26 23:20:01 PDT 2000
>Closed-Date:    Fri Sep 29 16:16:54 PDT 2000
>Last-Modified:  Fri Sep 29 16:17:56 PDT 2000
>Originator:     Stanly Hopcroft
>Release:        4.1-RELEASE
>Organization:
IP Australia
>Environment:
FreeBSD stan.aipo.gov.au 4.1-RELEASE FreeBSD 4.1-RELEASE #0:
Fri Sep  1 13:27:48 EST 2000
root@stan.aipo.gov.au:/usr/src/sys/compile/STAN2  i386
>Description:
There needs to be a digit string (eg 16) after "pty" in the linee


pseudo-device   pty             # Pseudo-ttys (telnet etc)

in the file /usr/src/sys/i386/conf/GENERIC

Otherise, a kernel generated from that file, without changing the
pty entry, will not accept telnet (or ssh) connections.

Attempting to telnet to such a machine will fail with the
message

"telnetd: All network ports in use".

Note that this entry is different in 4.1-R and 4.0-R to the 3.x
machines I have looked at.




>How-To-Repeat:
?
/usr/sbin/config GENERIC
cd ../../compile/GENERIC
make depend
make
make install
reboot
telnet localhost		
>Fix:
pseudo-device   pty  16             # Pseudo-ttys (telnet etc)

>Release-Note:
>Audit-Trail:

From: Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: kern/21590: Incorrect pseudo-device entry in GENERIC
Date: Sat, 30 Sep 2000 08:29:19 +1100 (EST)

 Dear Ladies and Gentlemen,
 
 Please ignore this PR (kern/21590).
 
 Mr Sean Winn (Sean Winn <sean@gothic.net.au>) has written me that
 FreeBSD 4.x dos *not* need a digit string after the pseudo-device pty
 entry in the kernel configuration file.
 
 "This is correct for FreeBSD 4.x, the tun, pty, bpf devices etc. all
 clone as needed. All you need to do is have enough tty[pqrs] devices in
 /dev/"
 
 I am sorry to bother you about this.
 
 Thank you,
 
 Yours sincerely.
 
 S Hopcroft
 Network Specialist
 IP Australia
 
 +61 2 6283 3189
 +61 2 6281 1353 FAX
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: bmah 
State-Changed-When: Fri Sep 29 16:16:54 PDT 2000 
State-Changed-Why:  
Closed by request of submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21590 
>Unformatted:
