From owner-freebsd-questions Fri Sep 27 09:33:18 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA00635 for questions-outgoing; Fri, 27 Sep 1996 09:33:18 -0700 (PDT) Received: from jack.colorado.edu (jack.Colorado.EDU [128.138.149.29]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA00597 for ; Fri, 27 Sep 1996 09:33:12 -0700 (PDT) Received: from jack (localhost [127.0.0.1]) by jack.colorado.edu (8.7.6/8.7.3/CNS-4.0p) with SMTP id KAA23545; Fri, 27 Sep 1996 10:32:55 -0600 (MDT) Message-ID: <324C01B7.650C@Colorado.EDU> Date: Fri, 27 Sep 1996 10:32:55 -0600 From: "Mark O'Lear" Organization: University of Colorado X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: Howard Lew CC: questions@freebsd.org Subject: Re: a trick for /etc/ttys References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Howard Lew wrote: > > Does anyone know of a trick to use in /etc/ttys that will let me use a > modem off of one of the the ttyd lines that currently has a getty line > turned on but is not currently in use? > > In other words, is there a way to use say ttyd2 when the modem is idle, so > that I can dial out without actually modifying the /etc/ttys file and > doing a kill -1 1 and killing the getty process? For those familiar with > mgetty, i have tried using the /etc/nologin.ttyd2 but that only prevents > mgetty/vgetty from answer the phone. It does not free up the port. > > Any ideas? Thanks in advance for any help. mgetty works "straight out of the box" for me. I use /dev/cuaa2 to dial out instead of /dev/ttyd2 though. You might try using /dev/cuaa2 (I believe you should use that regardless of getty/mgetty/vgetty if you have a modem attached to that port). -- Mark O'Lear \ e-mail: Mark.Olear@Colorado.EDU University of Colorado \ phone: (303) 492-3798 Telecomm. Svcs. (CB 313) \ fax: (303) 492-5105 Boulder, CO 80309 \