HanG321 Blog

HylaFax

1. Download Binary file
http://www.hylafax.org/content/Handbook:Binary_Package_Install

2. Install
Install the HylaFAX RPM file(s) via ‘rpm -Uvh hylafax*rpm’
Run /usr/sbin/faxsetup and then /usr/sbin/faxaddmodem and answer the questions appropriately

using default setting and answer the setup script
(stupid, forcing to enter area code …. HKSAR have none….)

Country code [1]? 852
Area code []? 0
Long distance dialing prefix [1]? 0
International dialing prefix [011]? 001
Serial port that modem is connected to []? ttyS0
Modem in COM1 => /dev/ttyS0
COM2 => /dev/ttyS1

Local Identifications string (for TS/CIG) [“NothingEtup”]? “Company Name” (Display on Receiver Fax Machine)

3. config

Add the line: ‘mo:2345:respawn:/usr/sbin/faxgetty ttyS0’ to /etc/inittab
#/usr/sbin/ntsysv and make sure that the hylafax service is set to be started

#vi /etc/aliases and change the appropriate line to ‘FaxMaster: faxuser@mydomain.com’
where faxuser@mydomain.com is the intended e-mail address of the incoming fax recipient

#init q

4. Add user
# faxadduser username
# faxadduser -p password username

– specify which client machines and users can have access to a HylaFAX? server machine.
modify etc/hosts.hfaxd, add client IP

5. status

faxstat Query /var/spool/hylafax/status/ttyS0
faxstat -r Query /var/spool/hylafax/recvq received fax
faxstat -s Query /var/spool/hylafax/sendq sending fax
faxstat -d Query /var/spool/hylafax/doneq sent fax

xferfaxstats Analysis report from /var/spool/hylafax/etc/xferfaxlog

faxrm remove “waiting to send” fax

6. Reference:
http://csc.ocean-pioneer.com/docum/csc_hylafax.html
http://csc.ocean-pioneer.com/docum/hylafax_client.html


Technorati :