Subject: Re: enabling serial logins on 1.5.2 i386
To: Frederick Bruckman <fredb@immanent.net>
From: Wayne Cuddy <wcuddy@crb-web.com>
List: netbsd-help
Date: 12/15/2001 17:34:43
Problem solved.. I didn't read the "fine print" on the ttys manpage...
---
Nota Bene: Sending SIGHUP to init(8) does not change the state of the
various termios(4) device flags listed above; the ttyflags(8) program
must be run for changes in those flags to take effect on the devices.
---
ttyflags... damn...
On Sat, Dec 15, 2001 at 05:10:28PM -0500, Wayne Cuddy wrote:
> On Sat, Dec 15, 2001 at 04:03:37PM -0600, Frederick Bruckman wrote:
> > On Sat, 15 Dec 2001, Wayne Cuddy wrote:
> >
> > >
> > > Can someone please let me in on the secret to enabling direct serial (not
> > > modem) logins on NetBSD. I can't seem to get the local flag in the /etc/ttys
> > > to work. The getty process always blocks on open()...
> >
> > I use one of these as the first argument to "getty" (put the following
> > in "/etc/gettytab"):
> >
> > vt.9600|vt420-9600:\
> > :sp#9600:i0#2f02:i1#2f02:
> > vt.19200|vt420-19200:\
> > :sp#19200:i0#2f02:i1#2f02:
> > vt.38400|vt420-38400:\
> > :sp#38400:i0#2f02:i1#2f02:
>
> Done and I see the:
> 21920 ?? S 0:00.01 /usr/libexec/getty vt.9600 tty00
> process sitting there but I never get a login prompt. Now if I do
> stty -f /dev/tty00 clocal
> While this process is running, I can get the login prompt but once I logout,
> I cannot get the login prompt without running stty again..
>
> >
> >
> > Frederick
> >