Koozali.org: home of the SME Server

Hylafax doesn't answer

MadPat

Hylafax doesn't answer
« on: February 04, 2003, 09:24:57 PM »
I've installed Hylafax on my SME 5.5 accoording to Rick Sulman's HOWTO.

Everything works only i can't receive any faxes. The modem doesn't answer the phone.
I use an external 56k6 modem on COM1.

Johan

Re: Hylafax doesn't answer
« Reply #1 on: February 04, 2003, 10:40:17 PM »
Hello Patrick,

Do you see buring on the modem in de LED range a when it is been called.

So yes, The parameter to auto answere the moden isn't right. This is the S0 setting must be set to 1 then it's rings once and it take the hook off.

I think you can better read the manual to add a modem on the hylafax site

http://www.hylafax.org/man/faxaddmodem.html

If you in hurry you can look to thes files where i think you can setup the modem>

/var/spool/hylafax/etc/setup.modem

grtz

Johan

Chaloner Hale

Re: Hylafax doesn't answer
« Reply #2 on: February 05, 2003, 01:02:42 AM »
ps -lea | grep fax should show;

140 S    10 31329     1  0  60   0    -   906 do_sel ?        00:00:00 faxq
040 S    10 31334     1  0  60   0    -   795 do_sel ?        00:00:00 hfaxd
100 S    10 31342     1  0  60   0    -   858 do_sel ?        00:00:01 faxgetty

Do you have faxgetty running?

MadPat

Re: Hylafax doesn't answer
« Reply #3 on: February 05, 2003, 01:11:51 AM »
no... faxgetty doesn't work.

i've tried to get it on i receive the following error

mo:23457:respawn:/usr/sbin/faxgetty ttyS0
bash: mo:23457:respawn:/usr/sbin/faxgetty: No such file or directory

ps -lea | grep fax
040 S    10  1855     1  0  60   0    -   902 do_sel ?        00:00:00 faxq
040 S    10  1857     1  0  60   0    -   794 do_sel ?        00:00:00 hfaxd



how do i get faxgetty to work ???

Jeroen

Re: Hylafax doesn't answer
« Reply #4 on: February 05, 2003, 01:21:45 AM »
MadPat wrote:
>
> no... faxgetty doesn't work.
>
> i've tried to get it on i receive the following error
>
> mo:23457:respawn:/usr/sbin/faxgetty ttyS0
> bash: mo:23457:respawn:/usr/sbin/faxgetty: No such file or
> directory
>
> ps -lea | grep fax
> 040 S    10  1855     1  0  60   0    -   902 do_sel ?      
> 00:00:00 faxq
> 040 S    10  1857     1  0  60   0    -   794 do_sel ?      
> 00:00:00 hfaxd
>
It seems faxgetty isn't in the /usr/sbin directory?  You can try to find it's right location by find / -name faxgetty.

good luck

Jeroen

Chaloner Hale

Re: Hylafax doesn't answer
« Reply #5 on: February 05, 2003, 02:05:24 AM »
Have a look at my HylaFAX HOWTO at www.chaloner.ca. Getting faxgetty going is pretty clear.

Chaloner Hale

Chaloner Hale

Re: Hylafax doesn't answer
« Reply #6 on: February 05, 2003, 02:10:10 AM »
mo:23457:respawn:/usr/sbin/faxgetty ttyS0

This command cannot be entered like this from the command line. This is why you get "bash: mo:23457:respawn:/usr/sbin/faxgetty: No such file or directory".

To enable receiving faxes, faxgetty must be setup in order to have it answer. To have faxgetty start when the server starts you need to create and expand a custom template. The following command will make the entire required directory tree all at once:

# mkdir -p /etc/e-smith/templates-custom/etc/inittab

Create the file S85hylafax within this directory using your favorite editor the following line:

fax:23457:respawn:/usr/sbin/faxgetty ttyS0

Expand the template with:

# /sbin/e-smith/expand-template /etc/inittab

