HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Wating for Modem to Come ready



On Friday 02 September 2005 17:24, you wrote:
> --- "Terry D. Boldt" <fastsnip-hylafax1@xxxxxxxxx>
>
> wrote:
> > Any ideas on how to get HylaFAX to quit wating and
> > starting running?
> >
> > Using HylaFAX 4.2.1-23 on Fedora Core 3.
> >
> > faxgetty is running also.
>
> # sendfax -n -d xxxxx /home/pschon/fax
> request id is 210 (group id 210) for host localhost (1
> file)
> # faxstat -s
> HylaFAX scheduler on x.x.x: Running
> Modem modem (+x.xxx.xxx.xxx): Initializing server
>
> is how it works for me.
>
> When I set this up I did not have faxgetty running.
> Often times I would see "waiting for modem" but it
> would eventually work.
>
> While trying to solve another problem I saw that I
> should setup faxgetty to run even for outbound. So I
> put a line in inittab
>
> m0:2345:respawn:/usr/local/sbin/faxgetty  modem

Got that line in /etc/inittab with your modem == ttyS0

If I kill faxgetty it immediately respawns

>
> But when I run faxsetup it doesn't respawn faxgetty
> ... it kills it but doesn't respawn it. I have it in
> rc.local. So now when I go to send a fax my modem says
> # ...  Running and idle
>
> I do this
>
> # /usr/local/sbin/faxgetty  -D modem
>
> (modem is link to ttyS0)
>
> # faxstat -s
> # Initializing Server
>
> and off goes the fax (not always being received but it
> tries)
>
> Be sure you have faxgetty really running
>
> ps ax | grep faxgetty
>
> and is it tied to the device
>
> # ps ax | grep fax
> 23048 ?        S      0:00 /usr/local/sbin/faxq
> 23050 ?        S      0:00 /usr/local/sbin/hfaxd -i
> hylafax
> 23102 ?        S      0:00 /usr/local/sbin/faxgetty -D
> modem

I get the following output:

ps ax | grep fax
 4260 ?        Ss     0:00 /usr/local/sbin/faxq
 4262 ?        Ss     0:00 /usr/local/sbin/hfaxd -i hylafax
 4361 ?        Ss     0:00 /usr/local/sbin/faxgetty ttyS0
 5864 pts/5    R+     0:00 grep fax

Still faxstat reports: 
$ faxstat
HylaFAX scheduler on localhost.localdomain: Running
Modem ttyS0 (1.301.330.5467): Waiting for modem to come free

HylaFAX just will not recognize that the modem is free????

I have tried the faxstate, faxmodem commands, nothing is changed.

Thanks,
Terry


-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++
======================================================
******************************************************
If you are always rushing towards the future,
Then you never have any past.

Terry Boldt
******************************************************
Paraphrasing Ben Franklin:

Those who sacrifice freedom for safety, have neither.

The exact quote:

They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
  Benjamin Franklin (1706 - 1790),
  US author, diplomat, inventor, physicist, politician, & printer
  Historical Review of Pennsylvania, 1759

******************************************************

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions