You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------------
|
|
|
|
|
# Script for setting manual fan speed to 2160 RPM (on my R710)
|
|
|
|
|
#
|
|
|
|
|
# Requires:
|
|
|
|
|
# ipmitool – apt-get install ipmitool
|
|
|
|
|
# slacktee.sh – https://github.com/course-hero/slacktee
|
|
|
|
|
# ----------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# IPMI SETTINGS:
|
|
|
|
|
# Modify to suit your needs.
|
|
|
|
|
# DEFAULT IP: 192.168.0.120
|
|
|
|
|
IPMIHOST=10.0.0.174
|
|
|
|
|
IPMIUSER=ReekyMarko
|
|
|
|
|
IPMIPW={{@@ env['PASS_IPMI'] @@}}
|
|
|
|
|
IPMIEK=0000000000000000000000000000000000000000
|
|
|
|
|
|
|
|
|
|
printf "Activating manual fan speeds! (2160 RPM)"
|
|
|
|
|
ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK raw 0x30 0x30 0x01 0x00
|
|
|
|
|
ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK raw 0x30 0x30 0x02 0xff 0x09
|