Hi guys
i wanted to share my setup for automatic change fans speed, frequency and possible voltage but the newest firmware for the S4 does not allow the voltage change and its stuck on 0725v.
So i have created batch file that executes in the morning to slow the fans down and downclock the frequency 187.5Mhz of my miners, and also created another batch file that executes around 17h to bring them back to normal fan mode and frequency to my choosing.
For this setup the following files are required.
1. PSCP (an SCP client, i.e. command-line secure file copy)
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html2. Plink (a command-line interface to the PuTTY back ends)
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html3. Task Scheduler you can use the windows version or the no installation file from freebyte
http://www.freebyte.com/fbtaskscheduler/4.WinScp
At first i set the required voltage and frequency on my miners and after that downloaded the cgminer.sh from /etc/init.d/ and cgminer.conf from /config and i made separate folders for every miner and put the files there.
After that i downclocked all the miners to 187.5Mhz and 0700v and also made separate folders for my slow configuration and downloaded and saved the files there (cgminer.sh and cgminer.conf) and edited the cgminer.sh to add the --bitmain-homemode option to slow the fans.
i also created commands.txt so i can work batch commands through pscp, in this file i put only the cgminer restart line (/etc/init.d/cgminer.sh restart)
Sometimes i must hard restart a miner because it hangs when changing back to normal but its not happening always i think its because of changing the frequency, or maybe i should use reboot command instead of cgminer restart. -- suggestions are welcome
In the end i put the slow.bat and normal.bat in task scheduler and choose the time when to execute.
So here is the slow.bat
@echo Making Slow Antminer 10 with freq 187.5 volt 0700
pscp.exe -scp -pw admin j:\batch\slow10\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\slow10\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making Slow Antminer 11 with freq 187.5 volt 0700
pscp.exe -scp -pw admin j:\batch\slow11\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\slow11\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making Slow Antminer 12 with freq 187.5 volt 0700
pscp.exe -scp -pw admin j:\batch\slow12\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\slow12\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making Slow Antminer 13 with freq 187.5 volt 0700
pscp.exe -scp -pw admin j:\batch\slow13\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\slow13\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making Slow Antminer 14 with freq 187.5 volt 0700
pscp.exe -scp -pw admin j:\batch\slow14\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\slow14\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
And the normal.bat
@echo Making normal Antminer 10 with freq 200 volt 0725
pscp.exe -scp -pw admin j:\batch\normal10\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\normal10\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making normal Antminer 11 with freq 200 volt 0725
pscp.exe -scp -pw admin j:\batch\normal11\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\normal11\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making normal Antminer 12 with freq 200 volt 0725
pscp.exe -scp -pw admin j:\batch\normal12\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\normal12\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making normal Antminer 13 with freq 200 volt 0725
pscp.exe -scp -pw admin j:\batch\normal13\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\normal13\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt
@echo Making normal Antminer 14 with freq 200 volt 0725
pscp.exe -scp -pw admin j:\batch\normal14\cgminer.sh
[email protected]:/etc/init.d/cgminer.sh
pscp.exe -scp -pw admin j:\batch\normal14\cgminer.conf
[email protected]:/config/cgminer.conf
plink.exe
[email protected] -pw admin -batch -m commands.txt