From: Larry Zimmerman <laz@walleye.gonefishing.sk.ca>
To: axp-list@redhat.com
Subject: Re: UDB Serial Terminal Console
Date: Mon, 8 Jun 1998 20:43:17 -0600 [thread overview]
Message-ID: <199806090243.UAA13110@walleye.gonefishing.sk.ca> (raw)
In-Reply-To: Mail from '"Scott Spieker" <scspieker@ncweb.com>' dated: Mon, 8 Jun 1998 10:35:59 -0400
From: "Scott Spieker" <scspieker@ncweb.com> Mon, 8 Jun 1998
> 1. I am assuming that the ttyS0 port is the correct tty line for the port
> - is that indeed correct?
Yes, that's correct.
> 2. Enabling the serial port in the kernel is done in what module(s)?
> During the make config step what is the question that is posed regarding
> the serial port/terminal options?
Enabling in the kernel is done by enabling Serail Ports. The default is
usually to have them enabled.
I was thinking that you should add a line in /etc/inittab like:
# Run gettys in standard runlevels
1:12345:respawn:/sbin/mingetty tty1
...
7:12345:respawn:/sbin/getty ttyS0 DT19200 vt100
Item # 7. But set speed and terminal type to match your terminal.
This will enable logins on your serial port. You also have to add
ttyS0 to the /etc/securetty file to enable root logins on this port.
> 3. Setting the terminal as the console can be done with the OSLOADOPTIONS
> with milo. Is there a different place that that information should be
> installed at also?
/dev/console is usually a link to /dev/tty or /dev/tty0 - which are the
ttys for the standard screen/keyboard. If you want console messages to
come to your serial port, you would make /dev/console a link to ttyS0.
You'd probably be better of logging the messages you're interested in
to /var/log/messages (by editing /etc/syslog.conf).
There is also an option in the kernel config to enable/disable logging
to the serial port - this is mainly useful at boot time if you don't
have a monitor connected. It can cause problems if you have a modem
on this port, but a terminal should be okay.
> I have to admit that I have gotten away from Linux for a short while and
> became mush more intimate with the commercial versions of UNIX. That is
The RedHat stuff mostly follows standard SysV practices for init,config,etc.,
, so probably is somewhat like commercial UNIX - depending on which
UNIX flavor you use. SunOS is a BSD type system, but Solaris is SysV, so
I've been able to give the guys at work a few tips on setting up Solaris.
Larry Z.
next prev parent reply other threads:[~1998-06-09 2:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <scspieker@ncweb.com>
1998-06-07 3:44 ` UDB Serial Terminal Console Larry Zimmerman
1998-06-09 2:43 ` Larry Zimmerman [this message]
1998-06-08 14:35 Scott Spieker
-- strict thread matches above, loose matches on Subject: below --
1998-06-07 0:55 Scott Spieker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox