Small changes and static script
This commit is contained in:
parent
c8690ce77d
commit
5e66cf53df
2 changed files with 25 additions and 3 deletions
21
R710-IPMI-TEMP/R710-IPMIStatic.sh
Executable file
21
R710-IPMI-TEMP/R710-IPMIStatic.sh
Executable file
|
|
@ -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
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue