Subject: Re: mgetty problem
To: David Wetzel <dave@turbocat.de>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 08/28/2001 13:17:54
On Tue, 28 Aug 2001, David Wetzel wrote:

> Frederick Bruckman wrote:
>
>
> > Sorry I missed the begginning of this thread, but you don't need to do
> > anything like that, as mgetty recognizes uucp style lockfiles.  (You
> > should have "lock" in pppd options, if you're sharing a line with a
> > running "pppd".) Just put "mgetty" in /etc/ttys. Example:
> >
> > tty02   "/usr/pkg/sbin/mgetty -s 38400 -n 1"    unknown on
>
> My problem was, that no mgetty was running after the modem hung up again.
> (search the archives on netbsd.org)

This is the entry you posted:

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

The third column is supposed to match a termcap entry, [See ttys(5)]
and "dialup" is no kind of termcap entry on my systems (1.4.3/1.5.2).
Neither is "insecure" documented as being valid (not-"secure" is the
default). Try the line I gave -- the switches simply fix the speed at
38400bps, and it tells mgetty to answer after one ring. Make sure the
other programs that share the line recognize uucp-style locking too
(pppd needs the "lock" option to do that).


Frederick