Date: Tue, 26 Sep 2000 20:06:34 +1100 (EST) From: Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU> To: Odhiambo Washington <wash@iconnect.co.ke> Cc: Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU>, FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: Re: telnetd: All network ports in use. After new 4.1-R kernel; Ok with GENERIC. Message-ID: <Pine.BSF.4.21.0009261832370.1505-100000@stan> In-Reply-To: <20000926102731.I11998@poeza.iconnect.co.ke>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Sir, I am writing to thank you for your letter about this matter, On Tue, 26 Sep 2000, Odhiambo Washington wrote: > * Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU> [20000926 02:39]: > =>Dear Ladies and Gentlmen, > => > =>I am writing to ask your help with this message > => > =>Connected to blah. > =>Escape character is '^]'. > =>telnetd: All network ports in use. > =>Connection closed by foreign host. > => > =>Why isn't there a number after pty ? > > I MUST have a number to specify the no. of ttys available!!!!! > put, say 16, after it and recompile. > > > => > =>It's possible, however, that I commmented it out mistakenly when trying > =>to do so for the tun or md pseudo-devices. > => > > I am not sure. > > =>My reasons for asking include > => > =>1 There is nothing in the FAQ about this > =>2 Frequent advice in "Questions" to rebuild the kernel with more > =>ptys. If I haven't touched ptys, and perhaps others are the same, then > =>this advice is useless. > =>3 This is the second time this has happened to me with a 4.x kernel > =>(never in 3.x or 2.1.x and 2.2.x). I don't think anything's wrong with > =>the 4.x kernel but this may be a common mistake that others can avoid. > => > > look at the explanations in /usr/src/sys/i386/conf/LINT and say, "If you're not very clever you should be conciliatory. -- Benjamin Disraeli" I'll try and follow this advice. I need to. stan> cd /usr/src/sys/i386/conf/ stan> uname -a 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 stan> grep -i -3 pty LINT ##################################################################### # MISCELLANEOUS DEVICES AND OPTIONS # The `pty' device usually turns out to be ``effectively mandatory'', # as it is required for `telnetd', `rlogind', `screen', `emacs', and # `xterm', among others. pseudo-device pty #Pseudo ttys pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device gzip #Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device md #Memory/malloc disk pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. pseudo-device ccd 4 #Concatenated disk driver # Configuring Vinum into the kernel is not necessary, since the kld stan> My reading of this is that there is no explanation of the number of ptys in LINT. Where else should I look ? I can't understand the code in kern/tty_pty.c. stan> grep -i pty STAN2 pseudo-device pty # Pseudo-ttys (telnet etc) stan> Should there be a number after ptys ? (like bpf ). If so, why does this kernel accept telnet connections ? > > > =>Thank you, > > > -- > Odhiambo Washington Inter-Connect Ltd., > wash@iconnect.co.ke 5th Flr Furaha Plaza > Tel: 254 11 222604 Nkrumah Rd., > Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA. > > After all, it is only the mediocre who are always at their best. -Jean > Giraudoux > Thank you, Yours sincerely. S Hopcroft Network Specialist IP Australia +61 2 6283 3189 +61 2 6281 1353 FAX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009261832370.1505-100000>