7 serial over lan, Serial over lan – Kontron IPMI Firmware User Manual
Page 19

D R A F T — F O R I N
T E R N A L U S E O N L Y
19
www.kontron.com
User Guide
IPMI Fimware
To enable LAN support after parameter setup the following command must be issued:
Please note that the following commands must use the IP address which belongs to the enabled channel.
The open-source tool “ipmitool” can serve as a control program and user interface for this. “ipmitool”
allows the issuing of generic IPMI commands such as:
or to call complex functions like “mc info”:
This uses many generic IPMI commands to get the information needed.
7.7 Ser ial Over L AN
Serial over LAN (SOL) connects the COM1 or /dev/ttyS0 respectively of the board's payload side to an
Ethernet channel. The IPMI controller resides between this serial interface and one of the Ethernet
channels. It serves as an encoder and a decoder for the RMCP+ protocol used and controls the data
stream. Outside the CompactPCI board/AMC module, for example, the open-source tool “ipmitool” can
be used to drive the SOL session, i.e. it offers a console function to communicate via Ethernet with the
board’s serial interface.
The IPMI firmware supports only “straight password authentication” SOL sessions with default privi-
lege level USER.
Opening an SOL session requires special parameters as shown below:
The serial interface can be used as a connection, for example:
»
to a user program on the board’s payload
»
to the uEFI BIOS. Refer to the Main Setup menu, Console Redirection function in the uEFI
BIOS chapter of the respective User Guide for further information. The serial parameters can
be set via this function.
»
to a Linux login console. This can be activated after payload start, for example, by the com-
mand:
ipmitool lan set
ipmitool -I lan -H 192.168.3.189 -U admin -P admin -A PASSWORD raw 6 1
ipmitool -I lan -H 192.168.3.189 -U admin -P admin -A PASSWORD mc info
ipmitool -I lanplus -H 192.168.3.189 -U admin -P admin -L USER -C 0 sol
activate
getty -h 115200 /dev/ttyS0