Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!sol.ctr.columbia.edu!emory!jdyx!bluemtn!perry From: perry@bluemtn.uucp (Perry Minyard (3MTA3)) Newsgroups: comp.unix.xenix Subject: Resetting a dialin/dialout modem Message-ID: <1990May9.171830.17486@bluemtn.uucp> Date: 9 May 90 17:18:30 GMT Organization: blue mountain software, Atlanta Georgia Lines: 20 Our system is running SCO Xenix 2.3.2, with a Hayes modem off COM1: or {tty1a,tty1A}. We use it as a dialin/out modem, and occasionally, the modem does not reset itself properly after attempting to dialout. Until it is reset, it will not answer the phone again. I just wanted to share this information with everyone. Put the following line in your '/usr/spool/cron/crontabs/root' file. (This will reset the modem on port tty1A if it's not in use, and wont disrupt any process if it is in use): /bin/kill `ps -e | sed -n '/? 0:0. getty/s/^[ ]*\([^ ]*\).*/\1/p'` >/dev/null I have my cron run it every 5 minutes. -- "A mind is a terrible thing to taste." | Perry Minyard | ..{uunet,emory}!bluemtn!perry -------------------------------------------------------------------------