Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

faxgetty won't start on my linux system



Hello folks,

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
%s1:45:respawn:/usr/local/sbin/faxgetty cua1

%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[975]: Unable to setup modem on /dev/cua1; giving up after 2 attempts
%Apr 15 18:07:59 pcastro7 FaxGetty[990]: CLOSE /dev/cua1
%Apr 15 18:08:00 pcastro7 FaxGetty[992]: OPEN /dev/cua1
%Apr 15 18:08:06 pcastro7 FaxGetty[992]: /dev/cua1: Can not initialize modem.

%And this on /var/adm/syslog:

%Apr 15 18:06:40 pcastro7 FaxGetty[975]: MODEM /dev/cua1 appears to be wedged
%Apr 15 18:07:59 pcastro7 FaxGetty[990]: 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
%mgetty.


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[1043]: --> [2:OK]
Apr 19 03:00:34 pcastro7 FaxSend[1043]: <-- [21:ATS8=2S7=60&K4&D2&C1\r]
Apr 19 03:00:34 pcastro7 FaxSend[1043]: --> [5:ERROR]
Apr 19 03:00:34 pcastro7 FaxSend[1043]: MODEM Command error
Apr 19 03:00:34 pcastro7 FaxSend[1043]: 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 

s1:23:respawn:/usr/local/sbin/faxgetty cua1

(23 instead of 45)

If I do that faxgetty does not run at all...

Hope this helps somebody,

Antonio



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services