Ipmitool for windows

ipmitool is used to configure the ipmi driver, which provides serial communication through the LAN port. Is there ipmitool for windows? Can we download the ipmi source code and build it for Windows? Share instructions on creating Windows.

+6
source share
3 answers

Creating IPMI for Windows:

  • Install Cygwin on your Windows system: Cygwin

    When installing Cygwin, select gcc and crypto packages in addition to the default package.

  • Download ipmitool source code from ipmitool
  • Unzip, configure, and create ipmitool.

    cd ipmitool-1.8.12

    ./configure --enable-intf-lanplus

    to do

  • Packing IPMI binaries and related libraries 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 ipmitool.tar file to the destination host. Some of the examples of commands:

    ipmitool.exe -I lan -U username -P password -H name sensor hosname

    ipmitool.exe -I lanplus -U username -P password -H hosname -C 3 sol activate

+10
source

You can use MobaXterm for Windows (an alternative to Cygwin) and download the ipmitool plugin for it.

http://itsaboutlinux.blogspot.nl/2016/03/ipmitool-for-mobaxterm.html

+1
source

Just in case, if someone else is trying to do this just recently ...

Cygwin now uses OpenSSL 1.1 and the source code is ipmitool 1.8.12 and the cygwin version mentioned in Ashok's answer above is supposed to be OpenSSL 1.0.

This may be fixed in the next release of 1.8.19, but as of 1.8.18 it is not, so you have to download the latest source from GitHub: https://github.com/ipmitool/ipmitool (they moved from SourceForge)

In addition, you need to install also from cygwin_setup:

  • Automake
  • Autoconf
  • Libtool

Then you can run

cd ipmitool-master/ ; ./bootstrap && ./configure && make 

(now the default configuration includes the lanplus plugin)

I did not try to copy the cygwin libraries to another machine as the solution mentioned, but if you want to do this, you will need cygcrypto-1.1.dll instead of 1.0 above.

0
source

Source: https://habr.com/ru/post/1439949/


All Articles