Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 11:11:45 -0500 (CDT)
From:      David Scheidt <dscheidt@enteract.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: please help with kermit
Message-ID:  <Pine.NEB.3.96.990829110039.15025A-100000@shell-3.enteract.com>
In-Reply-To: <Pine.GSO.3.96.990829111025.6594A-100000@sol.cs.binghamton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Aug 1999, Zhihui Zhang wrote:

> 
> (1) Run getty on a line (e.g. /dev/ttyd0) only if the machine is expecting
> a login on that line. 

Yup.  init(8) waits for serial port to become free, then starts
getty(8), which invokes login(1) when someone connects, which
invokes the shell of whoever logs in.  When you log out, init
restarts the getty.   If you aren't going to use that port as a terminal,
there is no need to run getty on it.  You can use the port for dial-in and
dial-out, but I have always had problems with that.  It may just be me.

> 
> (2) If I do not want to login, I can turn off the lines in /etc/ttys.
> In this case, I can still use the line by other programs like kermit.  In
> other words, I can use serial communication without touching /etc/ttys or
> getty at all.

Right.  /etc/ttys has nothing to do with the ability of anything to use the
port for outgoing.


David



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.NEB.3.96.990829110039.15025A-100000>