Bitcoin Forum

Bitcoin => Mining support => Topic started by: Geremia on April 09, 2015, 05:35:08 AM



Title: How do I solo mine with an AntMiner?
Post by: Geremia on April 09, 2015, 05:35:08 AM
How do I solo mine with an AntMiner?

AntMiners use `cgminer`, which certainly supports GBT, but when I use `http://<my_local_net_ip>:8332/` and my `bitcoind` username and password for "Worker" and "Password," respectively, on the "Miner Configuration" tab of my AntMiner's page, the AntMiner says my "pool" is dead. `bfgminer` can connect, with RPC, to my local `bitcoind` "pool" just fine, so the issue is with AntMiner/`cgminer`.


Title: Re: How do I solo mine with an AntMiner?
Post by: -ck on April 09, 2015, 06:29:54 AM
cgminer needs a bitcoin address to mine to to be able to mine solo the way you are asking, and the antminer interface has nowhere to put that. If the particular antminer you have allows you to add arbitrary commands, you can add a --btc-address command with the address to mine to. Alternatively you can just point it at my solo pool solo.ckpool.org


Title: Re: How do I solo mine with an AntMiner?
Post by: notlist3d on April 09, 2015, 06:49:08 AM
If you look over in the pool section there are a pool or two that allow you to solo mine using them.

It will save you from running a full node and running your own.   Unless you are wanting to set it up from scratch for fun.


Title: Re: How do I solo mine with an AntMiner?
Post by: jonnybravo0311 on April 11, 2015, 04:12:19 PM
Not sure which Ant you've got, but on the S3, edit the file /etc/init.d/cgminer and add this to the PARAMS line (line 70):
Code:
--btc-address YOURADDRESS
and restart the mining process.

Another option is to setup your own pool on a server in your network... you can use ck.'s ckpool if you're on Linux... or you could configure an NOMP/MPOS/CoiniumServ/whatever pool and mine to it just like you would any other.

Or, you could save yourself the hassle and just point your miners to solo.ckpool.org :)


Title: Re: How do I solo mine with an AntMiner?
Post by: Geremia on April 11, 2015, 06:11:46 PM
edit the file /etc/init.d/cgminer and add this to the PARAMS line (line 70):
Code:
--btc-address YOURADDRESS
and restart the mining process.
interesting
thanks

My issue is that I forgot to specify -rpcallowip=<miner's_ip> to bitcoind.
you can use ck.'s ckpool if you're on Linux
Oh, nice, I am on Linux. I didn't know about ckpool. thanks


Title: Re: How do I solo mine with an AntMiner?
Post by: philipma1957 on April 11, 2015, 06:18:31 PM
edit the file /etc/init.d/cgminer and add this to the PARAMS line (line 70):
Code:
--btc-address YOURADDRESS
and restart the mining process.
interesting
thanks

My issue is that I forgot to specify -rpcallowip=<miner's_ip> to bitcoind.
you can use ck.'s ckpool if you're on Linux
Oh, nice, I am on Linux. I didn't know about ckpool. thanks

they have paid off more then 30 solo blocks.  They save you the hassle of setting up a server to run the blockcoinchain. they also are much more likely to not have a stale block.