From owner-freebsd-embedded@FreeBSD.ORG Sun Mar 23 17:23:17 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 151B81065675 for ; Sun, 23 Mar 2008 17:23:17 +0000 (UTC) (envelope-from aj@siegel-tech.net) Received: from pro38.abac.com (pro38.abac.com [66.226.64.39]) by mx1.freebsd.org (Postfix) with ESMTP id EAEE28FC1B for ; Sun, 23 Mar 2008 17:23:16 +0000 (UTC) (envelope-from aj@siegel-tech.net) Received: from [192.168.245.10] (c-67-190-154-61.hsd1.co.comcast.net [67.190.154.61]) (authenticated bits=0) by pro38.abac.com (8.14.1/8.14.1) with ESMTP id m2NHN67B007273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 23 Mar 2008 10:23:11 -0700 (PDT) (envelope-from aj@siegel-tech.net) From: Aaron Siegel To: freebsd-embedded@freebsd.org Date: Sun, 23 Mar 2008 11:22:57 -0600 User-Agent: KMail/1.9.6 (enterprise 20071221.751182) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803231122.57251.aj@siegel-tech.net> Subject: Serial Communication: Terminals X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 17:23:17 -0000 Hello I am trying to set up access the serial terminal I set up on my single board computer (ALIX2) running FreeBSD. I followed the configuration provied in the Terminal section of the Handbook, subsection 24.3.2.1 "Adding an Entry to /etc/ttys forced init with the #kill -HUP 1. The question is; if the login prompt is to appear where would it appear? Would it be one of the virtual terminals? Do I need to use cu, tip, or minicom? When I use cu program # cu -l cuad1 I receive a message Connected But I do not receive a prompt. The getty process is running # ps -axwww | grep getty 47126 ?? I 0:00.00 /usr/libexec/getty std.19200 ttyd1 47129 v0 Is+ 0:00.00 /usr/libexec/getty Pc ttyv0 47130 v1 Is+ 0:00.00 /usr/libexec/getty Pc ttyv1 702 v2 Is+ 0:00.00 /usr/libexec/getty Pc ttyv2 703 v3 Is+ 0:00.00 /usr/libexec/getty Pc ttyv3 704 v4 Is+ 0:00.00 /usr/libexec/getty Pc ttyv4 705 v5 Is+ 0:00.00 /usr/libexec/getty Pc ttyv5 706 v6 Is+ 0:00.00 /usr/libexec/getty Pc ttyv6 707 v7 Is+ 0:00.00 /usr/libexec/getty Pc ttyv7 My /etc/ttys file # 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 on secure ttyd2 "/usr/libexec/getty std.9600" dialup off secure ttyd3 "/usr/libexec/getty std.9600" dialup off secure My setting on the single board computer /etc/tty ttyd0 "/usr/libexec/getty std.9600" dialup on secure /boot/loader.conf console="comconsole" comsonsole_speed="19200" #This may be the problem http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/term.html I am going to change the /boot/loader.conf, and hope the terminal login appears. Thank you Aaron