From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1675 invoked from network); 9 May 2000 14:18:17 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 May 2000 14:18:17 -0000 Received: from loco.campus.luth.se (loco.campus.luth.se [130.240.192.45]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA12554 for ; Tue, 9 May 2000 10:18:16 -0400 Received: from localhost (localhost [[UNIX: localhost]]) by loco.campus.luth.se (8.9.3/8.8.8) with ESMTP id QAA04545 for ; Tue, 9 May 2000 16:18:05 +0200 (CEST) X-Authentication-Warning: loco.campus.luth.se: ajo owned process doing -bs Date: Tue, 9 May 2000 16:18:05 +0200 (CEST) From: Andreas Johansson X-Sender: ajo@loco.campus.luth.se To: axp-list@redhat.com Subject: Re: Serial Console In-Reply-To: <3918113B.8D8EC361@dcginc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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