Closed ErgoProxy1337 closed 2 years ago
Hi, do you get any error when running the command ?
also setting your fan p 3 max 255 is the equivalent of setting the fan to max speed
Try running this and see if it makes a difference
sshpass -p myIloPw ssh myIloUsr@MyIloIp 'fan p 3 max 30'
Jack
Hi. No, no error here. It just takes like 2 secs until I can type again and thats it. Seams like he would rly do something but no full speed fans to hear there...
And yes, I know about 255 = max :) its just for testing purposes. As I said, ssh ilouser@iloip & ilopw then fan p 3 max 255 works for me and the fans starts to spin at full speed. Seams only like sshpass isnt working... mhm
Hi, running the SSH pass command doesn't output anything to the console when you run it, the fans will only ramp to 100% if the default fan control requires it, and did you try changing 255 to a lower number (20-30) and checking the fan speed on the ILO to see if it does any thing.
Let me know what happens as the script works fine on both of my hp servers (dl380p g8 and dl360p g8)
Jack
If possible can you send some pastes of the console and screen shots of the ILO interface so I can help trouble shoot this?
Yes, ofc I tried all this before I wrote here :)
As u can see.. unchanged trough sshpass
Sorry For the late responce ive just been settin up a new Server with the fan script and noted that the fans only seem to be controled by the script when run via the service
Sorry For the late responce ive just been settin up a new Server with the fan script and noted that the fans only seem to be controled by the script when run via the service
Hi and np. What do u exactly mean?
Sorry for the confusion when i ran it without the service i forgot to do chmod +x autofan.sh
meaning the script didn't run correctly,
Ill make a Custom version of the script with log points to see if the script is running properly,
Also can you grab the latest version of the fan scripts as removing the double brackets stops the script from working)
Hi there. Sadly the sshpass is not working for me on proxmox. Any idea?
I even executed it manually like
sshpass -p myIloPw ssh myIloUsr@MyIloIp 'fan p 3 max 255'
but seams not to work. Only when I connect over ssh directly and use thefan p 3 max 255
it works.