ipmitool is used to configure ipmi driver which enables serial communication over LAN port. Is there any ipmitool for Windows? Can we download the ipmi source code and build it for Windows? Please share the instructions on how to build it Windows.
Click on the "Downloads" button to the right of the ipmitool release. Click on either the *bz or *gz version of ipmitool to download the bzipped or gzipped ipmitool source code tarball respectively.
IPMItool is a simple command-line interface that is useful for managing IPMI-enabled devices. You can use this utility to perform IPMI functions with a kernel device driver or over a LAN interface.
Building IPMI for Windows:
Install Cygwin onto your windows system: Cygwin
While installing Cygwin, choose gcc and crypto packages in addition to default package.
Unzip, configure and build ipmitool.
cd ipmitool-1.8.12
./configure --enable-intf-lanplus
make
Packaging IPMI binary and related dlls into a zip file.
mkdir ipmitool
cp ipmitool-1.8.12/src/.libs/ipmitool.exe ipmitool/
cp /bin/cygwin1.dll ipmitool/
cp /bin/ cygcrypto-1.0.0.dll ipmitool/
cp /bin/cygz.dll ipmitool/
cp /bin/cyggcc_s-1.dll ipmitool/
tar -zcvf ipmitool.tar ipmitool
Unzip the file, ipmitool.tar in your destination host. Some of the sample commands:
ipmitool.exe -I lan -U username -P password -H hosname sensor
ipmitool.exe -I lanplus -U username -P password -H hosname -C 3 sol activate
You can use MobaXterm for Windows (alternative to Cygwin) and download the ipmitool plugin for it.
http://itsaboutlinux.blogspot.nl/2016/03/ipmitool-for-mobaxterm.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With