Re: tty1 or tty2 how about both?
- From: "Patrick B. O'Brien" <pobrien@xxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 07:28:00 -0700
I only need to get to a login shell using my second com port (2) as my
first com port (1) is tied up with the KVM hardware.
I key in, penable /dev/tty1, I might get a brief login screen, it
disappears, and so then I am unable to login.
I've bounced the serial console, no joy.
Is there something else I need to do?
# lsdev -C -c tty -H
name status location description
tty0 Available 01-S1-00-00 Asynchronous Terminal
tty1 Available 01-S2-00-00 Asynchronous Terminal
tty2 Available 01-S3-00-00 Asynchronous Terminal
tty3 Available 01-S4-00-00 Asynchronous Terminal
TIA SG!
________________________________
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Green, Simon
Sent: Wednesday, June 28, 2006 2:53 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: tty1 or tty2 how about both?
As far as I am aware, the actual console can only be assigned to one
device at a time. Usually, during an install or maintenance boot the
firmware broadcasts to all the available terminals so that you can
choose whichever one you want at that time. (That can depend on the
particular hardware.) Of course, you're then stuck with that 'til the
next time.
If all you want is to be able to login to a running system on a
different terminal then you don't need to change the console, just
define the appropriate tty and enable it for logins.
What is it that you need this terminal for?
--
Simon Green
Altria ITSC Europe s.a.r.l.
AIX-L Archive at https://lists.princeton.edu/listserv/aix-l.html
New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On
Behalf Of Patrick B. O'Brien
Sent: 27 June 2006 18:40
To: aix-l@xxxxxxxxxxxxx
Subject: tty1 or tty2 how about both?
We kvm (keyboard video mouse) in remotely on tty1 (sa0).
But sometimes I need to tty in, in front of the aix node, on
tty2 (sa1).
It looks like I need issue 2 commands to move my console to
tty2;
How can I use both com1 and com2 to shell in?
#chcons -a login=enable /dev/tty1
chcons: console login enabled, effective on next system boot
chcons: console assigned to: /dev/tty1, effective on next system
boot
#penable /dev/tty1
- Prev by Date: LED Error Code E301 on p43-150
- Next by Date: Re: LED Error Code E301 on p43-150
- Previous by thread: Re: tty1 or tty2 how about both?
- Next by thread: Re: tty1 or tty2 how about both?
- Index(es):
Relevant Pages
|