Hello All,
I was in a need to have ipmitool ready on OpenWRT, so I could check and manage a couple of servers remotely. I could not find a more suitable place to post the package, so here it is, if you need it, too.
http://openwrt.polyhistor.hu/ipmitool_1 … mipsel.ipk
I mainly use it to wake up a backup server regularly, etherwake worked somewhat unreliably for me (not the program, the mechanism). Example for usage:
root@kardamon:~# uname -a
Linux kardamon 2.4.34 #13 Fri Jun 1 15:51:35 CEST 2007 mips unknown
root@kardamon:~# cat /etc/openwrt_version
7.06
root@kardamon:~# ipmitool -I lan -H fokhagyma -E sdr
Power Unit | 0x00 | ok
BMC Watchdog | 0x00 | ok
Scrty Violation | 0x00 | ok
Physical Scrty | 0x00 | ok
POST Error | 0x00 | ok
Critical Int | 0x00 | ok
Memory | 0x00 | ok
Logging Disabled | 0x00 | ok
Baseboard 1.25V | 1.24 Volts | ok
Baseboard 2.5V | 2.63 Volts | ok
Baseboard 3.3V | 3.44 Volts | ok
Baseboard 3.3VSB | 3.30 Volts | ok
Baseboard 5.0V | 5.04 Volts | ok
Baseboard 12V | 12.22 Volts | ok
Baseboard -12V | -12.23 Volts | ok
Baseboard VBAT | 3.11 Volts | ok
Processor 1 VCCP | 1.49 Volts | ok
Processor 2 VCCP | 1.48 Volts | ok
SCSI CH1 TRM1 | 0x01 | ok
SCSI CH2 TRM1 | 0x01 | ok
Baseboard Temp | 32 degrees C | ok
Processor 1 Temp | 37 degrees C | ok
Processor 2 Temp | 36 degrees C | ok
Basebrd FanBoost | 32 degrees C | ok
Proc 1 FanBoost | 37 degrees C | ok
Proc 2 FanBoost | 36 degrees C | ok
Processor Fan 1 | 3390 RPM | ok
Processor Fan 2 | 3480 RPM | ok
Baseboard Fan 1 | 2430 RPM | ok
Baseboard Fan 2 | 2430 RPM | ok
Baseboard Fan 3 | 2490 RPM | ok
Baseboard Fan 4 | 1680 RPM | ok
Proc Missing | 0x00 | ok
Processor 1 Stat | 0x80 | ok
Processor 2 Stat | 0x80 | ok
DIMM 1 | 0x04 | ok
DIMM 2 | 0x04 | ok
DIMM 3 | 0x04 | ok
DIMM 4 | 0x04 | ok
DIMM 5 | 0x04 | ok
DIMM 6 | 0x04 | ok
ACPI State | 0x01 | ok
Button | 0x00 | ok
System Event | 0x00 | ok
SMI Timeout | 0x00 | ok
Sensor Failure | 0x00 | ok
NMI State | 0x00 | ok
SMI State | 0x00 | ok
root@kardamon:~#
Be warned, that only the lan interface is included in the binary! I left out all else, including lanplus, because it pulled in heavy dependencies (zlib and libopenssl).
(Last edited by Adi on 16 Jul 2007, 18:19)