Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Andreas Johansson <ajo@wopr.campus.luth.se>
To: axp-list@redhat.com
Subject: Re: Serial Console
Date: Tue, 9 May 2000 16:18:05 +0200 (CEST)	[thread overview]
Message-ID: <Pine.NEB.4.21.0005091608380.4208-100000@loco.campus.luth.se> (raw)
In-Reply-To: <3918113B.8D8EC361@dcginc.com>

On Tue, 9 May 2000, Kevin Wood wrote:

> Hey there everyone, I have a question for you.
> 
> I have some machines that we are making headless.  They are Up2000
> running RH 6.2.
> 
> Here's the situation:
> In the past, the machines were configured this way....
> 1. Move securetty to securetty.old to open up security so you can log
> into the serial port.

Hmm. Why not add the device to securetty instead?

[root@ymer ajo]# cat /etc/securetty 
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
ttyS0
[root@ymer ajo]# 

> 2. Move /dev/console to /dev/console.old and ln -s /dev/ttyS0 console.
> This allows output to go to the serial port

I don't think you should do this. My serial console works without doing
it, but then I directly use the /dev/ttyS0 device instead of /dev/console.

> 3. Comment out all the mingetty lines in /etc/inittab and add a line
> stating
> 
>     7:12345:respawn:/sbin/mgetty -s 9600 -r ttyS0
> 
> This worked like a champ and we never had problems....until now...
> 
> When the machine first comes up, you can login and do all your stuff.
> When you logout is the problem.  I am presented with a blank screen.
> Before, when you pressed ENTER, you were presented with a login prompt.
> Now I get the message
> 
> INIT: ID "7" respawning too fast:disabled for 5 minutes
> INIT: no more processes left in this runlevel

I haven't used mgetty for a long time, but the "normal" getty works well
for getting serial console to a terminal.

> Does anyone know of a fix for this or does someone know of a better way
> to acomplish a headless terminal?  Any help would be appreciated.

If you have getty

ajo@ymer ~ >rpm -qf /sbin/getty
getty_ps-2.0.7j-9
ajo@ymer ~ >

this entry in inittab works well for me:

S0:2345:respawn:/sbin/getty ttyS0 DT9600 vt100

The machine in question is a SX164 with AlphaBIOS + milo, where I have
console=ttyS0 as a parameter to the kernel. I am also using RH6.2.

> Kevin Wood

/Andreas


  reply	other threads:[~2000-05-09 14:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-09 13:23 Serial Console Kevin Wood
2000-05-09 14:18 ` Andreas Johansson [this message]
2000-05-09 14:56   ` David Huggins-Daines
2000-05-09 14:57 ` Ivan Kokshaysky
  -- strict thread matches above, loose matches on Subject: below --
2001-10-04 11:41 serial console Jemiolo, John
2001-10-04 14:13 ` Nelson Brito
2001-10-04 15:31 ` Michal Jaegermann
2001-10-04 11:30 Jemiolo, John
2001-10-04 10:15 Nelson Brito
2000-05-09 13:39 Serial Console Alan Keane
2000-05-09 14:20 ` Andreas Johansson
1999-04-16  4:51 Simon Shapiro
1999-04-16 16:28 ` Matthew Jacob
1999-04-16 21:09   ` Albrecht Jacobs
1999-04-16 23:17     ` Matthew Jacob
1998-03-26 20:18 Philippe Girolami
1998-03-26 20:15 Tim Buller
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