Hi Andre, Andre Truter wrote:
On 12/28/05, Stan Glasoe
wrote: On Wednesday 28 December 2005 4:08 am, Andre Truter wrote:
I have set up an oungoing fax server using Hylafax on SuSE 9.3
Everything seems to be fine, except that it never sends the faxes. <snip>
The problem was that we only have an outbound service. I had to run 'faxmodem ttyS0'. Once that has been run, the faxes in the queue gets sent.
Problem now is, how do you get the the modem started when the box or Hylafax start?
When I reboot the box, I have to log in and run the faxmodem command again.
As a workaround, I added the faxmodem command to the hylafax init script, but what is the correct way of doing it? Correct or not, if it works, who cares? I have however identified, what I think is an 'oops'.
Currently when Hylafax starts it is going to send all the queued faxes. What if I want to send a fax after that send, do I have to wait until Hylafax is restarted? My feeling would be to write a script that does the fax modem thing and have that script run periodically and before the box is shutdown via cron. That way if I send a fax at 10:25am and the Hylafax software was started at 8am, I know that the fax is actually going to leave the building at 11am. It would seem that you need a script to execute on boot to start Hylafax after the system is running. I'm almost certain that with a line at the end of your boot script you could get Hylafax started. Starting that would run the faxmodem command, if you don't follow my idea above. I had a look in the SuSE help on my system for boot script and found something about starting software on boot. Maybe it will help. I'll mail you the help page pvtly if you do not come right. HIH -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================