On 2016-03-18 02:10, Phong Vo wrote:
I am following up on this.
You need to use freeipmi for inband. Ipmitools is for out-of-band only.
- Update kernel to 4.2.0-0.26.el1
$ yum install i2-tools
$ yum install freeipimi
$ insmod i2c-dev
$ i2cdetect –l
i2c-0 smbus MAILBOX I2C SMBus adapter << Use this one with freeipmi
i2c-1 i2c AST i2c bit bus I2C adapter
# Get BMC info
bmc-info --no-probing --driver-type=SSIF --driver-address=0x10 --driver-device=/dev/i2c-0 --get-device-id –debug
# Get BMC config (mainly for its IP address)
$ bmc-config --driver-type=SSIF --driver-address=0x10 --driver-device=/dev/i2c-0 -o -S Lan_Conf
I don't quite follow what the purpose of the above is, because...
user@localhost:~$ ipmitool -I lanplus -H <BMC IP address> -U admin -P password fru print
user@localhost:~$ ipmitool -I lanplus -H <BMC IP address> -U admin -P password sdr list
user@localhost:~$ ipmitool -I lanplus -H <BMC IP address> -U admin -P password sensor list
... the ipmitool commands work just fine without it.
Is the first part above purely for getting the IP address of the BMC from the local machine?
Gordan