Re: hylafax on CentOS 7

<[email protected]> Fri, 17 Nov 2017 20:54:01 -0500
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Last one 😊 The problem is SELinux.  If I set the mode to Permissive, everything works.  I know, wrong thread, but anyone know how to turn it off just for faxgetty?

 

From: [email protected] [mailto:[email protected]] 
Sent: Friday, November 17, 2017 9:07 AM
To: 'Lee Howard' <[email protected]>
Cc: [email protected]
Subject: RE: [hylafax-users] hylafax on CentOS 7

 

I’m sorry for the bother. I think I’ve found the problem although I don’t know the solution.

 

I also have avantfax installed and I can send faxes from avantfax, I can see faxgetty running and the modem resets fine (although too slowly I think?)

However when I used the command line “sendfax -n -d 111.111.1111 /etc/hosts, the faxgetty went away and faxstat responded with “ready and idle”. No fax went out. I then tried sending from avantfax and faxgetty “came on” and the modem was reset properly. Fax went out.

 

So the problem is faxgetty and running from cmd? Any thoughts?

 

Thanks again,

 

From: [email protected] <mailto:[email protected]>  [mailto:[email protected]] 
Sent: Friday, November 17, 2017 6:22 AM
To: 'Lee Howard' <[email protected] <mailto:[email protected]> >
Cc: [email protected] <mailto:[email protected]> 
Subject: RE: [hylafax-users] hylafax on CentOS 7

 

Thank you.  Config file did not make a difference and here is the output of probemodem. Also realized that faxgetty is not starting.

Also tried Hylafax+ - 

 

# systemctl status hylafax-faxgetty@ttyUSB0 -l > faxgetty.txt

# cat faxgetty.txt

● [email protected] <mailto:[email protected]>  - faxgetty on /dev/ttyUSB0

   Loaded: loaded (/usr/lib/systemd/system/[email protected] <mailto:/usr/lib/systemd/system/[email protected]> ; enabled; vendor preset: disabled)

   Active: activating (auto-restart) since Fri 2017-11-17 06:03:47 EST; 17s ago

     Docs: man:faxgetty(8)

  Process: 6415 ExecStart=/usr/sbin/faxgetty ttyUSB0 (code=exited, status=255)

Main PID: 6415 (code=exited, status=255)

 

# ps ax | grep fax

  761 ?        Ss     0:00 /usr/sbin/hfaxd -d -i hylafax

  765 ?        Ss     0:00 /usr/sbin/faxq -D

6619 pts/1    S+     0:00 grep --color=auto fax

 

From: Lee Howard [mailto:[email protected]] 
Sent: Thursday, November 16, 2017 10:37 PM
To: [email protected] <mailto:[email protected]> 
Cc: [email protected] <mailto:[email protected]> 
Subject: Re: [hylafax-users] hylafax on CentOS 7

 

On 11/16/2017 10:29 AM, [email protected] <mailto:[email protected]>  wrote:

I have installed hylafax numerous times and I can’t get it to work due to a wedge modem. Basically I can send one fax and then wedged forever. 

 

I installed the following:

 

hylafax-server-6.0.6-1rhel7.x86_64.rpm

hylafax-client-6.0.6-1rhel7.x86_64.rpm

 

Running centos 7 with 3.10.0-514.el7.x86_64

Modem is USR 5686G

 

I’ve seen mention of hylafax+…Is that what I need. Help and TIA.

 

Modem ttyUSB0 (+1.718.xxx.xxxx): Waiting for modem to come ready


The differences between what you're using and HylaFAX+ will probably not resolve your problem directly.

Chances are that your USR modem is exhibiting some problem due to a misconfiguration.  USR modems are a bit quirky and can require unique configurations.

The 5686G model number seems to be a new one for us, and maybe you ended up with a bad modem config file.  Probably what you want is something close to this:

https://sourceforge.net/p/hylafax/HylaFAX+/HEAD/tree/trunk/config/usr-xon

However, if that doesn't work for you please post the output of 'probemodem' against your modem.

If you really want to try HylaFAX+ then you can get it from EPEL:

https://fedoraproject.org/wiki/EPEL

After EPEL is enabled then you'd 'yum install hylafax+'.

But, again, I don't think that you should look to that as a resolution for the problem you're having.

Thanks,

Lee.