Koozali.org: home of the SME Server

[RESOLVED] Hylafax - problem initializing modem on wrong port

Offline logan

  • *
  • 29
  • +0/-0
Good day,

First off:
The guy doing the actual support (from whom i am leaning SME etc)for our server installed hylafax yesterday. The problem is that he is very busy - cant help me now - and the hylafax is not working. So hoping i can figure it out myself?

The problem:
when sending a fax i recieve an email with following content:
The HylaFAX software thinks that there is a problem with the modem on device /dev/ttyS0 that needs attention; repeated attempts to initialize the modem have failed.

The server guy set up the port to be ttyS4 - checked the /etc/hylafax/etc dir and found "config.ttyS4" so i can safely accept the port was initially set up as ttyS4.
Is there anything/anyplace else i need to ensure that ttyS4 has correctly been set as the port to use?
Should i follow the wiki page instruction on Changing Port and just restating ttyS4 in the hopes that it resets correctly?

I am not sure what info to provide for assistance, ask me and i shall try give it to you!
« Last Edit: July 31, 2008, 01:25:19 PM by logan »

Offline logan

  • *
  • 29
  • +0/-0
Re: Hylafax - problem initializing modem on wrong port
« Reply #1 on: July 31, 2008, 01:25:03 PM »
We found what the problem was:

Explain the server hardware setup:
COM1 was initially used by the UPS - a setup made so that the server can shutdown and restart from the UPS if the batteries run out after a power out or when the power comes back on. We did not have any additional serial ports.
We added an additional card which gave us two additional serial ports. The fax modem was connected to one of these new ports.

The problem it seems is that hylafax cannot be set to use ports higher than com4. It could not use the serial port on the card.
We then proceeded to swap the UPS and fax cables, thus having the fax modem connected via com1 and the UPS on the card ports.
We changed the port to use from ttyS4 to ttyS0...

and bob's your uncle all is working fine now.

I am not that technically inclined so i hope my basic explanation does help someone with a similar issue. :)

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: Hylafax - problem initializing modem on wrong port
« Reply #2 on: August 02, 2008, 03:37:57 PM »
The problem it seems is that hylafax cannot be set to use ports higher than com4. It could not use the serial port on the card.

My Hylafax config runs on ttyS4 just fine. I'm using a Lava serial card to add the additional two serial ports.

Does your /dev directory have ttyS4? or indeed anything above ttyS3? perhaps that is the issue.

Christian
SME since 2003

Offline logan

  • *
  • 29
  • +0/-0
Re: [RESOLVED] Hylafax - problem initializing modem on wrong port
« Reply #3 on: August 04, 2008, 08:00:58 AM »
hmmmm i checked and it seems that dev/ has a ttyS4.
I will get back to the server admin guy then and ask that we sort this out.
thank you for the reply christian.

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
Re: [RESOLVED] Hylafax - problem initializing modem on wrong port
« Reply #4 on: August 04, 2008, 08:25:40 AM »
Christian, what version of hylafax are you running? I think the older version of hylafax might not support a serial port higher that ttyS1. Can anyone confirm this?

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
Re: [RESOLVED] Hylafax - problem initializing modem on wrong port
« Reply #5 on: August 04, 2008, 04:00:54 PM »
what version of hylafax are you running?

I'm running 4.4.4-1.

It sounded like he had done a fresh install so now I assume too that he is on that rev (or close to it). But only he can say.
SME since 2003

Offline logan

  • *
  • 29
  • +0/-0
Re: [RESOLVED] Hylafax - problem initializing modem on wrong port
« Reply #6 on: August 04, 2008, 04:10:09 PM »
I am unaware of what the version is, but will find out!