Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: how to setup serial console on my mac?
--- On Wed, 12/3/08, Donald Lee <MacPPC2%caution.icompute.com@localhost> wrote:
>
> Sorry. That question is beyond my meager expertise. I
> think it's a "wscons"
> question. (?)
>
> -dgl-
I checked some info on wscons, IMHO don't think it's that. Getty on the other
hand IMHO looks like it:
getty, uugetty -- set terminal modes for system access
The getty program is called by init(8) to open and initialize the tty
line, read a login name, and invoke login(1). The devices on which to
run getty are normally determined by ttys(5).
and TTYS(5) states;
The file ttys contains information that is used by various routines to
initialize and control the use of terminal special files. This informa-
tion is read with the getttyent(3) library routines.
EXAMPLES
# root login on console at 1200 baud
console "/usr/libexec/getty std.1200" vt100 on secure
# dialup at 1200 baud, no root logins
ttyd0 "/usr/libexec/getty d1200" dialup on # 555-1234
# Mike's terminal: hp2621
ttyh0 "/usr/libexec/getty std.9600" hp2621-nl on # 457 Evans
# John's terminal: vt100
ttyh1 "/usr/libexec/getty std.9600" vt100 on # 459 Evans
# terminal emulate/window system
ttyv0 "/usr/new/xterm -L :0" vs100 on
window="/usr/new/Xvs1000"
# Network pseudo ttys -- don't enable getty
ttyp0 none network
ttyp1 none network off
It looks like my config is OK
wally# cat /etc/ttys
console "/usr/libexec/getty std.38400" vt100 off secure
ttyE0 "/usr/libexec/getty std.9600" vt100 on secure
ttyZ0 "/usr/libexec/getty std.38400" vt100 on secure
ttyZ1 "/usr/libexec/getty std.38400" vt200 on secure
Why I'm not able to logon via ttyZ0 or ttyZ1? :-(
Home |
Main Index |
Thread Index |
Old Index