Author

Topic: Antminer schedule auto change Frequency fan speed (Read 2833 times)

newbie
Activity: 59
Merit: 0
Thanks for the info. Did you ever found a fix for the hanging at time? I'm also getting a few system hanging after the batch run. I was reading about about bitmain-homemode to slow the fan. Which file need editing for this ?

Cheers
legendary
Activity: 3808
Merit: 1723
Up to 300% + 200 FS deposit bonuses
Yeah thanks for posting this. This might come handy this summer with the heat.
full member
Activity: 162
Merit: 100
Thanks guys. Btw you can copy the files with Winscp.
legendary
Activity: 1456
Merit: 1000
Very very impressive.  Nice job writing some batch files!

Sounds like a great idea.
newbie
Activity: 59
Merit: 0
I was looking for something like this for a while ... Great work. How do you save a copy the cgminer.sh cgminer.conf to your local drive ? What is the SHH command

Thanks
donator
Activity: 792
Merit: 510
Wow!

Let us know how it perform after few days or week!  Keep us updated!

Cheers!
full member
Activity: 162
Merit: 100
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.html
2. Plink (a command-line interface to the PuTTY back ends)  http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
3. 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 Smiley

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
Quote
@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
Quote
@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
Jump to: