Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aix 4.3.3 stty echo problem.

Status
Not open for further replies.

oldnixguy

Technical User
Sep 13, 2006
13
US
I'm looking to disable what appears to be a double echo on a serial port. I'm pretty sure I used to know how to do this, but I guess my brain is slipping ...

Any thoughts, pointers would be appreciated!

Here is my setup...

I have a M80 with a RAN attached. I'm attempting to set up a new port and have been trying to test it. The RAN ports are connected to a Lantronix 32 port terminal server.

I can telnet to the appropriate port on the terminal server and get the login prompt. Entering user id I get a double echo. Same with password and everything after that. I can run stty -echo and things look good. Below is the output of stty -a < /dev/tty5. I've tried adding the -echo to attributes for RUN and for LOGIN (individually and seperately) but can't manage to get it right.

I've validated that all possible "echo" configurations within the line and tunnel of the Lantronix terminal servers are off.


root 14966 1 0 Oct 12 - 0:00 /usr/sbin/getty /dev/tty1
root 15504 1 0 Oct 12 - 0:00 /usr/sbin/getty /dev/tty3
root 15740 1 0 Oct 12 - 0:00 /usr/sbin/getty /dev/tty2
root 16544 1 0 Dec 11 - 0:00 /usr/sbin/getty /dev/console
root 51344 1 0 13:58:29 4 0:00 /usr/sbin/getty /dev/tty4
root 82920 1 0 10:06:37 5 0:00 /usr/sbin/getty /dev/tty5


# stty -a < /dev/tty5
speed 9600 baud; 0 rows; 0 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^A; eol = ^@
eol2 = ^?; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -iuclc
-ixon -ixany -ixoff -imaxbel
-isig -icanon -xcase -echo echoe -echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten
-opost -olcuc -onlcr -ocrnl -onocr -onlret -ofill -ofdel
 
Check to make sure that the terminal and tty settings are both set the same, to either half or full duplex.
 
Local echo is usualy a terminal not a port configuration.

Why not use the onboard S1 or S2 port for your terminal server connection, then you can access the service processor menus as well for upgrades and power on options, checking the service processor logs if it wont boot, etc.

If the system has a local tty console I'd leave it on S1 and connect the terminal server to S2.

If you can get to the machine and you have a dumb terminal then connect it to the port your terminal server is on to see if you still get the local echo problem, if so it is probably the tty settings, if not it is a terminal server setting problem.
 
Thanks all ... Turns out that the priority this was, isn't any more ... I'm going to file this away in case it becomes a priority again..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top