HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: faxes are sent only after running faxsetup
hi gary,
thanks for your help,
i've changed to the script rc that you sent, and its working now, but i
have to make some modifications, and i would like of some explanations,
because i couldn't understand some parts.
what are the meaning of the two following lines?
ZYXEL='(0,1),(0-5),(0-2),(0-2),(0,1),(0),(0),(0-7)'
MULTI='(0-1),(0-5),(0-4),(0-2),(0),(0),(0),(0-7)'
if $IS_ON fax && test -x $FAXQ; then
killall -15 faxq
killall -15 hfaxd
$ECHO "HylaFAX:\c"
$FAXQ; $ECHO " faxq\c"
$HFAXD -i $FAXPORT -o 4557 -s $SNPPPORT
$ECHO " hfaxd (w/ compatibility & SNPP)\c"
$FAXMODEM -c "$MULTI" ttyS1; $ECHO "faxmodem\c"
# $FAXMODEM -c "$MULTI" cua/b; $ECHO " faxmodem\c"
$ECHO "."
i've commented these lines:
# if test $FAXQ_SERVER -eq 1 ; then
# $FAXQ; $ECHO " faxq\c"
# fi
# if test $HFAXD_SERVER -eq 1 ; then
# $HFAXD -i $FAXPORT
# fi
# $ECHO " hfaxd (without old protocol or SNPP support)\c"
# $ECHO "."
fi
;;
and i changed:
$FAXMODEM -c "$MULTI" ttyS1; $ECHO "faxmodem\c"
# $FAXMODEM -c "$MULTI" cua/b; $ECHO " faxmodem\c"
because i use ttySx devices.
in this case, i specified a modem on ttyS1, but if i have more than one
modem, how can i do to the sript send the comands for all devices on ttySx?
thanks,
At 14:13 14/10/99 -0500, Gary Mills wrote:
> >after running faxsetup, all the faxes that were in the queue were sent,
> >and the new faxes are sent imediatelly.
> >then if i reboot the server or if i turn the modem off, the problem begins
> >again.
>
>If you have a send-only configuration, that is not running faxgetty,
>you need to run faxmodem each time you start hfaxd. I've modified
>the hylafax rc script to do this...
>
>IS_ON=/etc/chkconfig # NB: chkconfig is IRIX-specific
>FAXQ=$SBIN/faxq
>HFAXD=$LIBEXEC/hfaxd
>FAXQUIT=$SBIN/faxquit
>FAXMODEM=$SBIN/faxmodem
>KILLALL=/sbin/killall
>FAXPORT=hylafax # designated port for new protocol
>SNPPPORT=444 # official port for SNPP
>ZYXEL='(0,1),(0-5),(0-2),(0-2),(0,1),(0),(0),(0-7)'
>MULTI='(0-1),(0-5),(0-4),(0-2),(0),(0),(0),(0-7)'
>
>...
>
> if $IS_ON fax && test -x $FAXQ; then
> killall -15 faxq
> killall -15 hfaxd
> $ECHO "HylaFAX:\c"
> $FAXQ; $ECHO " faxq\c"
> $HFAXD -i $FAXPORT -o 4557 -s $SNPPPORT
> $ECHO " hfaxd (w/ compatibility & SNPP)\c"
> $FAXMODEM -c "$MULTI" cua/b; $ECHO " faxmodem\c"
> $ECHO "."
> fi
>
>
>--
>-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
--
Alexandre Nuernberg
Gerencia de Servicos TELESC-Net
TELESC - TELE CENTRO SUL SA
(01448)231-2706
berg@telesc.net.br
aberg@altavista.net