Date: Sun, 8 Sep 2013 23:13:37 -0700 (PDT) From: Jack Mc Lauren <jack.mclauren@yahoo.com> To: Steve O'Hara-Smith <steve@sohara.org> Cc: FreeBSD Global Users Mailing List <freebsd-questions@freebsd.org> Subject: Re: ttys file question Message-ID: <1378707217.12750.YahooMailNeo@web160101.mail.bf1.yahoo.com> In-Reply-To: <20130908195346.7827f3d325538160b47ad2a2@sohara.org> References: <1378658444.76542.YahooMailNeo@web160101.mail.bf1.yahoo.com> <20130908195346.7827f3d325538160b47ad2a2@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>> But I can not connect to my server with this configuration. But if I >> change ttyu6 to cuau6, everything works fine! I don't understand the >> difference, would you please explain the reason for me? >> > In short the tty devices are for outgoing connections, the cua >devices are for incoming connections. > > For more detail see sio(4), after all the detail about multi-port >serial cards and their master ports comes a couple of paragraphs >describing >the devices associated with each serial port in detail. > >-- >Steve O'Hara-Smith <steve@sohara.org> Thanks. Another question is how can I change the default values of e.g. databits, stopbits and ... for the device? I can set the speed in /etc/ttys. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 9 06:58:27 2013 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 166F2D1 for <freebsd-questions@freebsd.org>; Mon, 9 Sep 2013 06:58:27 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (uk1rly2283-a.eechost.net [217.69.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id D1D122A61 for <freebsd-questions@freebsd.org>; Mon, 9 Sep 2013 06:58:26 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from <steve@sohara.org>) id 1VIvPZ-0004mt-PG; Mon, 09 Sep 2013 07:57:25 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from <steve@sohara.org>) id 1VIvQV-000Llt-GK; Mon, 09 Sep 2013 06:58:23 +0000 Date: Mon, 9 Sep 2013 07:58:23 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: Jack Mc Lauren <jack.mclauren@yahoo.com> Subject: Re: ttys file question Message-Id: <20130909075823.b9c0d90af96d853642947d49@sohara.org> In-Reply-To: <1378707217.12750.YahooMailNeo@web160101.mail.bf1.yahoo.com> References: <1378658444.76542.YahooMailNeo@web160101.mail.bf1.yahoo.com> <20130908195346.7827f3d325538160b47ad2a2@sohara.org> <1378707217.12750.YahooMailNeo@web160101.mail.bf1.yahoo.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: FreeBSD Global Users Mailing List <freebsd-questions@freebsd.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 09 Sep 2013 06:58:27 -0000 On Sun, 8 Sep 2013 23:13:37 -0700 (PDT) Jack Mc Lauren <jack.mclauren@yahoo.com> wrote: > Thanks. Another question is how can I change the default values of e.g. > databits, stopbits and ... for the device? I can set the speed > in /etc/ttys. Look at the man pages for sio and stty - all the details are there. -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1378707217.12750.YahooMailNeo>