Hi,
I can't choose my own pool. When I set it, it seems to work for a few seconds and then defaults back to the developer's donation pool. Also, one of my miners is not reporting a hash rate. Any help would be greatly appreciated.
I had this problem myself once or twice. In order to overcome this difficulty and improve on a few other situations, I’ve been trying to attain three basic goals:
1-Rotate my pools
2-Change my blades’ frequency during the hot hours of the day
3-Remove the donation pool to prevent accidental prolonged donation
And I believe I've found a way to achieve all of this.
Basic steps:
Inside /var/www/minera/conf:Create two files:
miner_conf.json1 and
miner_conf.json2 with different sets of pools (remove the donation pool if you wish)
You can do this either by hand or via the GUI and then copy via SSH. Your choice...
Inside /etcCreate two files
rc.local1 and
rc.local2Add the appropriate command lines:
/usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-timeout=180 --freq=820 --retries=2 -c /var/www/minera/conf/miner_conf.json
and
/usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-timeout=180 --freq=840 --retries=2 -c /var/www/minera/conf/miner_conf.json
inside /binCreate two scripts
OC-morning and
OC-afternoonvi OC-morning
(add lines below)
sudo cp /var/www/minera/conf/miner_conf.json1 /var/www/minera/conf/miner_conf.json
sudo chmod 777 /var/www/minera/conf/miner_conf.json
sudo cp /etc/rc.local1 /etc/rc.local
sudo chmod 777 /etc/rc.local
sudo kill $(pidof minerd)
sudo /usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-timeout=180 --freq=820 --retries=2 -c /var/www/minera/conf/miner_conf.json
(exit and save file)
sudo chmod 777 OC-morning
vi OC-afternoon
(add lines below)
sudo cp /var/www/minera/conf/miner_conf.json2 /var/www/minera/conf/miner_conf.json
sudo chmod 777 /var/www/minera/conf/miner_conf.json
sudo cp /etc/rc.local2 /etc/rc.local
sudo chmod 777 /etc/rc.local
sudo kill $(pidof minerd)
sudo /usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-timeout=180 --freq=840 --retries=2 -c /var/www/minera/conf/miner_conf.json
(exit and save file)
sudo chmod 777 OC-afternoon
Create a cron task
crontab -e
(add lines below)
0 10 * * * /bin/OC-morning
0 18 * * * /bin/OC-afternoon
(exit and save file)
It appears to be working like a charm, rotating my pools once a day, cooling down my blades during the hottest hours of day while reducing the HWE and preventing any accidental donation.
@michelem: Sorry for this litle hack. I just want to push the system a little further. Hope you don't mind