HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Just won't work



--- Hans du Plooy <hansdp@xxxxxxxxxxx> wrote:

> Hi guys,
> 
> I recently had to reload a server (hard drives
> died), so I decided to start 
> fresh with SUSE 9.2 - was 8.0 before.  The whole
> filesystem was backed up so 
> it shouldn't be an issue, right?
> 
> I just can't get hylafax to play along.  All it used
> to do take incoming 
> faxes, and print them to a network printer.  Nothing
> more.
> 
> I started by setting it up as per the docs -
> wouldn't work.  Then I tried 
> using the old config files - wouldn't work either. 
> Now I'm back to where I 
> started.   Here's what I have:
> 
> In /etc/inittab, I have:
> 
> mo:35:respawn:/usr/lib/fax/faxgetty /dev/modem
> 
> /dev/modem points to /dev/ttyS0 to which the modem
> is attached (the only 
> serial port on the box).  I have changed the
> faxgetty line to point 
> to /dev/ttyS0 directly to see if that makes a
> difference - will reboot the 
> box when I get a chance (after hours)

Can't remeber if you can use the /dev/... syntax.

I always used

mo:2345:respawn:/usr/lib/fax/faxgetty ttyXX 

> 
> When I phone the number, the phone rings, but
> hylafax doesn't answer.  In 
> fact, /var/log/messages doesn't even show any calls
> coming in - it's like the 
> computer isn't connected toe the modem, but it is!
> 
> I'll include the relevant config files, please let
> me know if there's anything 
> else I need to send along.
> 
> /var/spool/fax/etc/config:
> 
> LogFacility:            daemon
> CountryCode:            27
> AreaCode:               011
> LongDistancePrefix:     0
> InternationalPrefix:    09
> DialStringRules:        "etc/dialrules"
> ServerTracing:          1
> SessionTracing:         0xffffffff
> PostScriptTimeout:      300
> 
> ModemSetupAACmd:        AT+FCLASS=1
> 
> 
> /var/spool/fax/etc/config.ttyS0:
> 
> #
> # Configuration for using the Class 1 command
> interface with
> # a USR Courier or Sportster modem and XON/XOFF flow
> control.
> #
> #
> CountryCode:            27
> AreaCode:               011
> FAXNumber:              "+27 11 XXX XXXX"
> LongDistancePrefix:     0
> InternationalPrefix:    09
> DialStringRules:        "etc/dialrules"
> ServerTracing:          1
> SessionTracing:         0xffffffff
> RecvFileMode:           0600
> LogFileMode:            0600
> DeviceMode:             0600
> RingsBeforeAnswer:      1
> SpeakerVolume:          off
> GettyArgs:              "-h %l dx_%s"
> LocalIdentifier:        GIP
> TagLineFont:            etc/lutRS18.pcf
> TagLineFormat:          "From %%l|%c|Page %%P of
> %%T"
> MaxRecvPages:           100
> #
> #
> # Modem-related stuff: should reflect modem command
> interface
> # and hardware connection/cabling (e.g. flow
> control).
> #
> ModemType:              Class1          # use class
> 1 interface
> ModemRate:              19200           # rate for
> DCE-DTE communication
> ModemFlowControl:       xonxoff         # software
> flow control
> #
> ModemSetupDTRCmd:       ATS13=1&D2      # setup so
> DTR drop resets modem
> ModemSetupDCDCmd:       AT&C1           # setup so
> DCD reflects carrier (or 
> not)
> ModemNoFlowCmd:         AT&H0&I0&R1     # setup
> modem for no flow control
> ModemHardFlowCmd:       AT&H1&I0&R2     # setup
> modem for hardware flow 
> control
> ModemSoftFlowCmd:       AT&H2&I2&R1     # setup
> modem for software flow 
> control
> ModemResultCodesCmd:    ATQ0X4          # enable
> result codes
> #
> ModemMfrQueryCmd:       !USR
> ModemModelQueryCmd:     ATI3
> ModemRevQueryCmd:       ATI7            # XXX
> returns a multi-line result
> #
> # When AT+FCLASS=1 is issued the modem automatically
> switches
> # to software flow control; these parameters let the
> fax software
> # reset flow control as needed after entering Class
> 1.
> #
> Class1NFLOCmd:          AT&H0&I0&R1     # setup
> modem for no flow control
> Class1HFLOCmd:          AT&H1&I0&R2     # setup
> modem for hardware flow 
> control
> Class1SFLOCmd:          ""              # modem does
> this automatically
> #
> # This should resolve "DIS/DTC received 3 times"
> errors:
> #
> Class1ResponseWaitCmd:  AT+FRS=1        # wait after
> sending TCF for response
> #
> # The remainder of this configuration is included so
> that the
> # modem "idles" in Class 0 while not sending or
> receiving facsimile.
> #
> #ModemSetupAACmd:       AT+FCLASS=0     # leave
> modem idling in class 0
> ModemSetupAACmd:        AT+FCLASS=1
> ModemAnswerCmd:         AT+FCLASS=1A    # answer in
> Class 1
> #
> # Disables the reporting of bad frames by the modem.
>  This
> # overcomes a firmware problem in the x2 and V90
> Sportsters.
> # It is not necessary for the Courier modem.
> #
> Class2NRCmd:    AT+FNR=1,1,1,0
> 
> 
> /usr/lib/fax/hfaxd.conf:
> 
> LogFacility:            daemon          # syslog
> facility (want this 1st))
> ServerTracing:          0x001           # just
> server operation
> #IdleTimeout:           900             # initial
> client idle timeout (secs)
> #MaxIdleTimeout:        7200            # max client
> idle timeout (secs)
> #MaxLoginAttempts:      5               # max #
> login attempts before 
> disconnect
> #MaxAdminAttempts:      5               # max #
> admin attempts before 
> disconnect
> #MaxConsecutiveBadCmds: 10              # max #
> invalid cmds before disconnect
> FaxContact:             FaxMaster       # who gets
> questions/complaints
> #AdminGroup:            faxadmin        # which user
> group is admin (when 
> using PAM)
> #UserAccessFile:        "/etc/hosts.hfaxd"      #
> user+host access control 
> file
> #ShutdownFile:          "/etc/shutdown" # server
> shutdown control filename
> XferLogFile:            "/etc/clientlog"        #
> for logging client file 
> transfers
> #FaxQFIFOName:          "/FIFO"         # FIFO name
> for talking to faxq 
> process
> #
> # The default format used to return job status
> queries.
> # Note that clients can override this with JOBFMT.
> #
> #JobFmt:                "%-3j %3i %1a %6.6o %-12.12e
> %5P %5D %7z %.25s"
> 
=== message truncated ===



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

____________________ 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@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions