Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] Send 1 Fax, Then Can Never Receive
On Mon, 29 Jul 2002 14:11:04 +0200 (CEST), "Lorenzo" <lore@lanstation.it> wrote:
>So, I decided to write a shell script to re-initialize the modem killing
>faxgetty when appropiate (after sending a fax, in my case).
The script seems ok, but I'd try, during a day in which you do not work (Sunday), to
leave faxgetty with Server log 0xFFF and with a script that periodically uses the line
and see what happens.
ie:
== chat1
AT
ATZ
ATQ0
ATE1
AT
AT
AT
AT
ATQ1
ATE0
AT+FCLASS=1
ATH0
~.
==
== test1
while true
do
cat chat1|while read comando
do
sleep 1
echo "$comando\r"
done|cu -l ttyS1 >/dev/null 2>&1
sleep 180
done
==
The look at the log to see if faxgetty regularly regains control of the modem or not,
ie:
==
Jul 21 01:52:38 b FaxGetty[2027]: ANSWER: Can not lock modem device
Jul 21 01:53:49 b FaxGetty[2027]: MODEM USR U.S. Robotics 56K Voice EXT Rev. 11.1.17/
Jul 21 01:54:56 b FaxGetty[2027]: ANSWER: Can not lock modem device
Jul 21 01:56:08 b FaxGetty[2027]: MODEM USR U.S. Robotics 56K Voice EXT Rev. 11.1.17/
Jul 21 01:57:15 b FaxGetty[2027]: ANSWER: Can not lock modem device
Jul 21 01:58:26 b FaxGetty[2027]: MODEM USR U.S. Robotics 56K Voice EXT Rev. 11.1.17/
Jul 21 01:59:33 b FaxGetty[2027]: ANSWER: Can not lock modem device
Jul 21 02:01:08 b FaxGetty[2027]: /dev/ttyS0: Can not initialize modem.
Jul 21 02:01:47 b FaxGetty[2027]: MODEM USR U.S. Robotics 56K Voice EXT Rev. 11.1.17/
Jul 21 02:01:51 b FaxGetty[2027]: ANSWER: Can not lock modem device
Jul 21 02:03:03 b FaxGetty[2027]: MODEM USR U.S. Robotics 56K Voice EXT Rev. 11.1.17/
Jul 21 02:04:10 b FaxGetty[2027]: ANSWER: Can not lock modem device
Jul 21 02:05:21 b FaxGetty[2027]: MODEM USR U.S. Robotics 56K Voice EXT Rev. 11.1.17/
==
Have you particular parameters in etc/config? (PollLockWait, PollModemWait)
--
giulioo@pobox.com
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*