Operating System - HP-UX
1834492 Members
2666 Online
110067 Solutions
New Discussion

L2000 serial console guidelines?

 
SOLVED
Go to solution
David Trusty
Frequent Advisor

L2000 serial console guidelines?

Hi,

I have an L2000 connected to a 700/96 serial console.

I cannot get the control keys,
or backspace key to work.

What are the guidelines (emulations, speeds, etc) for connecting a 700/96 to a L2000?

Thanks in advance!!

David
13 REPLIES 13
Michael Tully
Honored Contributor

Re: L2000 serial console guidelines?

Hi David,

You may want to set the terminal back to default settings.

Press menu key
press user system key
F8 config keys
F5 terminal config
F4 Default Settings

Only other thing you should need is to have the TERM MODE set to HP.

Once you've done this, you may need to set your terminal settings:
stty erase

Hopefully all of this should work. If not post the output of 'stty -a' and the console entry from /etc/gettydefs

Regards
Michael
Anyone for a Mutiny ?
David Trusty
Frequent Advisor

Re: L2000 serial console guidelines?

I set the defaults as you
suggested. I also set the erase
stty option.

The cursor does move back when
I use the backspace key, but the
system doesn't recognize the
backspace operation, because
if I press enter after doing
the backspacing, the shell still sees the characters I typed.

Here is the output from stty -a:

speed 9600 baud; line = 0;
rows = 0; columns = 0
min = 4; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 = ^@; swtch = ^@
stop = ^S; start = ^Q; susp ; dsusp
werase ; lnext
-parenb -parodd cs8 -cstopb hupcl cread clocal -loblk -crts
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop


Here is the data from /etc/gettydefs:
#
# This entry is used for the console
#

console # B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
# B9600 SANE CLOCAL CS8 ISTRIP IXANY TAB3 HUPCL
#Console Login: #console

#
# This entry may be used for hard-wired terminals
#

H # B9600 SANE CLOCAL CS8 IXANY TAB3
# B9600 SANE CLOCAL CS8 IXANY TAB3
#login: #H


Any ideas?

Thanks!!

David

Michael Tully
Honored Contributor
Solution

Re: L2000 serial console guidelines?

Hi David,

Not why this does not work, settings seem ok. (same as my L class) Please power off/on ther terminal. Below I've included a link to how to set up system consoles for an rp54xx (L class). Some of the settings are in fact different.

Regards
Michael

http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/A5191-96018/A5191-96018_top.html&con=/hpux/onlinedocs/A5191-96018/00/00/22-con.html&toc=/hpux/onlinedocs/A5191-96018/00/00/22-toc.html&searchterms=terminal&queryid=20030422-163313
Anyone for a Mutiny ?
David Trusty
Frequent Advisor

Re: L2000 serial console guidelines?

I tried doing the settings mentioned in the reference (EM100 mode and set backspace/del).

It still doesn't accept any
control-keys, and the backspace key is ignored by the shell.

One other thing I didn't get to mention. The terminal seems
to ignore the no-echo sequence
from the server (it always shows the password I type, when I log in).

What else should I try?

Thanks!!

David
Nitsulenko Sergey
Frequent Advisor

Re: L2000 serial console guidelines?

Hello,
It is section for terminal from my profile:
# Set up the terminal:
......
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs
echo
echo "Value of TERM has been set to \"$TERM\". "
export TERM
.....
Beside me this works at L2000.
sin
Nitsulenko Sergey
Frequent Advisor

Re: L2000 serial console guidelines?

You may try to add line:
stty -istrip
sin

Re: L2000 serial console guidelines?

Hi David,

Just a thought. Did you by any chance happen to notice any strange syntax error message while booting (syntax error in /sbin/rc or /sbin/rc.utils) or a invalid number error ??

There is an issue with December 2002 Support plus CD, the script is not run succesfuly and the terminal is not working well.

Hope this helps,
David Trusty
Frequent Advisor

Re: L2000 serial console guidelines?

I tried all these suggestions, but it still behaves the same.

There are no syntax errors in rc.log.

Also, the only way that I can simulate a ctrl-C is by pressing the "reset/break" key.

Any more ideas?

Thanks!!

David
Mark Greene_1
Honored Contributor

Re: L2000 serial console guidelines?

David,

To check some obvious stuff, are you using an HP cable from the terminal to the port?
And if not, have you verified the pin-outs on the cable ends?

Try running this to see what the system is getting why you enter a control sequence from the terminal:

while [[ 1 = 1 ]]; do
read any
echo $any|cat -v
if [[ $any = "x" ]]; then
exit
fi
done


HTH
mark
the future will be a lot like now, only later
David Trusty
Frequent Advisor

Re: L2000 serial console guidelines?

I'm using an HP cable "24542 G", connecting it directly from the back of the server to the back of the terminal.

David
David Trusty
Frequent Advisor

Re: L2000 serial console guidelines?

I also tried the script to echo
the inputs, but got nothing for any control-characters I typed.

David
harry d brown jr
Honored Contributor

Re: L2000 serial console guidelines?

(1) What are the parity settings?

(2) Do you have any other consoles that are proven to work?

(3) do you have HP maintenance? If so, call them it.

live free or die
harry
Live Free or Die
David Trusty
Frequent Advisor

Re: L2000 serial console guidelines?

I think I found the cause of the problem.

I needed to set the "modify-all" to "off" and the "SR(CH)" to "Lo".

I also set the emulation to EM220.

After that, it works fine.

Thanks!!

David