making SCO Xenix answer the phone

Paul De Bra debra at alice.UUCP
Sun Dec 11 05:04:39 AEST 1988


In article <AXc5o4y00ZJBE1jVdf at andrew.cmu.edu> jl42+ at andrew.cmu.edu (Jay Mathew Libove) writes:
>I have a SCO Xenix v2.2.1 80286 system, with a US Robitics Courier
>(?) 2400 (Hayes compatible) modem...
>
>I have a cron script do "enable tty1a" at 1am and "disable tty1a" at
>4am, as I want the machine to answer the phone between 1am and 4am
>only, but it doesn't pick up the phone when it rings. I've tried
>"echo ATS0=1 >> /dev/tty1a" and also "... >> /dev/tty1A" and I've
>tried enabling tty1A as well as, and instead of, tty1a, and nothing
>seems to get the phone to answer!
>
>What do I do?
>

I use a Microcom 2400/c on tty1a between 11pm and 8am. Getting the modem to
pick up the phone is a matter of finding the correct switch-settings, which
will be different for your modem. Ideally the modem should answer the phone
only of DTR is high, which is the case when tty1a is enabled. Hopefully
RTFM (for the modem, not xenix) will help.

However, the command "disable tty1a" will fail if someone is logged on at
the time you want to disable tty1a. So you can never be sure that the line
will indeed be disabled. My solution is to turn off power to the modem
(using a timer) before disabling tty1a. (The modem remains off from 8am
to 11pm.)

This scheme will work with uucp as it will time out after the line is gone.
For automatically logging off when the line is dropped you will normally
need to use tty1A.

Paul.
-- 
------------------------------------------------------
|debra at research.att.com   | uunet!research!debra     |
------------------------------------------------------



More information about the Comp.unix.xenix mailing list