From owner-freebsd-isp Fri May 10 06:39:51 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA16217 for isp-outgoing; Fri, 10 May 1996 06:39:51 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA16202 Fri, 10 May 1996 06:39:47 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id IAA02239; Fri, 10 May 1996 08:37:31 -0500 From: Joe Greco Message-Id: <199605101337.IAA02239@brasil.moneng.mei.com> Subject: Re: How to add a delay before getty displays login prompt ? To: jc@irbs.com (John Capo) Date: Fri, 10 May 1996 08:37:31 -0500 (CDT) Cc: ATuretta@stylo.it, freebsd-questions@FreeBSD.org, freebsd-isp@FreeBSD.org In-Reply-To: <199605100415.AAA19162@irbs.irbs.com> from "John Capo" at May 10, 96 00:15:32 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > Angelo Turetta writes: > > > [...] > > I suspect that getty is displaying the prompt string a little too early for > > the Sportster, and often the modem is still in the phase where any character > > from the host aborts the connection. > > Reading 'man gettytab' I've not found any parameter to instert a delay > > between the DCD and the first write. > > > > I haven't tried this but > > :im=\0:pf#5: > > omits the initial banner and delays 5 seconds before issuing the > login: prompt. > > Or add sleep(5); above this piece of code in getty/main.c, around > line 226. > > if (IM && *IM) > putf(IM); I got a little exasperated at this; I did a much more general hack and put in a "bx=" capability that kicks off an arbitrary binary after setting modes but before printing the banner. (bx = banner executable). I've used this with beta versions of Motorola ISDN firmware which exhibit a similar (and reportedly intentional, for debugging purposes) behaviour. Works like a charm. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968