HylaFAX The world's most advanced open source fax server |
Doug wrote:
>
> I have been trying to get Hylafax working since March...I would like to
> be able to fill you in on everything I have tried but being new to linux
> and memory failing etc I can't.
>
> After a fresh RedHat install I managed to rpm --rebuild with the source
> an got it installed... following the instruction to the letter the
> following occurs:
>
> [root@localhost /root]# dir
> Xrootenv.0 nsmail text4fax.ps vidmodes
> core text4fax text4fax.viags.g3
> [root@localhost /root]# sendfax -d 6943015 text4fax
> text4fax: Can not determine file type
> [root@localhost /root]# sendfax -d 6943015 text4fax.ps
> 460 Failed to submit job 2: Unable to open scheduler FIFO: Device
> not configured
> [root@localhost /root]# sendfax -d 6943015 text4fax.viags.g3
> text4fax.viags.g3: Can not determine file type
> [root@localhost /root]#
>
> where:
> text4fax = text file
> text4fax.ps = above file loaded into WordPerfect8 and save as a
> postscript file
> text4fax.viags.g3 = above file converted to g3 format with
> gohstscript using the -sDEVICE=faxg3' on the command line.
>
> Please direct me as to what I should do/read to rectify this... I know I
> can (I did) read the man pages etc... but like it said in the docs -
> 'there is gobs of documentation' I have been
> reading/doing/trying/installing since March - I realize this makes me
> one of the dumbest people on the planet (I am not embarassed about this
> - it also makes me one of the most persistent as well, feel free to post
> this publicly) but there comes a time when you have to realize your
> limitations... maybe some outside input will resolve my problems.
> Thanks in advance...
>
> Sincerely,
>
> Doug L.
Hmm.. Not sure what efax is. Sounds like another package? You shouldn't need that either. faxgetty should be running from inittab: fg:2345:respawn:/usr/sbin/faxgetty ttyS1 But I think the RPM adds that. Did you try to remove everything, and start over? Dave
You seem to have NOT run faxmodem or edited the /etc/inittab to include
a faxgetty service for hylafax.Keith
Tried editing the inittab to include respawning faxgetty befor I
started over... there was not any success. Removed the package via
rpm -e then installed it again (same package no rebuild on it again) and
setup fax service on external modem (proven to work, Incoming and Outgoing
via efax) I edited the inittab to respawn faxgetty on ttyS0 (class 1) ...
I suspect the software end of it is setup properly but am having serious
doubts about the hardware definition.
Incoming faxes:
Modem goes off hook but never seems to be able to negotiate
a hand shake.
Jun 07 13:32:30.65: [ 315]: SESSION BEGIN 00000002 12042046638098
Jun 07 13:32:30.65: [ 315]: <-- [4:ATA\r]
Jun 07 13:35:30.65: [ 315]: ANSWER: Ring detected without successful
handshake
Jun 07 13:35:30.65: [ 315]: SESSION END
Outgoing faxes:
Modem goes off hook but never seems to be able to negotiate
a hand shake
P Jun 07 13:43:03.33: [ 532]: SESSION BEGIN 00000005 12046943015
Jun 07 13:43:03.33: [ 532]: SEND FAX: JOB 1 DEST 6943015 COMMID
00000005
Jun 07 13:43:03.33: [ 532]: DELAY 2600 ms
Jun 07 13:43:05.94: [ 532]: <-- [15:ATE0V1Q0S0=0H0\r]
Jun 07 13:43:05.95: [ 532]: --> [2:OK]
Jun 07 13:43:05.95: [ 532]: <-- [21:ATS8=2S7=60&K3&D3&C1\r]
Jun 07 13:43:05.97: [ 532]: --> [2:OK]
Jun 07 13:43:05.97: [ 532]: <-- [12:AT+FCLASS=1\r]
Jun 07 13:43:05.98: [ 532]: --> [2:OK]
Jun 07 13:43:05.98: [ 532]: <-- [9:AT+FAA=0\r]
Jun 07 13:43:05.99: [ 532]: --> [2:OK]
Jun 07 13:43:05.99: [ 532]: <-- [5:ATM0\r]
Jun 07 13:43:06.00: [ 532]: --> [2:OK]
Jun 07 13:43:06.00: [ 532]: <-- [12:AT+FCLASS=1\r]
Jun 07 13:43:06.20: [ 532]: --> [2:OK]
Jun 07 13:43:06.21: [ 532]: DIAL 6943015
Jun 07 13:43:06.21: [ 532]: <-- [12:ATDT6943015\r]
Jun 07 13:46:06.21: [ 532]: SEND FAILED: Unknown problem (check
modem power)
Jun 07 13:46:06.21: [ 532]: <-- [5:ATH0\r]
Jun 07 13:46:07.40: [ 532]: --> [2:OK]
Jun 07 13:46:07.40: [ 532]: SESSION END
(these are file content from the /var/spool/fax/log)
this job is still pending, my modem goes off hook periodically atttempting
to transmit (I assume)
During the install I answered a question re: the class of my modem pool with '1' since I was setting up only one modem (ttyS0) and it was a class 1. As I said this modem was/is working fine sending recieving faxes with efax... but is disfunctional with hylafax.
[root@localhost log]# ps ax | grep fax
737 p0 S 0:00 grep fax
315 ? S 0:00 /usr/sbin/faxgetty
ttyS0
634 ? S 0:00 /usr/sbin/faxq
636 ? S 0:00 /usr/sbin/hfaxd -i
hylafax
[root@localhost log]# netstat -a | grep fax
tcp 0
0 *:hylafax
*:*
LISTEN [root@localhost log]#
This was realevant before but don't think so now but am including it just in case.
'sendfax -d 6943015 text4fax' still confuses hylafax... Isn't Hylafax
suposed to recognize file types and convert them?
root@localhost /root]# sendfax -d 6943015 text4fax
text4fax: Can not determine file type
Thanks in advance,
Doug L.