Created
June 11, 2020 18:23
-
-
Save whalesalad/711d57bf4c3a37a5a5a5855c595fc166 to your computer and use it in GitHub Desktop.
ipmi_tool_fanspeed_r720.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install ipmitool | |
export IPMI_PASSWD="••••••••••••" | |
# List sensors | |
ipmitool \ | |
-I lanplus \ | |
-H thor-drac.ws.internal \ | |
-U root \ | |
-P $IPMI_PASSWD \ | |
sdr list | |
# List fan speeds | |
ipmitool \ | |
-I lanplus \ | |
-H thor-drac.ws.internal \ | |
-U root \ | |
-P $IPMI_PASSWD \ | |
sensor reading \ | |
"Pwr Consumption" "Fan1 RPM" "Fan2 RPM" "Fan3 RPM" "Fan4 RPM" "Fan5 RPM" "Fan6 RPM" "Inlet Temp" "Exhaust Temp" "Temp" | |
# Enable fan control | |
ipmitool \ | |
-I lanplus \ | |
-H thor-drac.ws.internal \ | |
-U root \ | |
-P $IPMI_PASSWD \ | |
raw 0x30 0x30 0x01 0x00 | |
# Set the static fan speed to desired speed (0x4) | |
ipmitool \ | |
-I lanplus \ | |
-H thor-drac.ws.internal \ | |
-U root \ | |
-P $IPMI_PASSWD \ | |
raw 0x30 0x30 0x02 0xff 0x4 | |
# Disable fan control | |
ipmitool \ | |
-I lanplus \ | |
-H thor-drac.ws.internal \ | |
-U root \ | |
-P $IPMI_PASSWD \ | |
raw 0x30 0x30 0x01 0x01 |
Author
whalesalad
commented
Jun 11, 2020
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment