![]() |
Have you turned your logging level up higher and checked your system log? That told me right away what specific command I was sending the modem that was causing an error and not allowing Hylafax to initialize the modem.I edited my config.ttyS0 file (will be different depending on your serial port) and set ServerTracing: 0xFFF. Then I checked in the /var/log/messages file and saw the detailed output from the modem. I had set the ModemSetupDCDCommand improperly for my modem. So I changed it to the correct value and everything was good.
Good luck,
Fred----- Original Message -----From: gongfenTo: Fred NewtzSent: Tuesday, May 09, 2006 7:38 PMSubject: Re: [hylafax-users] Gentoo - Hylafax 4.2.5 - Waiting for modem to come readyI got this problem too.faxstat result is Waiting for modem to come ready.
I read the FaxGettyApp.c++ code, and can't slove this problem.
Maybe I need more time to debug it.
There is anyone to help me ?
Thanks.
gongfen
2006/5/10, Fred Newtz <fnewtz@xxxxxxxxxx>:Here is my results from probemodem:ATI0 RESULT = "OK" RESPONSE = "MT5656ZDX"
ATI1 RESULT = "OK" RESPONSE = "042"
ATI2 RESULT = "OK" RESPONSE = "OK"
ATI3 RESULT = "OK" RESPONSE = "ACF3_V2.000B-V90_P21_FSH"
ATI4 RESULT = "OK" RESPONSE = "a007040284C6002F"
ATI5 RESULT = "OK" RESPONSE = "B5"
ATI6 RESULT = "OK" RESPONSE = "RCV56DPF-PLL L8773A Rev 62.01/62.01"
ATI7 RESULT = "OK" RESPONSE = "OK"
ATI8 RESULT = "ERROR" RESPONSE = "ERROR"
ATI9 RESULT = "ERROR" RESPONSE = "ERROR"Of course all the class stuff shows up but I don't know how important it is to this problem.I have the following in my /etc/inittab file:m0:2345:respawn:/usr/local/sbin/faxgetty ttyS0I have verifyed it is running with ps -aux. When it first loads it does state Initializing Server then goes to Waiting for modem to come ready.I have done a cat /dev/ttyS0 and I see the modem put up the ring when I call it. I get the tones when I call by voice but when I call with a fax machine it will not answer. Could it have anything to do with my :ModemResetCmds: ATZShould I set it to a more complex string that turns auto answer on, or does Hylafax turn it on for me?Will it cause a problem to be doing cat /dev/ttyS0 when I am trying to send the fax?Please let me know if I have not provided enough information to troubleshoot this problem.Thanks,
Fred