It should then work.

Chaloner Hale

Lloyd Keen

Re: Hylafax doesn't answer
« Reply #7 on: February 05, 2003, 11:11:53 AM »
Chaloner,
Just expanding the template won't do it, he'll need to re-load /etc/inittab after expanding the template using the following command:
#init q
And possibly:
#/etc/rc.d/init.d/hylafax restart

MadPat

Re: Hylafax doesn't answer
« Reply #8 on: February 05, 2003, 01:43:43 PM »
We are getting close.
This is what is happening now, but no answer yet.

# /etc/rc.d/init.d/hylafax restart
Shutting down HylaFAX queue manager (faxq):                [   OK   ]
Shutting down HylaFAX server (hfaxd):                            [   OK   ]
Starting HylaFAX queue manager (faxq):                         [   OK   ]
Starting HylaFAX server (hfaxd):                                     [   OK   ]
Restarting HylaFAX modem manager (faxgetty):              [   OK   ]

# ps -lea | grep fax
040 S    10  5468     1  0  62   0    -   902 do_sel ?        00:00:00 faxq
040 S    10  5473     1  0  64   0    -   794 do_sel ?        00:00:00 hfaxd
100 S    10  5480     1  0  71   0    -   834 do_sel ?        00:00:00 faxgetty

Chaloner Hale

Re: Hylafax doesn't answer
« Reply #9 on: February 05, 2003, 03:34:20 PM »
What modem are you using? It is set to answer on how many rings?

Chaloner Hale

MadPat

Re: Hylafax doesn't answer
« Reply #10 on: February 05, 2003, 09:55:14 PM »
Boys... it is working...

i've received a fax. Only i can't read it. I've reived an e-mail of incoming fax, locate somewhere on ftp://server/...TIFF. but can't open it.

may a right problem... looking into

thanks every body for the support.

Chaloner Hale

Re: Hylafax doesn't answer
« Reply #11 on: February 05, 2003, 11:26:45 PM »
See my HOWTO. Have the faxes come in as PDF files. The links in the email cannot be opened, only the attachement.

The TIFF files can not always be opened by all TIFF viewers. Have them come in as PDF files instead.

You will need to edit the FaxDispatch file.

FILETYPE=pdf;
SENDTO=FaxMaster;


Chaloner Hale

Jáder Marasca

Re: Hylafax doesn't answer
« Reply #12 on: February 06, 2003, 12:00:33 AM »
Chaloner Hale wrote:
>
> See my HOWTO.
Could you please send me the URL...
My Hylafax is working, just to know!

> Have the faxes come in as PDF files. The links
> in the email cannot be opened, only the attachement.

Why that f*** ftp link don´t open? Could I remote his line from config files?
Do you have a config file with those lines removed?

I have tweaked a config file to remove strange (and useless ) information, like from where fax came (ttyS2) and other useless info!

Do you have any webfax gateway that allow you to attach PDF or PS files?

guestHH

Re: Hylafax doesn't answer
« Reply #13 on: February 06, 2003, 12:16:36 AM »
Hmmm,

I consider the 'remark' and 'request' of Jáder 'not a common way of asking politely'.
Especially while dropping into the thread like that.

We all try to help as much as we can. Please be aware of that and consider your language.

Regards,
guestHH

Jáder Marasca

Re: Hylafax doesn't answer
« Reply #14 on: February 06, 2003, 12:23:27 AM »
guestHH wrote:
> I consider the 'remark' and 'request' of Jáder 'not a common
> way of asking politely'.  Especially while dropping into the thread like that.

I´m sorry! I promise I´ll not do it again! Sorry!

> We all try to help as much as we can. Please be aware of that
> and consider your language.

Again my apologies!
I just heard someone talk about hylafax and jumped into without think about it!
Sorry!

Jáder
(and because English isn´t my natural language sometimes I can appear to be RUDE just because I´m too ignorant to be polite!)