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 From owner-freebsd-embedded@FreeBSD.ORG Sun Mar 23 17:35:22 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 90EC61065674 for ; Sun, 23 Mar 2008 17:35:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3329C8FC22 for ; Sun, 23 Mar 2008 17:35:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m2NHVvfk010732; Sun, 23 Mar 2008 11:31:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 23 Mar 2008 11:32:39 -0600 (MDT) Message-Id: <20080323.113239.-1860901563.imp@bsdimp.com> To: aj@siegel-tech.net From: "M. Warner Losh" In-Reply-To: <200803231122.57251.aj@siegel-tech.net> References: <200803231122.57251.aj@siegel-tech.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: 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:35:22 -0000 In message: <200803231122.57251.aj@siegel-tech.net> Aaron Siegel writes: : 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. Do you have all the pins of the serial port wired up, or just TX, RX and GND? If the latter, you should use 3wire.19200 as the entry in /etc/ttys. Warner From owner-freebsd-embedded@FreeBSD.ORG Sun Mar 23 17:54:34 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 4E12C106566B for ; Sun, 23 Mar 2008 17:54:34 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0A4F58FC26 for ; Sun, 23 Mar 2008 17:54:33 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m2NHhliL012082 for ; Sun, 23 Mar 2008 13:43:47 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m2NHhler009750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 23 Mar 2008 13:43:47 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200803231743.m2NHhler009750@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 23 Mar 2008 13:41:50 -0400 To: freebsd-embedded@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: analog modems 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:54:34 -0000 Does anyone know of any small form factor dialup modems that are either mini-pci or USB that work with FreeBSD ? Space/size is an issue for our application so I cant use a USB to serial adaptor and than hang and external modem off it. http://www.radi.com/modular47.htm is kind of the formfactor which would be great! ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-embedded@FreeBSD.ORG Sun Mar 23 18:17:21 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 8F98B106566C for ; Sun, 23 Mar 2008 18:17:21 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA518FC20 for ; Sun, 23 Mar 2008 18:17:21 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2680305wfa.7 for ; Sun, 23 Mar 2008 11:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=hXH06+sCGWkN3dTiz1wSu1eDyyK0uH1ESwv9KAzto5Y=; b=j/N2NnF59KFN9o7q6ywwRdwQuhc2KAu4XT3BmmhabvkzCqy3WpjhSZDYTMz+bfW726LKeVOEMlv/laxmahh0lKd5pv8vt2e7RpAux3rJRNBTrQXgJ7b+3BVToBIkVQp8PWN4LcWf5dKSzAXCp1VtUHcVXBye4OpEEnGgL8tYEQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=gTWNz4H/i0a67g/WEDY1gzS021WEYynX1mngVMCrPYmpHJ+6E7duIbGMSsAs3mEkM1SOBtR6vWXabCLQInqvXTzjvvQn1rQf/uFNUbvCXyY4yEH5T7Wgj+bUO1lASeuVPZ0dDGgSrX3LXnZEWFNxgXoC+faxf8+ePzQX62JuZt0= Received: by 10.142.211.10 with SMTP id j10mr3840672wfg.168.1206294516228; Sun, 23 Mar 2008 10:48:36 -0700 (PDT) Received: from ?192.168.1.102? ( [68.35.151.186]) by mx.google.com with ESMTPS id 22sm12959368wfd.4.2008.03.23.10.48.34 (version=SSLv3 cipher=RC4-MD5); Sun, 23 Mar 2008 10:48:35 -0700 (PDT) From: James To: "M. Warner Losh" In-Reply-To: <20080323.113239.-1860901563.imp@bsdimp.com> References: <200803231122.57251.aj@siegel-tech.net> <20080323.113239.-1860901563.imp@bsdimp.com> Content-Type: text/plain Date: Sun, 23 Mar 2008 11:48:36 -0600 Message-Id: <1206294516.6012.1.camel@pclmills.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Cc: aj@siegel-tech.net, freebsd-embedded@freebsd.org Subject: Re: Serial Communication: Terminals X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: oscartheduck@gmail.com List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 18:17:21 -0000 On Sun, 2008-03-23 at 11:32 -0600, M. Warner Losh wrote: > In message: <200803231122.57251.aj@siegel-tech.net> > Aaron Siegel writes: > : 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. > > Do you have all the pins of the serial port wired up, or just TX, RX > and GND? If the latter, you should use 3wire.19200 as the entry in > /etc/ttys. > > Warner Warner, if you check his original post again you'll see he has a typo in /boot/loader.conf that is the most likely suspect. James From owner-freebsd-embedded@FreeBSD.ORG Mon Mar 24 11:07:02 2008 Return-Path: Delivered-To: freebsd-embedded@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C0F31065679 for ; Mon, 24 Mar 2008 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 58A938FC21 for ; Mon, 24 Mar 2008 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2OB72PQ087736 for ; Mon, 24 Mar 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2OB71hx087732 for freebsd-embedded@FreeBSD.org; Mon, 24 Mar 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Mar 2008 11:07:01 GMT Message-Id: <200803241107.m2OB71hx087732@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org 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: Mon, 24 Mar 2008 11:07:02 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/15876 embedded [picobsd] PicoBSD message of the day problems o misc/28255 embedded [picobsd] picobsd documentation still references old . o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub 5 problems total.