HylaFAX The world's most advanced open source fax server |
Hi everyone, got an interesting one
for you: I have a Debian Lenny (2.6.26-2-686 #1 SMP Wed Feb 10 08:59:21 UTC 2010 i686 GNU/Linux) server running Hylafax v4.4.4. The hardware is an HP DL380 G3 with loads of disk, CPU and RAM available for the task. We use HylaFAX only to send faxes; inbound fax reception is handed by a physical fax machine on a separate analogue line unrelated to this project. HylaFAX has been running fine with a little no-name external (RS232) fax modem until recently, when I found that the server's status always returns 'Waiting for modem to become ready'. I've been unable to correct this despite a great amount of hairpulling. I've tried restarting HylaFAX, rebooting the server, rebooting the modem, all to no avail. What is very strange is that minicom also seems to be affected by this, suggesting a problem with the modem or serial port. Where previously I'd been able to use minicom to dial out, pick up the line (answer), set and get the values of the modem's registers, now it simply ignores all commands and outputs nothing, although minicom does not report any errors. Thinking I'd experienced a modem failure I purchased a new Dynalink (Netcomm) CD2004 Mega-i-Modem (RS-232) modem and visited the site to install. This did not make any difference. In desperation, I shut down HylaFAX and moved /etc/hylafax/config.ttyS0 to a temporary directory before doing the same with /var/spool/hylafax/etc/config.ttyS0 then re-ran the faxaddmodem setup. It behaves as if there is no modem there at all - I've pasted its output here. I'd be eternally grateful to anyone who can lend a hand! :) BTW, some details: Serial port: /dev/ttyS0 Setserial's output: serverprompt:~# setserial /dev/ttyS0 /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 serverprompt:/# faxaddmodem Serial port that modem is connected to [ttyS0]? Ok, time to setup a configuration file for the modem. The manual page config(5) may be useful during this process. Also be aware that at any time you can safely interrupt this procedure. Reading scheduler config file /var/spool/hylafax/etc/config. No existing configuration, let's do this from scratch. Country code [1]? 64 Area code [415]? 9 Phone number of fax modem [+1.999.555.1212]? (valid number, redacted) Local identification string (for TSI/CIG) ["NothingSetup"]? (redacted) Long distance dialing prefix [1]? 0 International dialing prefix [011]? 00 Dial string rules file (relative to /var/spool/hylafax) [etc/dialrules]? Tracing during normal server operation [1]? Tracing during send and receive sessions [11]? Protection mode for received facsimile [0600]? 0644 Protection mode for session logs [0600]? 0644 Protection mode for ttyS0 [0600]? 0777 Rings to wait before answering [1]? 10 Modem speaker volume [off]? medium Command line arguments to getty program ["-h %l dx_%s"]? Pathname of TSI access control list file (relative to /var/spool/hylafax) [""]? Pathname of Caller-ID access control list file (relative to /var/spool/hylafax) [""]? Tag line font file (relative to /var/spool/hylafax) [etc/lutRS18.pcf]? Tag line format string ["From %%l|%c|Page %%P of %%T"]? Time before purging a stale UUCP lock file (secs) [30]? Hold UUCP lockfile during inbound data calls [Yes]? Hold UUCP lockfile during inbound voice calls [Yes]? Percent good lines to accept during copy quality checking [95]? Max consecutive bad lines to accept during copy quality checking [5]? Max number of pages to accept in a received facsimile [25]? Syslog facility name for ServerTracing messages [daemon]? Set UID to 0 to manipulate CLOCAL [""]? Use available priority job scheduling mechanism [""]? The non-default server configuration parameters are: CountryCode: 64 AreaCode: 9 FAXNumber: (valid phone number, redacted) LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules SessionTracing: 11 RecvFileMode: 0644 LogFileMode: 0644 DeviceMode: 0777 RingsBeforeAnswer: 10 SpeakerVolume: medium GettyArgs: "-h %l dx_%s" LocalIdentifier: (redacted) TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%P of %%T" MaxRecvPages: 25 NotifyCmd: bin/notify.php Are these ok [yes]? Now we are going to probe the tty port to figure out the type of modem that is attached. This takes a few seconds, so be patient. Note that if you do not have the modem cabled to the port, or the modem is turned off, this may hang (just go and cable up the modem or turn it on, or whatever). Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200 Unable to deduce DTE-DCE speed; check that you are using the correct device and/or that your modem is setup properly. If all else fails, try the -s option to lock the speed. Thanks in advance, Cameron Barclay coherence ____________________ 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* |