Compare commits
2 Commits
a9c1d87b38
...
92a2df6b73
| Author | SHA1 | Date |
|---|---|---|
|
|
92a2df6b73 | |
|
|
5118268045 |
|
|
@ -0,0 +1,39 @@
|
||||||
|
---
|
||||||
|
title: Регулировка скорости вращения вентиляторов
|
||||||
|
description:
|
||||||
|
published: true
|
||||||
|
date: 2025-05-19T09:26:33.340Z
|
||||||
|
tags: ipmi, fan
|
||||||
|
editor: markdown
|
||||||
|
dateCreated: 2025-05-19T08:49:19.082Z
|
||||||
|
---
|
||||||
|
|
||||||
|
https://forums.servethehome.com/index.php?resources/supermicro-x9-x10-x11-fan-speed-control.20/
|
||||||
|
https://forums.servethehome.com/index.php?threads/supermicro-x9-x10-x11-fan-speed-control.10059/page-8
|
||||||
|
|
||||||
|
```bash
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# IPMI settings
|
||||||
|
IPMI_IP="192.168.88.221" # Replace with your BMC IP
|
||||||
|
IPMI_USER="ADMIN" # Replace with your IPMI username
|
||||||
|
IPMI_PASS="JYGEABVVCV" # Replace with your IPMI password
|
||||||
|
|
||||||
|
# Fan settings (for FAN3)
|
||||||
|
FAN_ID="0x02" # 0x02 = FAN3 (0x00=FAN1, 0x01=FAN2, etc.)
|
||||||
|
FAN_SPEED="0x32" # 0x32 = 50% (0x01=FULL, 0x24=37%, 0x16=25%)
|
||||||
|
|
||||||
|
# Set FULL
|
||||||
|
ipmitool -I lanplus -H $IPMI_IP -U $IPMI_USER -P $IPMI_PASS raw 0x30 0x45 0x01 0x01
|
||||||
|
|
||||||
|
sleep 3
|
||||||
|
|
||||||
|
# Set manual control mode
|
||||||
|
ipmitool -I lanplus -H $IPMI_IP -U $IPMI_USER -P $IPMI_PASS raw 0x30 0x70 0x66 0x01 0x00 0x16
|
||||||
|
|
||||||
|
# Set fan speed
|
||||||
|
ipmitool -I lanplus -H $IPMI_IP -U $IPMI_USER -P $IPMI_PASS raw 0x30 0x70 0x66 0x01 $FAN_ID $FAN_SPEED
|
||||||
|
|
||||||
|
# Log the action (optional)
|
||||||
|
#echo "$(date) - Set FAN3 speed to 50%" >> /var/log/fan_control.log
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue