Next: 6 Installing Linux
Up: Redhat FAQ
Previous: 4 FTP
Contents
Subsections
Before starting:
- Be sure all the serial ports are configured (See: 15)
- Check the modem(s). If you cannot talk to a modem with a terminal
program like minicom then hylafax cannot talk to it either.
- Install hylafax
$ ./configure
$ make
$ sudo make install
- 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
- 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
- Add each modem to /etc/inittab
m1:2345:respawn:/usr/local/sbin/faxgetty ttyS1
m2:2345:respawn:/usr/local/sbin/faxgetty ttyS2
- Force Linux to reread the inittab
$ sudo init q
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
Be certain you can talk to the modem using minicom or some other terminal
emulator.
Run faxaddmodem
$ sudo faxaddmodem ttyM1c
l
Next: 6 Installing Linux
Up: Redhat FAQ
Previous: 4 FTP
Contents
2005-03-20