Closed cltsang closed 6 years ago
Is it the latest Minera image with PHP7.0?
Yes it is the latest image i.e. minera-0.9.0.img. When I run the miner directly from ssh with the same parameters, at least there are some output showing hash rate, ~500kH/s per CPU
That's weird could you try to add also --api-remote
and please tell me the exact command used to run it.
Thanks for the quick response. I don't have a raspberry pi with me now though. Will try tomorrow
The exact command was
./cpuminer-multi -o stratum+tcp://sg.stratum.slushpool.com:3333 -u cltsang.worker1 -p x -a sha256d --api-bind 127.0.0.1:4028
It's the same after adding --api-remote; everything on the dashboard just stays busy.
from http://pi.ip/minera/index.php/app/stats `
Severity: Warning
Message: Creating default object from empty value
Filename: models/util_model.php
Line Number: 149
Thanks for feedback, so I just fixed the bug that shows the PHP warning, you can update the code with:
cd /var/www/minera
sudo git fetch --all && sudo git reset --hard origin/master
But unfortunately it seems that cpuminer-multi
has a different kind of API output that Minera can't read correctly and I'm currently abroad without the ability to put my hands on it.
I will keep this open so I could look at it as soon as I will come back home, but I don't think it will be before 1 month or so.
Thank you. It maybe a bit off-topic, but I'm only trying out cpuminer-multi just because the default miners could not seem to start without a dedicated ASIC. I've tried the upstream cpuminer too, but it seems the api is also incompatible. If I'm willing to try writing a custom model for a software miner that is the closest to working on raspberry pi with minera, do you have any advice on which software miner I should target?
You are right, no one of the actual built-in miners are working with CPU, they are for ASIC only. The https://github.com/tpruvot/cpuminer-multi could be a good starting point if you need it.
Greetings.
I'm trying to setup mining on raspberry 3 without extra hardware. I've compiled cpuminer-multi locally, and put the binary in /var/www/minera/minera-bin/custom. The custom miner could start without problem.
With the parameter --api-bind=127.0.0.1:4028, Minera could see the miner is running, but the dashboard just keeps loading forever. Even the system temperature shows only the busy indicator. Real time log shows nothing too.
I'm wondering if it's api compatibility problem between Minera and cpuminer-multi? Thanks