Subject: Re: mgetty dies after dailin
To: David Wetzel <dave@turbocat.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 07/24/2001 20:55:57
On Tue, Jul 24, 2001 at 05:14:25PM +0200, David Wetzel wrote:
> 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)

I think this is OK, init shoud restart it.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--