Unsolved
This post is more than 5 years old
1 Message
0
13367
September 26th, 2012 04:00
DRAC console access using com2 displays garbage characters
We have written an expect script to connect to Dell Drac and reimage the box using image (pxe).
Implementation Details(in expect script) : ssh to admin@hostname-c Enter the password send command to reboot the host connect com2 (this will redirect the console output of host to terminal) wait for the message "F12 PXE" and send "F12".
Issue Description: At times, on connecting to com2, the console starts displaying garbage characters. Hence our scripts are failing.
Any help to resolve this issue are much appreciated.
Thanks, Dinesh



DELL-Jonathan S
153 Posts
1
September 26th, 2012 09:00
Hi Dinesh,
From the sound of it the terminal emulation mode might not match on the server and client. Some emulation modes may overlap for a subset of standard/printable characters and it will appear to work correctly until a control or formatting character comes across. Have you made sure these match? You can check inside the BIOS/System Setup under Serial Communication > Remote Terminal Type. The options are VT100/VT220 and ANSI. The shell invoking SSH will need to have the TERM environment variable set to match, "vt100" or "ansi". Does that seem to have any impact?