From owner-freebsd-questions Mon Jul 10 12:14:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.omn.net (atlantis.omn.net [212.158.68.2]) by hub.freebsd.org (Postfix) with ESMTP id A456837B770 for ; Mon, 10 Jul 2000 12:14:41 -0700 (PDT) (envelope-from steve@enets.co.uk) Received: from enets.co.uk (sabre3.sja.co.uk [212.158.68.7]) by mail.omn.net (8.10.1/8.10.1/Omnitech-2.0.0) with ESMTP id e6AKGoc27713; Mon, 10 Jul 2000 20:16:50 GMT Message-ID: <396A2061.C4A3DEFD@enets.co.uk> Date: Mon, 10 Jul 2000 20:13:37 +0100 From: Steve Abraham Reply-To: steve@enets.co.uk Organization: eNets Ltd X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: Dan Nelson Cc: questions@freebsd.org Subject: Re: issue / issue.net References: <3969D91C.C4B3BCF9@enets.co.uk> <20000710092846.A16340@dan.emsphone.com> <3969EDF3.88CB1BB@enets.co.uk> <20000710135454.A28202@dan.emsphone.com> <396A1C71.109CD9AA@enets.co.uk> <20000710141006.A22223@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > > In the last episode (Jul 10), Steve Abraham said: > > Dan Nelson wrote: > > > In the last episode (Jul 10), Steve Abraham said: > > > > I've specified the following, but it sees to ignore it and still > > > > displays nothing... > > > > > > > > default:\ > > > > :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:if=/etc/issue: > > > > > > Hmm. Works fine for me (on -current). Note that there is a > > > 1024-byte limit on the if= file, or telnetd will coredump. You can > > > probably raise the limit by editting telnetd.c, lines 130 and 131, > > > and changing the arrays from BUFSIZ (i.e. 1024) to something > > > larger. > > > > I thought of that, but the file is as follows... > > > > -rw-r--r-- 1 root wheel 656 Jul 10 12:27 issue > > I'm stumped then :) Have you been testing by telnetting to localhost > or logging in via the console? If you have only been trying one way, > try the other. The banner is printed by getty for consoles, and > telnetd for telnet logins. Maybe there's a bug in one or the other. Both telnetting from the outside world, and telnetting from the console result in... FreeBSD/i386 (XXX) (ttyp1) login: ... even though I have a message in the issue file. I must be doing something daft, but I can't think what it is. S. --- Steve Abraham eNets Ltd UK steve (at) enets.co.uk http://www.eNets.ltd.uk T: +44 (0)1463 861311 F: +44 (0)8702 840220 M: +44 (0)7770 332765 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message