Hi Folks,

I'm trying to configure the serial port (COM1) on a ProLiant DL380-G2
for logins running OpenBSD 3.9.

In /etc/ttys:
tty00   "/usr/libexec/getty std.9600"   vt220   on  secure

# dmesg | grep com
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

I've HUP'ed init, and getty is running:
# ps ax|grep tty00
 7255 ??  I       0:00.01 /usr/libexec/getty std.9600 tty00

speed is correct:
# stty -a -f /dev/tty00
speed 9600 baud; 0 rows; 0 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
        -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
        -extproc -xcase
iflags: -istrip icrnl -inlcr -igncr -iuclc ixon -ixoff ixany imaxbel
        -ignbrk brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -onocr -onlret -olcuc oxtabs -onoeot
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;


Now the troubles...  I hooked up my trusty HP200LX (80186-based PDA), which
has a 9-pin serial cable, supports, xon/xoff, rtscts, or no flow control.
This PDA works just fine; I have used it for years on other PC serial ports.
I configured it not to do flow control.  When I hit <RETURN>, or any other
character, I just saw my characters echoed.  I disconnected it, and tested
it on another PC running linux... worked fine.  Later, I went back and
connected it to the DL380 again, hit <RETURN>, and immediately got a login
prompt.  I could log in, perform commands, etc.  Then I logged out.  After
that, it was back to the first behaviour.  Everything gets echoed, and no
login prompt comes.  I tried sending breaks (not sure if short or long), to
no avail.  It almost seems as if something else is competing for input from
tty00, and sometimes getty gets it, sometimes Mr. X.

I can kill getty, which will be restarted, but it doesn't help.

Any ideas?

Rob Urban

Reply via email to