Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!jwt!john From: john@jwt.UUCP (John Temples) Newsgroups: comp.dcom.modems Subject: Re: Controlling answer tone sequence Message-ID: <1991Apr3.014450.10656@jwt.UUCP> Date: 3 Apr 91 01:44:50 GMT References: <92@hdwr1.medar.com> Organization: Private System -- Orlando, FL Lines: 23 In article davidg%aegis.or.jp@kyoto-u.ac.jp (Dave McLane) writes: >From the replies that I've gotten (here and in mail) I take it >that you can't re-init a modem for dialin under ISC UNIX. Here's what I use for my brain-dead Everex modem, which doesn't have non-volatile RAM. My inittab invokes /etc/mgetty, which is a shell script containing: (sleep 5; stty 2400; echo 'ATZ\r\c'; sleep 2; echo 'ATEMS0=1\r\c';) < /dev/ttyF04 > /dev/ttyF04 exec /etc/getty $@ This successfully gets the modem back into 2400 bps mode even if the previous caller was at 1200 bps. The initial "sleep 5" waits for the modem to re-enter command mode after loss of carrier. The Everex is quite slow in this respect; other modems might not need such a delay. The second "sleep" waits for the modem to re-enter command mode after the reset command. This is under ESIX, which is identical to ISC in many respects. -- John W. Temples -- john@jwt.UUCP (uunet!jwt!john)