getminera / minera

Minera is a web interface to monitor and manage mining devices

Home Page:http://getminera.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

custom miner shows offline

ParaplegicRacehorse opened this issue · comments

running tpruvot/cpuminer-multi as custom. Note the terminal window top output.

screenshot-minera-20170204

Also had to pass all normal cli flags in the config window. Minera did not configure miner with pool/user/pass settings in config section.

Is this normal for custom miners?

No it isn't, please check the miner logs and let me see it.

Gonna have to wait. OS updates require that I reinstall everything. Maybe it will even fix this error. I'll let you know tomorrow. It's bedtime here.

I wonder if this next install will rewrite my ssh keys again. Grr.

How do you start it? Via Minera or manually?

The cpuminer? I start via minera. Installing minera ruins my ability to ssh from terminal, which is how I manage the rest of machine. I probably will not reinstall for that reason.

I just discovered that tprovot/cpuminer-multi, since 1.0.8, has had an API for monitoring (defaults to 127.0.0.1:4048). I assume I need to set the IP and port numbers to a range Minera looks for? Will it be the same as for bfgminer and others?

I will probably reinstall and test this out if I can figure out how/where to publish the API in a way Minera can monitor it. As for ssh keys, I'll figure something out. It bothers me a lot that Minera overwrites my existing key but it's not the end of the world. I won't do this today (probably) but I'll let you know what I discover.

I think it uses a different way to get API requests but I'm unable to test it because I'm living abroad for the next months.

Hello,
I have investigated this and I can confirm cpuminer-multi works fine on Minera but you have to configure it.
First of all, JSON file doesn't work I don't know why probably it want a different format, so disable it from Minera and put your miner command on Manual Options textarea like this:

-o stratum+tcp://<pool_url>:<pool_port> -u <pool_user> -p x --api-bind=127.0.0.1:4028

Note! You have also to use the option --api-bind because it runs by default on port 4048 while Minera get by default port 4028, this is why you didn't see anything in the dashboard.

Please let me know.

minera minera settings

Oh well RPI cpu isn't so good to ask it a lot of things to do, yes better to put Minera in a desktop or server.