Subject: Re: Problems with enabling tty login on i386
To: None <dinsen@danbbs.dk>
From: Patrick Welche <prlw1@cam.ac.uk>
List: netbsd-help
Date: 06/03/1998 12:22:15
Anders Dinsen wrote:
>
> I have enabled tty00 and tty01 for login in /etc/ttys,
How exactly did you do this?
> but getty seems
> to hang. ps -lx reports:
>
> UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME
> COMMAND
> 0 229 1 2 3 0 28 164 ttyopn IW ?? 0:00.08
> /usr/libexec/getty std.9600 tty00
> 0 230 1 0 3 0 28 164 ttyopn S ?? 0:00.08
> /usr/libexec/getty std.9600 tty01
This actually seems OK to me: eg. I get
0 1168 1 0 3 0 72 508 ttyopn S ?? 0:00.04
/usr/libexec/uugetty std.9600 tty00
with
tty00 "/usr/libexec/uugetty std.9600" vt220 on rtscts
in /etc/ttys. Then when I connect on the other end of the wire, in
this case DOS/kermit:
0 1168 1 0 3 0 76 512 ttyin Ss+ 00 0:00.06
/usr/libexec/uugetty std.9600 tty00
So I guess one question is - how is your cable wired? In my case, both
9-pin, I have:
2-3
3-2
4-6
5-5
6-4
7-8
8-7
with 1 and 6 tied together within each plug.
On a related note, my thanks to Frederick Bruckman for the scenario
whereby a modem gives getty a user name of RING. I have yet to make a
new cable!
Cheers,
Patrick