Discussion:
Dell DRAC and OpenBSD 4.5 -stable AMD64
Vijay Sankar
2009-07-10 01:37:23 UTC
Permalink
Hi,

I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64. I
would like to remotely access the console using an SSH session to the
DRAC IP address. I am hoping someone can help me with this.

This is what I have so far.

On the Server's Setup, under Serial Communications I have the following:

Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled

From my OpenBSD Desktop, I am able to do a ***@192.168.0.120 and get
the following:

Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)

$

I can do a "connect com2" but can't get the console text appear within
the ssh session.

I tried "set tty com1" in /etc/boot.conf and that did not work. Is it
possible to get the console send its output to com2 and have that
accessed through DRAC's IP? Or is there some other way to access the
OpenBSD console through DRAC?

Thanks very much,

Vijay
***@foretell.ca
David Gwynne
2009-07-10 04:10:16 UTC
Permalink
Post by Vijay Sankar
Hi,
I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64. I
would like to remotely access the console using an SSH session to
the DRAC IP address. I am hoping someone can help me with this.
This is what I have so far.
On the Server's Setup, under Serial Communications I have the
Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled
you need to set redirection after boot to disabled.
Post by Vijay Sankar
Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)
$
I can do a "connect com2" but can't get the console text appear
within the ssh session.
make sure you've configured the drac to support console redirection
too (this is separate to the bios config). use the following commands
to set it up:

racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000

once that is done and you have the boot.conf below, you can use
connect com2.
Post by Vijay Sankar
I tried "set tty com1" in /etc/boot.conf and that did not work. Is
it possible to get the console send its output to com2 and have that
accessed through DRAC's IP? Or is there some other way to access the
OpenBSD console through DRAC?
you need the following in boot.conf:

stty com1 115200
set tty com1
Post by Vijay Sankar
Thanks very much,
npz
Vijay Sankar
2009-07-10 09:07:56 UTC
Permalink
Thanks very much for your detailed answer. Really appreciate that. I now
see output through ssh. Unfortunately, it looks like the following:

s!!eBwRs!ow1u))BwRs!GDbu1'wd
tGsO)
g$

I tried reducing the baud rate to 9600 but then the output looked like
the following

```````````````````````````````

So then I tried each of the settings under the "Failsafe Baud Rate"
setting (57600, 19200) and those did not work either.

Is there something I should do in /etc/ttys ?

Thanks again,

Vijay
Post by David Gwynne
Post by Vijay Sankar
Hi,
I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64. I
would like to remotely access the console using an SSH session to the
DRAC IP address. I am hoping someone can help me with this.
This is what I have so far.
Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled
you need to set redirection after boot to disabled.
Post by Vijay Sankar
Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)
$
I can do a "connect com2" but can't get the console text appear
within the ssh session.
make sure you've configured the drac to support console redirection
too (this is separate to the bios config). use the following commands
racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000
once that is done and you have the boot.conf below, you can use
connect com2.
Post by Vijay Sankar
I tried "set tty com1" in /etc/boot.conf and that did not work. Is it
possible to get the console send its output to com2 and have that
accessed through DRAC's IP? Or is there some other way to access the
OpenBSD console through DRAC?
stty com1 115200
set tty com1
Post by Vijay Sankar
Thanks very much,
npz
--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: ***@foretell.ca
David Gwynne
2009-07-10 09:27:20 UTC
Permalink
i have this in /etc/ttys:

tty01 "/usr/libexec/getty std.57600" vt220 on secure

dlg
Post by Vijay Sankar
Thanks very much for your detailed answer. Really appreciate that. I
now see output through ssh. Unfortunately, it looks like the
s!!eBwRs!ow1u))BwRs!GDbu1'wd
tGsO)
g$
I tried reducing the baud rate to 9600 but then the output looked
like the following
```````````````````````````````
So then I tried each of the settings under the "Failsafe Baud Rate"
setting (57600, 19200) and those did not work either.
Is there something I should do in /etc/ttys ?
Thanks again,
Vijay
Post by David Gwynne
Post by Vijay Sankar
Hi,
I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64.
I would like to remotely access the console using an SSH session
to the DRAC IP address. I am hoping someone can help me with this.
This is what I have so far.
Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled
you need to set redirection after boot to disabled.
Post by Vijay Sankar
Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)
$
I can do a "connect com2" but can't get the console text appear
within the ssh session.
make sure you've configured the drac to support console redirection
too (this is separate to the bios config). use the following
racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000
once that is done and you have the boot.conf below, you can use
connect com2.
Post by Vijay Sankar
I tried "set tty com1" in /etc/boot.conf and that did not work. Is
it possible to get the console send its output to com2 and have
that accessed through DRAC's IP? Or is there some other way to
access the OpenBSD console through DRAC?
stty com1 115200
set tty com1
Post by Vijay Sankar
Thanks very much,
npz
--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Vijay Sankar
2009-07-10 09:46:50 UTC
Permalink
Thanks very much. I have good news to report!!! I had read FAQ7 and had
set this as

tty01 "/usr/libexec/getty std.9600" vt220 on secure

To make sure I don't waste your time (as well as the rest of the list) I
went through the settings and made sure that all settings matched. And I
now have the following:

OpenBSD/amd64 (server2.sankars.local) (tty01)

login:

This is just great!! Thanks again

Have a good day,

Vijay
Post by David Gwynne
tty01 "/usr/libexec/getty std.57600" vt220 on secure
dlg
Post by Vijay Sankar
Thanks very much for your detailed answer. Really appreciate that. I
now see output through ssh. Unfortunately, it looks like the
s!!eBwRs!ow1u))BwRs!GDbu1'wd
tGsO)
g$
I tried reducing the baud rate to 9600 but then the output looked
like the following
```````````````````````````````
So then I tried each of the settings under the "Failsafe Baud Rate"
setting (57600, 19200) and those did not work either.
Is there something I should do in /etc/ttys ?
Thanks again,
Vijay
Post by David Gwynne
Post by Vijay Sankar
Hi,
I have a Dell PE2950 server with DRAC 5 running OpenBSD 4.5 AMD64.
I would like to remotely access the console using an SSH session
to the DRAC IP address. I am hoping someone can help me with this.
This is what I have so far.
Serial Communication: On with Console Redirection via COM2
External Serial Connector: Remote Access Device
Failsafe Baud Rate: 115200
Remote Terminal Type: VT100/Vt220
Redirection after Boot: Enabled
you need to set redirection after boot to disabled.
Post by Vijay Sankar
Dell Remote Access Controller 5 (DRAC 5)
Firmware Version 1.40 (Build 08.08.22)
$
I can do a "connect com2" but can't get the console text appear
within the ssh session.
make sure you've configured the drac to support console redirection
too (this is separate to the bios config). use the following
racadm config -g cfgSerial -o cfgSerialBaudRate 115200
racadm config -g cfgSerial -o cfgSerialConsoleEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
racadm config -g cfgSerial -o cfgSerialHistorySize 2000
once that is done and you have the boot.conf below, you can use
connect com2.
Post by Vijay Sankar
I tried "set tty com1" in /etc/boot.conf and that did not work. Is
it possible to get the console send its output to com2 and have
that accessed through DRAC's IP? Or is there some other way to
access the OpenBSD console through DRAC?
stty com1 115200
set tty com1
Post by Vijay Sankar
Thanks very much,
npz
--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: ***@foretell.ca
Loading...