next up previous contents
Next: 6 Installing Linux Up: Redhat FAQ Previous: 4 FTP   Contents

Subsections

5 Hylafax

Before starting:

  1. Install hylafax
    $ ./configure  
    $ make  
    $ sudo make install
  2. For each modem use a terminal program to get the supported fax classes. Use class 1 or 1.0 if possible.  
    at+fclass=? 
    0,1,2.0
  3. Run faxsetup and follow the prompts. Except for obvious things like Area Code, phone number, and Local Indentifier, the defaults are OK. If the modem is used for sending only, set ``Rings to wait before answering'' to 0.
    $ sudo faxsetup
  4. Add each modem to /etc/inittab 
    m1:2345:respawn:/usr/local/sbin/faxgetty ttyS1 
    m2:2345:respawn:/usr/local/sbin/faxgetty ttyS2
  5. Force Linux to reread the inittab
    $ sudo init q

5.1 Recieving Faxes

Create or edit the file /var/spool/hylafax/etc/FaxDispatch. For example:

case "$DEVICE" in  
   ttyS0)  
     SENDTO=inbound-385-4994@totalflood.com  
   ;;  
   ttyS1) 
     SENDTO=admin_sales@totalflood.com 
   ;; 
   ttyS4)  
     SENDTO=inboundfaxes@totalflood.com  
   ;;  
   ttyS5)  
     SENDTO=inboundfaxes@totalflood.com  
   ;;  
   *)  
     SENDTO=FaxMaster@totalflood.com  
   ;;  
esac

5.2 Adding Modem

Be certain you can talk to the modem using minicom or some other terminal emulator.

Run faxaddmodem
$ sudo faxaddmodem ttyM1c

l


next up previous contents
Next: 6 Installing Linux Up: Redhat FAQ Previous: 4 FTP   Contents
2005-03-20