IF YOU HAVE PROBLEMS WITH THIS DISTRIBUTION: First start reading the documentation. There are man pages and HTML documents in this ditribution which are essential to your happiness. For the HTML docs you may as well start with toc.html. If you are having problems with sendfax(1) it may be a problem with libc or libg++. Eric Jergensen has this to say about the problem: > Sender: eric@jergensen.telepath.com > Date: Sat, 31 Aug 1996 11:53:19 -0500 > Subject: Re: That Linux libc 5.3.x problem again > > FWIW, it's not actually a bug in 5.3.12, but rather, it isn't quite as > lenient on free()s of something that wasn't actually allocated. > > I found that by upgrading my libg++ to 2.7.1.4, I could get a working > version of beta020. > > Eric Jergensen If that fails remember to send e-mail to me (Matthew.Rice@ftlsol.com) not to Sam or Matthias. CHECKSUMS (for hylafax-i386-linux-v4.0pl2-1.tar.gz): sum -r 17699 1988 sum -s 36492 3975 md5 696dfecb8167b91569e17a93d89bd3f3 REQUIREMENTS: You will need these to run faxsetup(8C) successfully. These are a lot of other requirements but these are the ones that I didn't have with a minimal RedHat distribution. TIFF HylaFAX requires version 3.4 or later of the freely available TIFF software distribution. The master FTP site for this distribution is: ftp://ftp.sgi.com/graphics/tiff. At a minimum you need tiffcp(1), tiff2ps(1), tiffinfo(1), and fax2ps(1) for faxsetup(8C) to run. If you really can't get this send me some e-mail and I'll make a binary distribution available. I have put a mini TIFF distribution together. (Mini means what I needed to run faxsetup(8C)). If this proves to be too little please let _me_ know and I will make a full distribution (if there isn't one already). For now you can ftp it from: ftp://pgw.on.ca/pub/tiff/tiff-i386-linux-v3.4beta034.tar.gz Checksums are: sum 17521 180 sum (alternate) 7194 360 md5 308d5de4e7480f58e5a1b08a8a5b4b0b GHOSTSCRIPT This software needs ghostscript (a.k.a. gs(1)) WITH a tiffg3 driver. I use ghostscript 2.6.2 right now. For more information on these and other ghostscript issues consult the information located at: http://www.cs.wisc.edu/~ghost/ghostscript/. I used the following rpms (these require X11 libraries): ghostscript-2.6.2-5.i386.rpm ghostscript-fonts-2.6.2-5.i386.rpm MAWK You also need mawk(1). A number of people have reported using plain awk without any casualties... I used the following rpm: mawk-1.2.2-3.i386.rpm INSTALLATION: Here are the steps for installing this package: 1) su 2) cd / 3) gzip -dc THIS_PACKAGE | tar xvf - (or tar zxvf THIS_PACKAGE) My system is from a RedHat distribution I have this note from a Slackware user: Phil Watkinson wrote: > BTW, (and I don't want to detract from the comments above,) in the > Slackware 3.0 distribution of Linux, sed is in /usr/bin/ ; mkfifo is > in /bin/ and I have gawk rather than mawk - so the following commands > needed to be run before faxsetup even thought about running (!) : > > ln -vs /usr/bin/sed /bin/sed > ln -vs /bin/mkfifo /usr/bin/mkfifo > ln -vs /usr/bin/gawk /usr/bin/mawk And from a German S.u.S.E. linux user: Robin S. Socha wrote: > ln -vs /usr/bin/sed /bin/sed > ln -vs /usr/bin/gawk /usr/bin/mawk HTML DOC CONFIGURATION: After the previous steps you have to follow the instructions in the HTML docs. These docs are located under /var/httpd/htdocs/hylafax. building.html will tell you how to finish the configuration of the HTML docs. CONFIGURING CLIENT ONLY: Read the setup-client.html document. CONFIGURING THE SERVER: Please read the documentation on setting up the system. You will need to read up on faxsetup(8C) and faxaddmodem(8C). Read setup.html and the man pages for more info. 4) /usr/local/sbin/faxsetup (see below for notes on the GettyArgs and DeviceMode) 5) /usr/local/sbin/faxaddmodem (faxsetup(8C) should start this for you) EXTRA NOTES: 1) I set the UUCP lock directory to /var/lock as that seems to be where linux does things (at least for ppp) 2) I had to add the fax user myself to /etc/passwd. I don't have adduser, although, I do have useradd (go figure). The line I added was: fax:*:10:14:Facsimile Agent:/var/spool/fax: However, make certain the you have the same UID and GID as user uucp. eg. uucp:*:10:14:uucp:/var/spool/uucp: 3) If you want to support the old fax protocol you should add the following line to /etc/services: fax 4557/tcp # FAX transmission service 4) I setup hfaxd(1M) to run as a daemon (as opposed to running with inetd). I added these two lines to my rc.local file. /usr/local/sbin/faxq /usr/local/sbin/hfaxd -i hylafax -o fax -s snpp This will start hfaxd(1M) at bootup with support for paging and the old and new fax protocols. You will need the old one to support winflex. Read the man pages on hfaxd(1M) and faxq(8C). 5) To get faxgetty working here's my entry in /etc/inittab: # Run faxgetty for the modem t2:23:respawn:/usr/local/sbin/faxgetty cua1 Do something appropriate. 6) I also use the following as my GettyArgs string: "-h %l F%s" Check /etc/gettydefs for the correct entry for you. Mine is: F38400# B38400 CS8 # B38400 SANE -ISTRIP HUPCL #@S login: #F38400 7) If you want to run hylafax with other modem software (such as minicom) then I suggest that you set the permissions for DeviceMode to 0660 8) If you get an error message that says something like: "Can't open FIFO" or "Can't create FIFO" Then check your ownership of the /var/spool/fax directory. It should be uucp.uucp not root.root. This seems to be a leftover from a different faxpackage. If the ownership is correct then start reading the docs :-) 9) This has been configured with ghostscript's file in /usr/lib/ghostscript. You may need to make symbolic links from the newer locations in /usr/share/ghostscript to use this package. Let me know if you have problems, Matthew Rice