Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!stl!robobar!ronald From: ronald@robobar.co.uk (Ronald S H Khoo) Newsgroups: comp.unix.xenix.sco Subject: Re: Hanging up + resetting the modem from a script file? Message-ID: <1990Nov23.094203.25064@robobar.co.uk> Date: 23 Nov 90 09:42:03 GMT References: <6292@minyos.xx.rmit.oz.au> <27497784.5174@marob.masa.com> Organization: Robobar Ltd., Perivale, Middx., ENGLAND. Lines: 15 daveh@marob.masa.com (Dave Hammond) writes: > Try running `disable tty1A;enable tty1A' from cron (or some script). This is dangerous, you can lose init this way because it gets killed twice in quick succession, sometimes before it's had time to re-establish the signal handler in between. It's inconvenient to have ps show process 1 to be :-) So, do put a sleep in between them, a few seconds should be OK, I'd use about 10 -- NOT just 1! Also, remember to ensure that you modem has been set to take notice of DTR (AT&D2 for hayes compatibles) -- many domestic modems are not shipped that way. -- ronald@robobar.co.uk +44 81 991 1142 (O) +44 71 229 7741 (H)