Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ipmitool for windows

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.

like image 647
Ashok Vairavan Avatar asked Oct 16 '12 03:10

Ashok Vairavan


People also ask

How do I download IPMItool?

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.

What is the use of IPMItool?

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.


2 Answers

Building IPMI for Windows:

  1. Install Cygwin onto your windows system: Cygwin

    While installing Cygwin, choose gcc and crypto packages in addition to default package.

  2. Download the ipmitool source code from ipmitool
  3. Unzip, configure and build ipmitool.

    cd ipmitool-1.8.12

    ./configure --enable-intf-lanplus

    make

  4. 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

  5. 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

like image 160
Ashok Vairavan Avatar answered Oct 11 '22 16:10

Ashok Vairavan


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

like image 27
Prashanth S Avatar answered Oct 11 '22 14:10

Prashanth S