Subject: mgetty dies after dailin
To: None <netbsd-help@netbsd.org>
From: David Wetzel <dave@turbocat.de>
List: netbsd-help
Date: 07/24/2001 17:14:25
hi folks,

I installed mgetty from the binary pkg collection.
It receives faxes but after hangup, the process exits.

my ttys are this:

tty02   "/usr/pkg/sbin/mgetty"          dialup on insecure

Any idea? I am using NetBSD 1.5.1 and an ZxYEL


alice# tail -f /var/log/mgetty.tty02
07/24 17:05:10 y02    got:[0d][0a]OK[0d]
07/24 17:05:10 y02   mdm_command: string 'OK' -> OK
07/24 17:05:10 y02  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
07/24 17:05:10 y02    got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
07/24 17:05:10 y02   mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
07/24 17:05:10 y02    got:[0d][0a]OK[0d]
07/24 17:05:10 y02   mdm_command: string 'OK' -> OK
07/24 17:05:10 y02   waiting for line to clear (VTIME), read: 
07/24 17:05:10 y02   removing lock file
07/24 17:05:10 y02  waiting...
07/24 17:05:16 y02    select returned 1
07/24 17:05:16 y02   checking lockfiles, locking the line
07/24 17:05:16 y02   makelock(tty02) called
07/24 17:05:16 y02   do_makelock: lock='/var/spool/lock/LCK..tty02'
07/24 17:05:16 y02   lock made
07/24 17:05:16 y02  wfr: waiting for ``RING''
07/24 17:05:16 y02   got: [0a][0d][0a]RING[0d]
07/24 17:05:16 y02    CND: RING
07/24 17:05:16 y02   wfr: rc=0, drn=0
07/24 17:05:16 y02    CND: check no: 'none'
07/24 17:05:16 y02  send: ATA[0d]
07/24 17:05:16 y02  waiting for ``CONNECT''
07/24 17:05:16 y02   got: ATA[0d]
07/24 17:05:16 y02    CND: OKATA[0d][0a]NO CARRIER
07/24 17:05:55 y02  found action string: ``NO CARRIER''
07/24 17:05:55 ##### failed A_FAIL dev=tty02, pid=25892, caller='none', conn='', name=''

07/24 17:05:55 y02   removing lock file
(HERE DOES mgetty EXIT)

Any ideas? 
Dave

---
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 (______)  http://www.turbocat.de/  dave@turbocat.de
           DEVELOPMENT * CONSULTING * ADMINISTRATION