From owner-freebsd-questions Sun Aug 29 9:12:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pop3-3.enteract.com (pop3-3.enteract.com [207.229.143.32]) by hub.freebsd.org (Postfix) with SMTP id 772E01572D for ; Sun, 29 Aug 1999 09:12:05 -0700 (PDT) (envelope-from dscheidt@enteract.com) Received: (qmail 25632 invoked from network); 29 Aug 1999 16:11:45 -0000 Received: from shell-3.enteract.com (dscheidt@207.229.143.42) by pop3-3.enteract.com with SMTP; 29 Aug 1999 16:11:45 -0000 Date: Sun, 29 Aug 1999 11:11:45 -0500 (CDT) From: David Scheidt To: Zhihui Zhang Cc: freebsd-questions@freebsd.org Subject: Re: please help with kermit In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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