From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 19:04:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0583116A4CE for ; Mon, 18 Oct 2004 19:04:04 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E694743D45 for ; Mon, 18 Oct 2004 19:04:02 +0000 (GMT) (envelope-from krylon@gmx.net) Received: (qmail 24492 invoked by uid 65534); 18 Oct 2004 19:04:01 -0000 Received: from i53875A02.versanet.de (EHLO [192.168.0.13]) (83.135.90.2) by mail.gmx.net (mp001) with SMTP; 18 Oct 2004 21:04:01 +0200 X-Authenticated: #685629 Message-ID: <417413A0.8050200@gmx.net> Date: Mon, 18 Oct 2004 21:04:00 +0200 From: Benjamin Walkenhorst User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Geert Hendrickx References: <20041018185258.GA71347@lori.mine.nu> In-Reply-To: <20041018185258.GA71347@lori.mine.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: arbitrary programs in /etc/ttys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 19:04:04 -0000 Hello, Geert Hendrickx wrote: >ttyv0 "/usr/bin/cu -l cuaa0" vt100 on secure > >But this gives me the following error when restarting init: > >init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs > >Apparently cu can not be started directly from /etc/ttys, can it? How >else should I accomplish this? > > I think you are trying to start cu on a _virtual_ terminal (ttyvN). In my /etc/ttys the section with the virtual terminals is followed by these entries: # Serial terminals # The 'dialup' keyword identifies dialin lines to login, fingerd etc. ttyd0 "/usr/libexec/getty std.9600" dialup off secure ttyd1 "/usr/libexec/getty std.9600" dialup off secure ttyd2 "/usr/libexec/getty std.9600" dialup off secure ttyd3 "/usr/libexec/getty std.9600" dialup off secure # Dumb console dcons "/usr/libexec/getty std.9600" vt100 off secure I think you just need to turn the corresponding serial port "on". I am not sure if you can create a login screen on your soon-to-be terminal automatically upon startup of the FreeBSD box, however... Hope this helps, Benjamin