HylaFAX The world's most advanced open source fax server

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

getty hanging up line



I have set up HylaFAX using the Redhat rpm on a Redhat 5.1 system with
(from what I can tell-I inherited this modem with no documentation) an
Exar modem.  Upon running faxsetup and faxaddmodem, the modem seems to
be setup correctly by accepting the default settings - software flow
control.  To then test the installation, I ran faxmodem to manually
assign cua1 as an available modem.  I was able to send a test postscript
document with excellent results.  I then decided it was time to install
faxgetty as I also wanted to be able to log into this machine, and, at
some later time, receive faxes.  I told faxgetty to monitor ttyS1 (also
have tried cua1).  According the the syslog, it was able to detect the
type of call (fax or data) each time.  The fax receive started to work
until encountering some phase B errors (not sure what all that is but am
leaving this until later).  When trying to dial in for a login prompt,
the modem detects a data call, starts up the getty program, which,
according to the logs, immediately hangs up the phone.  Here is the
output:

Nov 03 21:59:31.41 [ 9297]: SESSION BEGIN 00000038 17145551919
Nov 03 21:59:31.41 [ 9297]: <-- [4:ATA\r]
Nov 03 21:59:47.47 [ 9297]: --> [27:CONNECT 14400/REL-LAPM-COMP]
Nov 03 21:59:47.47 [ 9297]: ANSWER: DATA CONNECTION
Nov 03 21:59:47.59 [ 9297]: GETTY: START "/sbin/getty -h ttyS1 19200",
pid 9300
Nov 03 21:59:47.83 [ 9297]: GETTY: exit status 0
Nov 03 21:59:47.84 [ 9297]: SESSION END

I have checked the gettydefs file and even run uugetty (only seemed to
work with ttyS1) to check that I could get a login prompt and it worked
fine.  This all leads me to believe that I haven't got the faxgetty set
up correctly.  GettyArgs is as follows:GettyArgs:	"-h %l %s".  Not sure
what else controls startup of Getty.  Does anyone know what is causing
this?




Project hosted by iFAX Solutions