Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 00:15:33 -0800 (PST)
From:      wellsian <wellsian@caffeine.com>
To:        courtney@whtz.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Serial Port Setup
Message-ID:  <Pine.BSF.4.21.0002142351470.11134-100000@boris.netgate.net>
In-Reply-To: <85256886.001E3BEA.00@mail.whtz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Bernie,

That would depend on what you're trying to do once you set it; A serial
port isn't really "set" until you open it for use, either with a terminal
program or with something that listens for incoming connections. I'll make
a reach and assume you want to make an async connection out to a modem or
directly to another UART. Check the manpages for tip(1), cu(1) and
remote(5). Once you define a connection "name" and its settings in
/etc/remote you'll then be able to open a connection to it with either tip
or cu. There are plenty of other comm programs but those two can handle
the basics. (check /usr/ports/comms for some others) If you want to set up
the port for incoming connections then you'll be interested in
/etc/gettytab(5) and configuring getty(8) to listen for connections via
/etc/ttys(5).

If someone has better info please chime in. My incoming async experience
is slightly dated. :/

(By the way, those parenthesized numbers only designate the manpage
section numbers. I include them here to emphasize there are manpages
available but they'll all show up without specifying the sections.)

Dave

On Tue, 15 Feb 2000 courtney@whtz.com wrote:

> Hey everyone-
> 
>      What is the command that I would execute at the command  line to set
> up my serial port for 7 E 1 ??
> 
> thanks!
> 
> bernie



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002142351470.11134-100000>