From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 06:21:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B5EC16A400 for ; Sun, 8 Jul 2007 06:21:33 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from eskimo.tundraware.com (eskimo.tundraware.com [66.92.130.161]) by mx1.freebsd.org (Postfix) with ESMTP id 5459313C447 for ; Sun, 8 Jul 2007 06:21:28 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [66.92.130.199]) (authenticated bits=0) by eskimo.tundraware.com (8.14.1/8.14.1) with ESMTP id l686LFAS016342 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sun, 8 Jul 2007 01:21:16 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <46908257.8060209@tundraware.com> Date: Sun, 08 Jul 2007 01:21:11 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <469056DE.40902@tundraware.com> In-Reply-To: <469056DE.40902@tundraware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-tundraware.com-MailScanner-Information: Please contact the ISP for more information X-tundraware.com-MailScanner: Found to be clean X-tundraware.com-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 1, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-tundraware.com-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Enabling A Serial Port On 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 06:21:33 -0000 Tim Daneliuk wrote: > System is FreeBSD 6.2-STABLE. > > I've added this to /etc/ttys: > > ttyd0 "/usr/libexec/getty dial.115200" unknown on insecure > > And this to gettytabs: > > dial.115200:\ > :np:to#30:hw:sp#115200:pp=/etc/ppp/pppserv > > But when I 'kill -HUP 1' no getty process on ttyd0 shows up in the ps > listing. I found (and fixed) what was causing this, but it is very strange and I am documenting here so others may avoid the pain. At the *end* of /etc/ttys the file, I put: ttyd0 "/usr/libexec/getty dial.115200" unknown on insecure But ... the entry did not end with a newline and init apparently thus didn't recognize it. Ending the line made everything happy. I am submitting this as a (very minor) bug, since I do not believe this to be correct behavior (but what do I know ;) ... ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/