Bug 21590

Summary: Inocrrect pseudo-device entry in GENERIC kernel configuration file (4.1-RELEASE)
Product: Base System Reporter: Stanley.Hopcroft <Stanley.Hopcroft>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   

Description Stanley.Hopcroft 2000-09-27 07:20:01 UTC
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.

Fix: 

pseudo-device   pty  16             # Pseudo-ttys (telnet etc)
How-To-Repeat: ?
/usr/sbin/config GENERIC
cd ../../compile/GENERIC
make depend
make
make install
reboot
telnet localhost
Comment 1 Stanley.Hopcroft 2000-09-29 22:29:19 UTC
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
Comment 2 Bruce A. Mah freebsd_committer freebsd_triage 2000-09-30 00:16:54 UTC
State Changed
From-To: open->closed

Closed by request of submitter.