From: teffta@cs690-3.erie.ge.com (Andrew R. Tefft) Subject: Re: Auto-answer with uugetty or getty Date: Tue, 28 Sep 1993 01:42:14 GMT
In article <1993Sep26.225940.2779@datasoft.north.net> mark@datasoft.north.net (Mark Buckaway) writes:
>Jack Roberts (roberts@nscf.org) wrote:
>: I only have one modem and would like to use it in a dialin and dialout
>: capacity. Do either of these packages allow for this without having to
>: kill the getty manually in order to dialout?
>callouts on the same dial-in line. First, you can have getty answer
>the call for you. It will monitor the modem and wait for a RING. When
>it gets this, it will issue an ATA to the modem and it answers the
>call. The only problem with this is the serial line is held open
>constantly and will not be available to other programs to call it. The
>second method is to let the modem answer the phone. getty does not
>hold the line but just waits for the DCD line to do something.
I suggest the second method (set the modem on auto-answer) unless
you want to use ringback, where your modem only answers after
a certain number of rings, then a pause, then more rings (useful
for sharing the line with your voice phone). This method is
much simpler since you don't have to worry about quite as much.
What you *do* have to make sure of is that your modem asserts
CD when a carrier is present, and that it is set to auto-answer.
You can set this in the modem's NVRAM settings (recommended)
or in the INIT string in your uugetty setup file. This way you
don't have to worry about things like INITLINE or a CONNECT chat.
--