From owner-freebsd-questions@FreeBSD.ORG Mon Sep 9 06:13:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4220A94F for ; Mon, 9 Sep 2013 06:13:46 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm44-vm3.bullet.mail.bf1.yahoo.com (nm44-vm3.bullet.mail.bf1.yahoo.com [216.109.114.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B85BE2858 for ; Mon, 9 Sep 2013 06:13:45 +0000 (UTC) Received: from [98.139.212.151] by nm44.bullet.mail.bf1.yahoo.com with NNFMP; 09 Sep 2013 06:13:38 -0000 Received: from [98.139.212.209] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 09 Sep 2013 06:13:38 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 09 Sep 2013 06:13:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 223455.53321.bm@omp1018.mail.bf1.yahoo.com Received: (qmail 16184 invoked by uid 60001); 9 Sep 2013 06:13:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1378707218; bh=squvIrenilphSSiD45ybbExiK+OYyVxQLpr/wp97MSw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=kz5FT+IF4tmEoQrwrewqFpF8WraYyk1JYNIiAfB7a5Kr3t7iUSZ5NQgkGUGnma86vZzo84Gu4PaIuyJtvfM/GrKsV3BkrII0PbZRWsju+c1SockDTLm+dPYvJEdTJF0uYJ6Y/4Jwd6TUFQ/BIbdT9Q+tth9hYQV0vlSZ8ZtOzXU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=aot+VufcrE0rVrkaapPUlYtzGd9dNUoUJ7zAcRuYWb89w18/EKNuehbA3N6xY4k2BNoieJ8c9FixZU3JgSWTHP0ASNZOSPar8NoQRVt247s4LTL/N8P6WwGC6Jtel1Vk0FbVwU7SeWhm5jj+QEkeaW/WVukQRaMCNdcVyvxYSek=; X-YMail-OSG: ZUqOq6sVM1kYoDwOBgFXKJWpBXxUtIkzKxzkO8SXsdqnpwB WPGLyt3rBMA1AqMpO9cYLag2EqdOpn.SHzUNIeFuFxhSeIPPlVm.BME8jh00 QKaNWD3XyDR4p_DF8ifuLd7BFMdo41RIElQCKh.m1x.DVepUu95ZbcegVb2T msGfo97JuQqmZxFOQwnYD0B2EkGOR7rJCcxfaRUhbjgqcvStJqHQmsI3O3xV XtfFSBonBDUqA4cGUuHFog8ZwDLqFuDA5tsoD1T9IUmCOymbLRA7_f1hNpVy nVmgZ5e5MlqvunZPEFj85ACA4dl025NxNV9XB_9ohuoU7xFtz2VrUmH98duI kisPdcPEghM4lQOQ4dpfxmJnWg7itOfjw_NW3zR4I6yDbuBwRhjUiOgIQcfu z7LMWd8mhmoJtBUfH27SQCrQXr8rHHexUnZfAMCt6Wau_GV3pzUvImqb126M Nd5eZ9gbzIMa6O0NGF.UVr5a5srWrGP8lYD1GZLQkVZK4xcVKl8jePqMTTZD MkNNSz6.2hd76mbRbPAgKSOs.EcgqVMQV_Hq99dBL6ieo Received: from [89.165.120.140] by web160101.mail.bf1.yahoo.com via HTTP; Sun, 08 Sep 2013 23:13:37 PDT X-Rocket-MIMEInfo: 002.001, Pj4gQnV0IEkgY2FuIG5vdCBjb25uZWN0IHRvIG15IHNlcnZlciB3aXRoIHRoaXMgY29uZmlndXJhdGlvbi4gQnV0IGlmIEkKPj4gY2hhbmdlIHR0eXU2IHRvIGN1YXU2LCBldmVyeXRoaW5nIHdvcmtzIGZpbmUhIEkgZG9uJ3QgdW5kZXJzdGFuZCB0aGUKPj4gZGlmZmVyZW5jZSwgd291bGQgeW91IHBsZWFzZSBleHBsYWluIHRoZSByZWFzb24gZm9yIG1lPwo.Pgo.ICAgIEluIHNob3J0IHRoZSB0dHkgZGV2aWNlcyBhcmUgZm9yIG91dGdvaW5nIGNvbm5lY3Rpb25zLCB0aGUgY3VhCj5kZXZpY2VzIGFyZSBmb3IBMAEBAQE- X-Mailer: YahooMailWebService/0.8.156.576 References: <1378658444.76542.YahooMailNeo@web160101.mail.bf1.yahoo.com> <20130908195346.7827f3d325538160b47ad2a2@sohara.org> Message-ID: <1378707217.12750.YahooMailNeo@web160101.mail.bf1.yahoo.com> Date: Sun, 8 Sep 2013 23:13:37 -0700 (PDT) From: Jack Mc Lauren Subject: Re: ttys file question To: Steve O'Hara-Smith In-Reply-To: <20130908195346.7827f3d325538160b47ad2a2@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Global Users Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 06:13:46 -0000 >> 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 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: 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 ; 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 ; 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 ) 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 ) 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 To: Jack Mc Lauren 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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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/