Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
how to setup serial console on my mac?
Hi,
I tried doing this some time ago and failed, I thought I'll have a go again...
I'm trying to setup my mac so I can access console via /dev/ttyZ0 and /dev/ttyZ1
I have following in my /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" vt100 on secure
If I set dummy output-device in open firmware it causes mac to input/output
everything to modem port (/dev/ttyZ0), mac boots ok and I'm able to logon:
Nov 29 15:21:10 wally getty[474]: /dev/ttyE0: Device not configured
NetBSD/macppc (wally) (ttyZ0)
login: root
Nov 29 15:21:21 wally login: ROOT LOGIN (root) ON ttyZ0
Last login: Sat Nov 29 15:06:26 2008 on ttyE0
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 4.0.1 (GENERIC) #0: Tue Oct 7 23:19:46 PDT 2008
.:'
__ :'__
.'`__`-'__``.
:__________.-'
:_________: Welcome to NetBSD/macppc 4.0.1!
:_________`-;
`.__.-.__.'
Terminal type is vt100.
but if I set right output-device and get my console on /dev/ttyE0 I can no
longer use /dev/ttyZ0 to connect.
I had a look at Linux Serial Console HOWTO
[http://www.vanemery.com/Linux/Serial/serial-console.html] but it uses agetty,
I couldn't find any files containing agetty:
wally# grep agetty `find /etc/`; echo $?
1
Can somebody please help me to set this up?
Home |
Main Index |
Thread Index |
Old Index