From owner-freebsd-questions@FreeBSD.ORG Mon Jul 21 01:30:34 2003 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 5527E37B401 for ; Mon, 21 Jul 2003 01:30:34 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2057043F75 for ; Mon, 21 Jul 2003 01:30:33 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp418.sa.padsl.internode.on.net [150.101.245.161]) h6L8UTdj024733; Mon, 21 Jul 2003 18:00:30 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: "Troy Settle" , Date: Mon, 21 Jul 2003 18:00:29 +0930 User-Agent: KMail/1.4.3 References: <000901c34f03$de0a9ec0$0100a8c0@tws> In-Reply-To: <000901c34f03$de0a9ec0$0100a8c0@tws> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200307211800.29390.malcolm.kay@internode.on.net> Subject: Re: Listening to a serial port 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, 21 Jul 2003 08:30:34 -0000 On Mon, 21 Jul 2003 06:44, Troy Settle wrote: > All, > > How can I configure the serial port to listen at 1200 baud, 8N2, > XON/XOFF? > > I try using stty to set the port speed, but it doesn't take. I also > don't see how to set the stop bits. > > Any help is appreciated. It's not altogether clear what you are trying to do. If you want to run a login session on the port then look at=20 Ryan Merrick's response. If you want to use it as a simple port say /dev/cuaa0 then stty only works after the port is allocated. Try setting instead /dev/cuaia0 using stty. This sets the defaults for the /dev/cuaa0 port which take effect when the port is opened unless over ridden=20 by the software attached to the port. Malcolm Kay.