Hylafax config and Windows clients

Ivaylo Bonev ibb_orac at mbox.contact.bg
Wed Jun 18 01:01:02 UTC 2008


Hi,
I'm configuring new Hylafax fax server on FreeBSD 7 with Conexant chip  
modem. Something not working right on server, because I can't send any  
faxes, no matter what client I use. Modem is working in Windows, but I  
want to use it in a networked environment with Sane backend to replace  
broken Brother FAX machine. Fax machine was very busy, recieving around  
150 faxes/day, so I don't want to throw for another Fax machine that will  
be broken after few months. So I've added user "fax", configured settings  
with 'faxsetup' and 'faxaddmodem'and I hoped everything should work. Here  
are conf files in hylafax/etc directory. I don't know where to look at?  
Can anyone help me?

fax# cat config
LogFacility:            daemon
CountryCode:            359
AreaCode:               84
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        "etc/dialrules"
ServerTracing:          1

fax# cat hosts.hfaxd
localhost
127.0.0.1
192.168.1.*
^fax@

fax# cat setup.cache
# Warning, this file was automatically generated by faxsetup
# on Wed Jun 18 00:06:50 EEST 2008 for fax
AWK='/usr/bin/nawk'
BASE64ENCODE='/usr/bin/uuencode -m ==== | /usr/bin/grep -v ===='
BIN='/usr/local/bin'
CAT='/bin/cat'
CHGRP='/usr/bin/chgrp'
CHMOD='/bin/chmod'
CHOWN='/usr/sbin/chown'
CP='/bin/cp'
DPSRIP='/usr/local/sbin/ps2fax.exe'
ECHO='/bin/echo'
ENCODING='base64'
FAXQ_SERVER='yes'
FONTPATH='/usr/local/share/ghostscript/8.62/lib:/usr/local/share/ghostscript/8.62/Resource:/usr/local/share/ghostscript/fonts:/usr/local/share/fonts/default/ghostscript:/usr/local/share/fonts/default/Type1:/usr/local/share/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType'
FUSER='fuser'
GREP='/usr/bin/grep'
GSRIP='/usr/local/bin/gs'
HFAXD_OLD_PROTOCOL='no'
HFAXD_SERVER='yes'
HFAXD_SNPP_SERVER='no'
IMPRIP='/usr/lib/print/psrip'
LIBDATA='/usr/local/lib/fax'
LIBEXEC='/usr/local/sbin'
LN='/bin/ln'
MANDIR='/usr/local/man'
MIMENCODE='mimencode'
MKFIFO='/usr/bin/mkfifo'
MV='/bin/mv'
PATH='/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin'
PATHEGETTY='/bin/egetty'
PATHGETTY='/usr/libexec/getty'
PATHVGETTY='/bin/vgetty'
PSPACKAGE='gs'
QPENCODE='qp-encode'
RM='/bin/rm'
SBIN='/usr/local/sbin'
SCRIPT_SH='/bin/sh'
SED='/usr/bin/sed'
SENDMAIL='/usr/sbin/sendmail'
SPOOL='/var/spool/hylafax'
SYSVINIT=''
TARGET='i386-unknown-freebsd7.0'
TIFF2PDF='/usr/local/bin/tiff2pdf'
TIFFBIN='/usr/local/bin'
TTYCMD='/usr/bin/tty'
UUCP_LOCKDIR='/var/spool/lock'
UUCP_LOCKTYPE='ascii'
UUENCODE='/usr/bin/uuencode'

fax# cat setup.modem
# Warning, this file was automatically generated by faxsetup
# on Wed Jun 18 00:06:42 EEST 2008 for fax
prompt()
{
    echo -n "$* "
}
             ttyPort()
             {
                 expr $1 : 'tty\(.*\)'
             }
             ttyLocks()
             {
                 echo $UUCP_LOCKDIR/LCK..`expr /$1 : '.*/\(.*\)'`
             }
             ttyAliases()
             {
                 echo /dev/$1
             }
             ttyDev()
             {
                 echo /dev/$1
             }
             checkPort()
             {
                  return
             }
             ttyStty()
             {
                 echo /bin/stty -f $tdev
             }
             ttySpeeds()
             {
                 speeds=
                 if [ -z "$SPEED" ]; then
                     for s in 38400 19200 9600 4800 2400 1200; do
                         /bin/stty -f $tdev $s </dev/null >/dev/null 2>&1  
&& speeds="$speeds $s"
                     done
                 fi
                 echo $speeds
             }
-- 
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"


More information about the freebsd-questions mailing list