mirror of
https://github.com/That-Guy-Jack/HP-ILO-Fan-Control.git
synced 2025-04-26 12:32:28 +00:00
Update README.md
This commit is contained in:
parent
5a4022c1d6
commit
fc4e37e2d3
39
README.md
39
README.md
@ -11,53 +11,26 @@ all you need to run is the commands below.
|
||||
|
||||
1. Switch Ilo into Maintainance mode. On the Dl360p Gen8 This is located near the backplane conectors on the motherboard. (images in the images file) then reboot.
|
||||
|
||||
2. Download and copy to you server the ilo_250 Folder
|
||||
2. Download the install.sh script and Run it this will download all required files and pre moves installs the autofan.service and downloads the autofan.sh ready to be edited. if You are more advanced you can install everything sperately.
|
||||
|
||||
3. Then run These commands: (on non root users you may need to add sudo to these command)
|
||||
3. Then run The prep.sh in the ilo_250 folder ( cd /ilo_250 ) if this errors it may be beacuse the ilo isnt it maintainace (on non root users you may need to add sudo to this command)
|
||||
>
|
||||
|
||||
/etc/init.d/hp-ams stop
|
||||
|
||||
/etc/init.d/hp-health stop
|
||||
|
||||
/etc/init.d/hp-snmp-agents stop
|
||||
|
||||
rmmod hpilo
|
||||
|
||||
modprobe -r hpilo
|
||||
cd ilo_250
|
||||
|
||||
./flash_ilo4 --direct (also When Flashing the Fans may spin up to near 100% so be prepared)
|
||||
|
||||
|
||||
4. Once the flash has completed shudown your system and unplug it. Make sure to Switch the ilo back out of maintainance mode.
|
||||
|
||||
5. Create a file called autofan.service in /etc/systemd/system/ and copy this code:
|
||||
5. Configure The autofan.sh in the / directory. Replace all YOURPASSWORD, YOURUSERNAME and YOURILOIP with the correct info. Once done save and exit.
|
||||
|
||||
>
|
||||
|
||||
[Unit]
|
||||
|
||||
Description=Fan Speed Controler using autofan.sh
|
||||
|
||||
[Service]
|
||||
|
||||
Restart=always
|
||||
|
||||
RestartSec=10s
|
||||
|
||||
ExecStart=/bin/bash /autofan.sh
|
||||
|
||||
|
||||
6. Copy the Autofan.sh to the / directory
|
||||
|
||||
7. Run systemctl daemon-reload and systemctl start autofan
|
||||
7. Run systemctl daemon-reload and systemctl start autofan to activate the scripts
|
||||
|
||||
8. Create a corontab command to start the systemd service on startup: @reboot systemctl start autofan
|
||||
|
||||
9. enjoy silence : ) and if thats to fast or slow edit the autofan.sh to your needs.
|
||||
|
||||
### To-do
|
||||
- [ ] Create a Script to Install and Create fan control scripts
|
||||
- [x] Create a Script to Install and Create fan control scripts
|
||||
- [ ] Allow easier input of ILO pramaters
|
||||
|
||||
### Links and other stuff
|
||||
|
Loading…
x
Reference in New Issue
Block a user