SUMMARY : Zyxel 2864i standalone fax operation

Lutz Jaenicke (jaenicke@emws1.ee.TU-Berlin.DE)
Mon, 22 Jun 1998 12:43:00 +0200


In article <358a0efb.4749588@news.unisource.ch>,
Charles Bueche <Charles.Bueche@swisscom.com> wrote:
[...]
>So now I'm stuck with 2 init strings :

>- the one I use before shutting down the PC,
>setting the modem to "FAX->DRAM", with
>auto-answer after 2 rings.

>- the one used by mgetty, setting the modem
>back to "normal" class 2, generating the RINGs
>to grab a possible fax waiting in DRAM.

>I know how to make this init strings, but what
>is the correct method of sending the first one
>during the shutdown, just after mgetty get stopped ?
>I think some script in /etc/rc.d/rc0.d/Kxxxx
>would do. What should I put there ? Just

>    echo "AT......init string......." > /dev/ttyS1

>??? is this the correct way ?

Hello Charles,

Yes and no :-) The sequence should be sent during shutdown, but I couldn't
manage this with 'echo'. So I had to pull some parts out of mgetty and
write a small C-program from it.
I can mail it to you, but I have it at home, not at work, so you would have
to be patient until tomorrow :-)
DISCLAIMER: It was never intended to leave my pc at home, so be prepared
to receive a HACK, not a program :-)

Best regards,
	Lutz

-- 
Lutz Jaenicke			       Lutz.Jaenicke@iee.TU-Berlin.DE 
TU Berlin	       http://www.iee.TU-Berlin.DE/personen/jaenicke/
Institut fuer Elektrische Energietechnik	Tel. +49 30 314-24552
Einsteinufer 11, D-10587 Berlin			Fax. +49 30 314-21133