Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!goanna!minyos!s892024 From: s892024@minyos.xx.rmit.oz.au (Richard A. Muirden) Newsgroups: comp.unix.xenix.sco Subject: Hanging up + resetting the modem from a script file? Message-ID: <6292@minyos.xx.rmit.oz.au> Date: 20 Nov 90 06:40:40 GMT Organization: RMIT Computer Centre, Melbourne Australia. Lines: 18 I need to write a routine that checks to see if anyone is logged on via the modem (on tty1A) and if not, reset it and hang it up. This is for a cron job that would run every hour or so. Does anyone have any ideas on how to tell the modem to hangup and reset (ie: sending ATH0/ATZ to it)? I've tried uuchat but this doesn't give the correct results. Any help would be great! -Richard ============================================================================== Richard Muirden, |Humble Computer Science Student & System Administrator, |Star Trek Fan! Wesley College Melbourne (Prahran Campus)+--My opinions are my own----------- mail: ram@lionet.wesley.OZ.AU |mail: s892024@minyos.xx.rmit.OZ.AU ----------------------------------------------------------------------------- Quote: "Humans smile with such little provocation", Spock, "Journey to Babel" =============================================================================