Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!bellcore!faline!thumper!ulysses!andante!alice!debra From: debra@alice.UUCP (Paul De Bra) Newsgroups: comp.unix.xenix Subject: Re: making SCO Xenix answer the phone Message-ID: <8511@alice.UUCP> Date: 10 Dec 88 19:04:39 GMT References: Reply-To: debra@alice.UUCP () Organization: AT&T, Bell Labs Lines: 35 In article jl42+@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@research.att.com | uunet!research!debra | ------------------------------------------------------