Post
Topic
Board Mining software (miners)
Re: S1 request
by
7queue
on 08/02/2015, 07:35:40 UTC
OP
I checked out the latest binary and it works great IF I mine at the Westhash or Nicehash pools, however, I am still unable to mine solo to my localhost wallet.

I have bitcoin wallet open and synched on 127.0.0.1
I went through step by step instructions on 7queue s1 binary
All good.  Green check mark on pool if I point to Westhash.
However, Antminer says my wallet pool (192.168.1.5 < my localhost ip) = dead
Bitcoin .conf - rpcallowip and rpcport are all set, server=1, listen=1
Tried portforwarding on router both on/off
Tried upnp on/off in conf file

I test mined the wallet with a CPU and a GPU from local host, all good.
But Ant S1 will not connect...
Any ideas?
Maybe a sample .conf file?



There should be a binary called: cgminer-solo in the tar file, use that for solo mining from the S1.

This is the /root/.cgminer/cgminer.conf I have used.
You will have to change the ip:port and the btc-address, note if you use the [W]rite config file from within Settings it will wipe out the btc-address
Code:
{
"pools" : [
{
"url" : "http://192.168.42.24:8330",
"user" : "L5dGAbLRTqrLzgAp",
"pass" : "q1FgTlCmXHPmV59t"
}
]
,
"api-description" : "cgminer 4.7.1m",
"api-listen" : true,
"api-mcast-addr" : "224.0.0.75",
"api-mcast-code" : "FTW",
"api-mcast-des" : "",
"api-mcast-port" : "4028",
"api-network" : true,
"api-port" : "4028",
"api-host" : "0.0.0.0",
"bitmain-cutoff" : "60",
"bitmain-options" : "115200:32:8:56:250:0981",
"bitmain-temp" : "50",
"btc-address" : "1JUFZerCHPcBn6YS1iwYYCd9hKCZ2ShHDZ",
"expiry" : "120",
"hotplug" : "5",
"log" : "5",
"queue" : "0",
"scan-time" : "60",
"shares" : "0",
"suggest-diff" : "0"
}

Edit:

I ssh into the S1 and then run ./cgminer-solo

Using the web interface to solo mine requires modification to the scripts, you should also disable the startup of cgminer and comment out the scheduled task with a #

So with your added cgminer.conf file, the cgminer-solo binary file, disabled cgminer binary and my own net setting this should allow me to solo? or is there more? also, is the bitcoin address required or can that line be deleted if i had say other coin wallets setup? does it require a coin address for the wallet to submit blocks? something like my conf below thanks.
Code:
{
"pools" : [
{
"url" : "http://192.168.1.24:8834",
"user" : "coinuser",
"pass" : "password"
}
]
,
"api-description" : "cgminer 4.7.1m",
"api-listen" : true,
"api-mcast-addr" : "",
"api-mcast-code" : "",
"api-mcast-des" : "",
"api-mcast-port" : "4028",
"api-network" : true,
"api-port" : "4028",
"api-host" : "0.0.0.0",
"bitmain-cutoff" : "60",
"bitmain-options" : "115200:32:8:56:250:0981",
"bitmain-temp" : "50",
"expiry" : "120",
"hotplug" : "5",
"log" : "5",
"queue" : "0",
"scan-time" : "60",
"shares" : "0",
"suggest-diff" : "0"
}

If you intend to point it at a local bitcoind then you need the "btc-address", it doesn't have to be in the wallet you are mining on. I have bitcoind built without a wallet that I'm using.

You might also want to use this for normal 180Gh/s  "bitmain-options" : "115200:32:8:40:350:4D81",

It's a lot easier to point it at a solo pool, https://bitcointalk.org/index.php?topic=790323.0

http://solo.ckpool.org/