diff --git a/R710-IPMI-TEMP/R710-IPMIStatic.sh b/R710-IPMI-TEMP/R710-IPMIStatic.sh new file mode 100755 index 0000000..1d450e9 --- /dev/null +++ b/R710-IPMI-TEMP/R710-IPMIStatic.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +# ---------------------------------------------------------------------------------- +# Script for setting manual fan speed to 2160 RPM (on my R710) +# +# Requires ipmitool – apt-get install ipmitool +# Tested on Ubuntu 17.04 +# ---------------------------------------------------------------------------------- + + +# IPMI SETTINGS: +# Modify to suit your needs. +# DEFAULT IP: 192.168.0.120 +IPMIHOST=10.0.100.20 +IPMIUSER=root +IPMIPW=calvin + +printf "Activating manual fan speeds! (2160 RPM)" | systemd-cat -t R710-IPMI-TEMP +echo "Activating manual fan speeds! (2160 RPM)" +ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW raw 0x30 0x30 0x01 0x00 +ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW raw 0x30 0x30 0x02 0xff 0x09 \ No newline at end of file diff --git a/R710-IPMI-TEMP/R710-IPMITemp.sh b/R710-IPMI-TEMP/R710-IPMITemp.sh index 27a7bcc..51a8efd 100755 --- a/R710-IPMI-TEMP/R710-IPMITemp.sh +++ b/R710-IPMI-TEMP/R710-IPMITemp.sh @@ -9,15 +9,16 @@ # ---------------------------------------------------------------------------------- -# IPMI DEFAULT R710 SETTINGS +# IPMI SETTINGS: # Modify to suit your needs. -IPMIHOST=192.168.0.120 +# DEFAULT IP: 192.168.0.120 +IPMIHOST=10.0.100.20 IPMIUSER=root IPMIPW=calvin # TEMPERATURE # Change this to the temperature in celcius you are comfortable with. -# If it goes above it will send raw IPMI command to enable dynamic fan control +# If the temperature goes above the set degrees it will send raw IPMI command to enable dynamic fan control MAXTEMP=27 # This variable sends a IPMI command to get the temperature, and outputs it as two digits.