What kind of hardware are you running?
On a HP server with ILO you can use the hponcfg utility that comes with the HP utility bundle (e.g. if you installed it with an HP-branded ISO):
# /opt/hp/tools/hponcfg -g
HP Lights-Out Online Configuration utility
Version 4.0-12 (c) Hewlett-Packard Company, 2011
Firmware Revision = 1.51 Device type = iLO 4 Driver name = hpilo
iLO IP Address: 10.2.1.11
Host Information:
Server Name: someesxihost.local
Server Serial Number: xxxxxxxx
Otherwise you probably have to resort to compiling the ipmi binary yourself as explained in the link above.