HylaFAX The world's
most advanced open source fax server
faxgetty won't start on my linux system
A few days ago I wrote the following message:
%I have hylafax 4.0.pl1 on a Linux system (2.0.23 kernel).
%This is what my modem claims to be when I query it with 'AT I4':
%Telepath 2 14,400/FAX/Voice RS Rev. 2.0
%I am trying to set up faxgetty as my standard getty program and never
%get it to work:
%This is the entry I added to inittab:
%# Serial lines
%then I 'init q'
%I get this on /var/adm/messages:
%Apr 15 18:05:55 pcastro7 init: Re-reading inittab
%Apr 15 18:06:40 pcastro7 FaxGetty: Unable to setup modem on /dev/cua1; giving up after 2 attempts
%Apr 15 18:07:59 pcastro7 FaxGetty: CLOSE /dev/cua1
%Apr 15 18:08:00 pcastro7 FaxGetty: OPEN /dev/cua1
%Apr 15 18:08:06 pcastro7 FaxGetty: /dev/cua1: Can not initialize modem.
%And this on /var/adm/syslog:
%Apr 15 18:06:40 pcastro7 FaxGetty: MODEM /dev/cua1 appears to be wedged
%Apr 15 18:07:59 pcastro7 FaxGetty: MODEM /dev/cua1 appears to be wedged
%I strongly suspect I am doing something awfully stupid, but can't find
%what is wrong. I had similar problems trying to use uu_getty and
Well I was doing something stupid. I caught itgetting more detailed
logs. Then I found in /var/adm/messages:
Apr 19 03:00:34 pcastro7 FaxSend: --> [2:OK]
Apr 19 03:00:34 pcastro7 FaxSend: <-- [21:ATS8=2S7=60&K4&D2&C1\r]
Apr 19 03:00:34 pcastro7 FaxSend: --> [5:ERROR]
Apr 19 03:00:34 pcastro7 FaxSend: MODEM Command error
Apr 19 03:00:34 pcastro7 FaxSend: MODEM set DTR OFF
My modem does not have AT&K4. Once I fixed that faxgetty stopped
dying. It is true that I actually found this while trying to send a
fax not while running faxgetty, but anyway I believe this was the
reason for faxgetty to quit before.
By the way I was suggested to use
(23 instead of 45)
If I do that faxgetty does not run at all...
Hope this helps somebody,