zoukankan      html  css  js  c++  java
  • IPMItool小结

    一、ipmitool 安装步骤

      yum -y install gcc

      .tar.gz 格式解压为   tar -zxvf xx.tar.gz

      .tar.bz2 格式解压为 tar -jxvf xx.tar.bz2

      tar -jxvf ipmitool-1.8.18.tar.bz2

      cd ipmitool

      ./configure

      make install

      modprobe ipmi_devintf    #出现Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory时。

      (modprobe ipmi_si  #出现Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory时。系统版本比较旧)

      chkconfig ipmi on #添加启动项

    二、匿名用户的使用

      ipmitool -I lanplus -H IP -U "" -P "" raw 0x06 0x01

    三、Get Device ID

      ipmitool -I lanplus -H IP -U xxx -P xxx raw 0x06 0x01 (Remote)

      ipmitool raw 0x06 0x01 (Local)

      cmdtool 20 18 01(DOS or Shell)   #Netfun 左移2 bit; 0x06-->00000110左移2 bit为00011000-->18

    四、Get ME Device ID

      ipmitool -I lanplus -H IP -U xxx -P xxx -b 6 -t 2c raw 0x06 0x01

      cmdtool 2c 18 01

  • 相关阅读:
    字符串-06. IP地址转换
    字符串-05. 字符串循环左移
    字符串-04. 字符串逆序
    BZOJ 3110
    UOJ 34 fft板子
    BZOJ 2716
    BZOJ 2243
    BZOJ 3697
    BZOJ 1176
    BZOJ 2599
  • 原文地址:https://www.cnblogs.com/skyliao/p/9198412.html
Copyright © 2011-2022 走看看