Getting console access on freshly built AIX 5.2


 
Thread Tools Search this Thread
Operating Systems AIX Getting console access on freshly built AIX 5.2
# 1  
Old 03-25-2008
Getting console access on freshly built AIX 5.2

Hi folks,

I'm unfortunately only a Solaris/Linux guy and have a problem I can't solve. As part of an assessment of some network security software, I need to perform vulnerability scans and log (syslog event) collection from an AIX box.

So I have a pSeries "B80" in front of me running AIX 5.2 and the thing boots but won't give me a serial console. I can *see* stuff such as daemons starting, etc but at the very end of the boot process I get no console. The server has no IP address configuraion, has no video card and the guys who built it (who also know very little) from the rental company don't know what to do.

With a Solaris server or Linux server the console would just work. This thing has three serial ports - two on the back and an RJ-45 on the front. The front port appears to do nothing except echo back whatever I type on it, while the others give me the "Press <blah> to make this the default console". I can interface with the various boot/diagnostic menus via the serial console at least, and I had single user mode running but I couldn't find a way to bring the console up in multi-user mode.

Seriously folks I have no idea how the foibles of AIX work. Any advice at this point is a godsend.
# 2  
Old 03-25-2008
I don't have a B80 but here are some ideas.

It sounds like you are getting a console since you can run single user mode. However, I'll pass some of this along for reference.

Looking at page 28 in http://publib16.boulder.ibm.com/pser...pdf/380579.pdf

it appears that the ASCII console should be plugged in to S1 on the back. You should get the "Press <blah> to make this the default console". Then when the word keyboard comes on the console press the number 1 key on the keyboard to display the SMS menu. Within those menus there is a selection for setting the console. However I think that is set when you press the 1 key.

When you boot to single user mode use "smitty console" to set your console. Also make sure that /etc/inittab has a line that reads something like

cons:0123456789:respawn:/usr/sbin/getty /dev/console
# 3  
Old 03-25-2008
I suspect your nul modem cable is not wired correctly for the RS6000.

They seem to use a unique cable.

Your problem is typical of a bad cable.

During the boot sequence and also during an AIX install the console uses one type of handshaking. During AIX runtime it uses another!

All good fun.

Check your pinout, it should be:
2 to 3
3 to 2
7 to 8
8 to 7
4 to (6 and 1)
(6 and 1) to 4
5 to 5

You also have to consider the terminal settings, what terminal are you using?
What speed, duplex, data and stop bits, handshaking, etc.

Typically, for say a windows hyperterminal session, you would use 9600, 8, n, 1, hardware flow control.
# 4  
Old 03-25-2008
9600 and 8N1 was correct for all the classical R/6000 machines. At some point this was changed to 19200, 8N1. The p6xx and the p5xx are definitely using 19200, the B50 has used 9600. Which speed the B80 uses i don't know but it can only be one of these two.

The pinout is a simple Nullmodem cable (serial RS232, but RX/TX crossed out) but you usually need a gender changer (depending on the cable, there are some with the right connector) because of the "wrong" DB25 connector IBM uses.

If you are asked to press function keys use the following schema: <F1>=<ESC><1>, <F2>=<ESC><2>, etc.. <F10>=<ESC><0>

bakunin
# 5  
Old 03-25-2008
19,200 came in at power5, so the b80 default is 9,600 but beware this can be changed on all machines when AIX is running and on power 5, and later, when either the boot menus or AIX are active.

The b80 has 9 pin serial ports as do all later machines.
# 6  
Old 03-26-2008
It sounds like perhaps the inittab file is not enabling logins from the console.
I'll give that a shot, but embarrassingly I set the root password in single user mode and...ah...forgot what I typed (sometimes bad behavior creeps in to the lab...)

Anyway if I can't remember it (I seem to only get one chance to type it before it kicks me off forever), I shall have a look at the inittab file. Other than that, we have an AIX engineer coming in to perform any work required on Monday (including full reubuilds if required).

If I can remember to be a good netizen I'll even post back here with the confirmed solution and what the core issue was.

Last edited by kaldek; 03-26-2008 at 02:02 AM..
# 7  
Old 03-26-2008
Posting what the solution was once you discovered it will be greatly appreciated. I'd like to THANK YOU in advance for this consideration.

There is a thread in the FAQ dealing with how to get into an AIX machine without knowing the root password: https://www.unix.com/answers-frequent...ogin-root.html

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Solaris: Not able to access E2900 console

Hi, I have a scheduled activity to reboot E2900 server. But suddenly I came to know that console ip is not pinging, not connecting via telnet, as it used to connect. I already checked with my onsite person and he changed cable, still no luck. Network person checked his switch, which is showing... (8 Replies)
Discussion started by: solaris_1977
8 Replies

2. AIX

How to access console for P650 server.

Hi Everyone, we had a one IBM P650 standalone server, planning to install AIX OS on top of it, I don't have HMC, is their a way to access to console of the server using serial cable or any other option for installing OS on top of it. Thanks, (1 Reply)
Discussion started by: bobby320
1 Replies

3. AIX

P550 Unable to access Console

I have recently aquired the following machine: IBM,9113-550 Up until yesterday we could connect a dumb terminal to serial port 1 and get console login. However the dumb terminal died. We are now using a laptop with a null modem cable attached to serial port 1. This works perfectly for all of... (1 Reply)
Discussion started by: rsw7724
1 Replies

4. Shell Programming and Scripting

how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable

hi, how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Discussion started by: pankajd
1 Replies

5. SCO

how do I add a user with privs to console access?

how do you add a new user to a SCO system that has the ability to log into the console and get the graphical desktop? i tried: useradd test passwd test **** but when i log try to log into the console it gives me a bunch of permissions errors... (1 Reply)
Discussion started by: herot
1 Replies

6. Solaris

Sunfire V100 console access

Hi guys, My current set up is I have a Laptop running redhat linux. This acts as an SSH server, and i use it to console into the LOM-A port on my Sunfire V100 using minicom. The idea is that I can remotely access and test things out. This works great, but I've just bought another V100 server... (15 Replies)
Discussion started by: Stin
15 Replies

7. Solaris

USB Console access on Solaris 9 x86

Hi Guys, I installed solaris 9 on my laptop(x86). I want to access the solaris console by attaching another laptop to this. But i do not have a Serial Port on the laptop on which I installed Solaris. I was wondering whether there was an option of console access through a USB2USB or using... (1 Reply)
Discussion started by: com2com
1 Replies

8. AIX

cant telnet to aix 5.2 and not even access through serial console

I have installed aix 5.2 on aix box through serial console connected to COM 1 . I even get a login prompt after the fresh installation . But as soon as i give a root & enter i again get a login prompt.i..e I am not able to logon after a fresh installation. and even i configured IP configuration... (0 Replies)
Discussion started by: linuxnightowl84
0 Replies

9. HP-UX

Access with console.

hi, is it possible to have a console access on a HP UX system without Web Console ? If yes, how ??? Many thanks in advance. :D (3 Replies)
Discussion started by: liliput
3 Replies

10. UNIX for Advanced & Expert Users

User Access Problem: Via Telnet or even Console

Just took over a UNIX Server from someone who left our company. Having problems with access by some existing users as well as new users. I get the following message from telnet sessions, when attempting access at the "Login:" prompt: "UX:in.login:ERRO: Login incorrect" "telnetd:Unable to... (2 Replies)
Discussion started by: Vincent Garcia
2 Replies
Login or Register to Ask a Question