Integrity Servers
1752798 Members
5785 Online
108789 Solutions
New Discussion юеВ

connection to MP using console serial port

 
SOLVED
Go to solution
Miguel Silva Rentes
Regular Advisor

connection to MP using console serial port

Hi everyone,

I'm trying to connect to MP using console serial port in a HP-UX server rx2660 and don't see the MP login screen when I connect to the console serial port. I'm using a DB9 female/female cable to connect one end into the serial port and the other end into a serial-USB converter that connects into my laptop's USB port. I'm using Ubuntu 9.10 in my laptop.

Here's what I've done so far:

- connected the cable to the server and to my laptop and issued the following command from my laptop:

$ dmesg | grep tty

which gives me:

[ 0.001189] console [tty0] enabled
[ 1100.381505] usb 5-1: pl2303 converter now attached to ttyUSB0

then I did:

$ cu -l /dev/ttyUSB0 -s 9600

from my laptop and got this output:

$
Connected.

From here I can't see the MP login window at all nor do I know what do I have to do from this point to be able to login myself in MP.

What am I doing wrong?

Best regards

Miguel Rentes
13 REPLIES 13
Michal Kapalka (mikap)
Honored Contributor

Re: connection to MP using console serial port

hi,

you could install putty on your linux and try tu copnnect to the MP serial via your USB cable.


mikap
Torsten.
Acclaimed Contributor

Re: connection to MP using console serial port

Many many years ago when I was using MUX panels to get access via "cu" to devices I needed to edit /etc/uucp/Devices first, then "cu -l ..." was working.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Matti_Kurkela
Honored Contributor

Re: connection to MP using console serial port

In Linux, it's possible to use cu without editing any uucp configuration files first.
The cu command line looks OK for that purpose.

A serial console works differently from a VGA console.

When you plug in a VGA cable, you'll instantly see the whole screen, including the sum total of all the updates that have happened while the display was disconnected.

On a serial console, you'll get nothing at all. Usually you have to press Enter or some other key once or twice to make the console "wake up". At that point, either the MP or the HP-UX process running on the console will send something back. Usually it'll be a login prompt.

If there is no response, try pressing Control-B: that should switch you to the MP mode, which allows you to check if the server is powered down or if the HP-UX is hung (by checking the VFP).

The only way to see messages that were sent to the serial console while the cable was disconnected is to use the CL (Console Log) function of the MP.

MK
MK
Miguel Silva Rentes
Regular Advisor

Re: connection to MP using console serial port

Hi everyone,

Unfortunately, Ctrl-B doesn't work either. I've attached two images using minicom (that shows my configuration) and another one that shows minicom when I connect to the server. I can't issue any command at all inside minicom.

When I use "cu -l /dev/ttyUSB0 -s 9600" I get this:

miguel@c32868:~$ cu -l /dev/ttyUSB0 -s 9600
Connected.

When I send a "~" it's waiting for some command:

~[c32868]

but Ctrl-B doesn't work at all. It only outputs this:

[Unrecognized. Use ~~ to send ~]

Any ideas?

Thank you for your help, nevertheless.

Regards,

Miguel Rentes
Torsten.
Acclaimed Contributor

Re: connection to MP using console serial port

I think the connected means connected to the port, not the device (not really sure).

You can try to attach the cable to your PC only, the other end open and see if you get the "connected" again.

Do you use a null modem cable?

I used different USB -> serial converters before, some really doesn't work at all.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Miguel Silva Rentes
Regular Advisor

Re: connection to MP using console serial port

Hi Torsten,

I'm pretty sure I'm using a null modem cable (it's a Lorenz Bell null modem cable :)), but I'm unsure if the usb-serial converter is working as it should. It has a led that flashes whenever I issue a command and I thought "it's working..." but now I'm not so sure about it.

I only connected to my pc and left the other end open as you told me and got the same:

miguel@c32868:~$ cu -l /dev/ttyUSB0 -s 9600
Connected.

Right now I'm thinking "how didn't I think of this before?" :D

So, I'm thinking this converter is not working as it should... do you have any other ideas to test this converter? Can you point me any usb-serial converter that you know it works?

Regards,

Miguel Rentes
Torsten.
Acclaimed Contributor

Re: connection to MP using console serial port

I'm sure the converter I have is no longer sold. This is the only one I know ...


Why not try to connect via LAN?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Miguel Silva Rentes
Regular Advisor

Re: connection to MP using console serial port

Ok, thank you Torsten.

I'll try to connect via LAN (I have to assign an IP first to the MP board) and post here if I have any setbacks.

Regards,

Miguel Rentes
Torsten.
Acclaimed Contributor
Solution

Re: connection to MP using console serial port

Well the default settings are to use DHCP.

But you can do this:

The IPF offline CD has a this tool

fs0:\EFI\HP\TOOLS\ilosetup> ilosetup set -l -i 15.255.96.44 -g 15.255.96.1 -s 255.255.248.0
Attempting to set iLO LAN parameters...
LAN parameters have been set.



so you can use the CD, a VGA screen and a keyboard and set this IP.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!