From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28197 invoked from network); 9 Jun 1998 02:41:43 -0000 Received: from ip2.net20483142.cr.sk.ca (HELO cabler.cableregina.com) (204.83.142.2) by mail2.redhat.com with SMTP; 9 Jun 1998 02:41:43 -0000 Received: from [24.72.3.110] by cabler.cableregina.com (SMTPD32-4.0) id A0E644E402F6; Mon, 08 Jun 1998 21:41:42 -0500 Received: (from laz@localhost) by walleye.gonefishing.sk.ca (8.8.5/8.8.5) id UAA13110 for axp-list@redhat.com; Mon, 8 Jun 1998 20:43:17 -0600 Date: Mon, 8 Jun 1998 20:43:17 -0600 From: Larry Zimmerman Message-Id: <199806090243.UAA13110@walleye.gonefishing.sk.ca> To: axp-list@redhat.com Subject: Re: UDB Serial Terminal Console In-Reply-To: Mail from '"Scott Spieker" ' dated: Mon, 8 Jun 1998 10:35:59 -0400 From: "Scott Spieker" 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.