Bitcoin Forum
June 26, 2024, 08:58:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Antminer S1 SoloMining Setup/Easy Solo/Own Pool Setup!  (Read 19295 times)
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
March 12, 2014, 06:12:32 AM
Last edit: July 11, 2014, 01:37:02 PM by MrMushroom
 #1

So you got your Antminer S1 pointed it at a local wallet server and watched as every block it found was rejected?
You asked on the forum for help and nobody answered or better still suggested the above.
Follow these steps and you can mine Any Sha256 P2pool Compatible Coin (Still waiting for Peercoin) with an Antminer S1 or setup your own P2pool Pool for Scrypt Mining as long as it has a P2pool Compatible Config.
Revised 11/07/2014

First Pick the coin you wish to mine:
Download and Unpack
https://github.com/Rav3nPL/p2pool-rav
Make sure the coin you wish to mine is listed in the Directory p2pool\networks\
EG.
Code:
bitcoin.py
     
Download and Install:
Windows:(Yes only Windows I havent tested Linux though it should be the same)
* Install Python 2.7: http://www.python.org/getit/
* Install Twisted: http://twistedmatrix.com/trac/wiki/Downloads
* Install Zope.Interface: http://pypi.python.org/pypi/zope.interface/3.8.0
* Install python win32 api: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
* Install python win32 api wmi wrapper: https://pypi.python.org/pypi/WMI/#downloads

Download and Install:
Wallet Client for whatever coin you want to mine.

Run and Sync the Wallet Client.
Close the client.
Enter the Directory of the Blockchain/Wallet Dir of the Coin (Windows %AppData% or %Users%Blank%Roaming%)
Create coinname.conf EG. bitcoin.conf
Input
Code:
rpcuser=Thinkofsomething
rpcpassword=Randomlystabatkeyboard
rpcallowip=192.*.*.* #Or whatever your network is only the p2pool has to connect
rpcport=17444 #Pick Something p2pool reads the conf for all settings
port=17334 #Pick Something p2pool reads the conf for all settings

Editing p2pool Configs
Goto where you unpacked https://github.com/Rav3nPL/p2pool-rav
Find the coin you wish to mine.
Edit p2pool\networks\coiname.py

Find
Code:
WORKER_PORT = 

The above numbers is the worker port to connect miners use with the Ip address of the computer running P2pool.
Find
Code:
 PERSIST=True 
Change to:
Code:
 PERSIST=False 
Find
Code:
 BOOTSTRAP_ADDRS='A bunch of other p2pool Nodes'.split(' '),
Change to:
Code:
BOOTSTRAP_ADDRS=''.split(' '),
Save and exit.

Create a Bat in the main p2pool Dir where run_p2pool.py or anywhere if edited properly with the following.
Code:
run_p2pool.py --net Coinyourmining --give-author 0.0 --no-bugreport --disable-upnp 
Save.

Now create a shortcut for the wallet client that adds "-server"

Run Your New Shortcut.
LET IT SYNC.
Run your p2pool Bat.
Point your miners at the worker port of your Solo p2pool Node with:
Ip of the Server running p2pool and Worker port.
Code:
Eg. 192.168.1.128:9374
Address of where you want funds to go MUST NOT BE an exchange address remember this is a p2pool and payment have to mature.
Password "x"

You are now SoloMining/Running your own pool and you can check status by pointing a web browser at the worker port of the p2pool server.
Problems, things I've missed whatever just ask.

Big thanks to seocrow of litecointalk.org for giving me the idea when My Ant S1 kept rejecting blocks found.
Rav3nPL for the multiple coins in individual files now under the networks Directory.
https://www.bitmaintech.com/ for making such a good bit of hardware.









Ridicuss
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250



View Profile
April 07, 2014, 03:39:07 PM
 #2

Thanks for putting this out there. I was looking for something like this. Dont know If I will try it now but it was very nice of you to take the time. If I try and run into problems I will post again.

Regards.

Man, I wish I could change my avatar!
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
April 16, 2014, 12:52:06 PM
 #3

It has been brought to my attention that you may hit some problems with scrypt coins when you run p2pool it just barfs something about scrypt missing.
Again the following is for Windows:
Go to https://github.com/develersrl/gccwinbinaries/releases
Click the green button 'gcc-mingw-4.3.3-setup.exe'
Run the installer.
Make sure to select the radio button 'Link with MSVCR90.DLL'
Open a new command prompt in the p2pool Directory
CD to the subfolder 'litecoin_scrypt'
Run the following:
Code:
setup.py build --compile=mingw32 install 
Make sure gcc is in PATH if this command doesn't work.
If it is and still errors with "gcc not found" Reboot system.

Thanks to:
http://www.reddit.com/user/xactfoxy

KeiBui
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 21, 2014, 08:29:11 AM
 #4

Thank you. Great post
I'll try to setup a pool 2mr.
Just wonder what is the address i should use? The founded block will be saved to the bitcoin-qt with my existing address, right?
Address of where you want funds to go MUST NOT BE an exchange address remember this is a p2pool.
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
April 21, 2014, 09:00:00 AM
 #5

If you just run p2pool without a:
Code:
-a "coinaddress"
a p2pool Address is generated in the local wallet for payments when it's first run.
It just has to be an address you control (Any local wallet) for the payment to mature before you can do anything with it as it's a generated transaction.
KeiBui
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 25, 2014, 08:37:37 AM
 #6

My bitcoin.conf

rpcuser=Thinkofsomething
rpcpassword=Randomlystabatkeyboard
rpcallowip=10.1.21.21
rpcport=17444
port=17334

then my antminer config is

10.1.21.30:17334
Thinkofsomething
Randomlystabatkeyboard

run_p2pool.py --net "bitcoin" --give-author 0.0 --no-bugreport --disable-upnp -a 1LEC9LsBW1bXf9wJWjDuBKyL2fds5egQww

But the status of miner is dead.


Any problem?
KeiBui
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 25, 2014, 09:38:59 AM
 #7


2014-04-25 16:33:35.172000  Local: 0H/s in last 0.0 seconds Local dead on arriva
l: Huh Expected time to share: Huh
2014-04-25 16:33:50.226000 P2Pool: 0 shares in chain (0 verified/0 total) Peers:
 0 (0 incoming)
2014-04-25 16:33:50.226000  Local: 0H/s in last 0.0 seconds Local dead on arriva
l: Huh Expected time to share: Huh


Miner status:    
Status Alive
   
get work: 77520
   
accepted: 0
   
reject: 0
   
discarded: 6
   
diff: 6.98G
   
diff1: 61373
   
LSTime: Never


I dont know if the config is correct? Python always say that Local dead on arrival and miner seems doesnt work right
Any problem?
thnx bro
KeiBui
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 26, 2014, 03:34:24 AM
 #8

Haiz
The port is 9332 Tongue sorry guys
KeiBui
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 26, 2014, 04:16:16 AM
 #9

2014-04-26 11:13:07.921000  Local: 174GH/s in last 10.0 minutes Local dead on ar
rival: ~0.5% (0-2%) Expected time to share: 36.2 seconds
2014-04-26 11:13:07.931000  Shares: 1126 (19 orphan, 817 dead) Stale rate: ~74.2
% (71-77%) Efficiency: ~51.5% (46-57%) Current payout: 25.0325 BTC
2014-04-26 11:13:07.931000  Pool: 415GH/s Stale rate: 50.0% Expected time to blo
ck: 2.3 years
2014-04-26 11:13:13.931000 P2Pool: 290 shares in chain (294 verified/294 total)
Peers: 0 (0 incoming)
2014-04-26 11:13:13.931000  Local: 174GH/s in last 10.0 minutes Local dead on ar
rival: ~0.5% (0-2%) Expected time to share: 36.2 seconds
2014-04-26 11:13:13.931000  Shares: 1126 (19 orphan, 817 dead) Stale rate: ~74.2
% (71-77%) Efficiency: ~51.5% (46-57%) Current payout: 25.0337 BTC
2014-04-26 11:13:13.941000  Pool: 415GH/s Stale rate: 50.0% Expected time to blo
ck: 2.3 years


My result Smiley
scriptcloud
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 26, 2014, 04:16:38 AM
 #10

Thank you for the good guide!
ads2003uk
Full Member
***
Offline Offline

Activity: 176
Merit: 110


View Profile WWW
May 08, 2014, 11:52:24 AM
 #11

I'm following this guide but still keep getting: "Local: 0H/s in last 0.0 seconds Local dead on arrival"

I think I'm getting confused over the IP addresses and ports.

My conf file is as follows:

server=1
rpcuser=ads2003uk
rpcpassword=RANDOMLETTERS
rpcallowip=192.168.0.200
rpcport=17444
port=17334

My S1 pool entries are:
192.168.0.200:17334
ads2003uk
SAMERANDOMLETTERS

and still nothing, where am I going wrong?
In the past 4days between my 5 S1's I've found 2 blocks on Ghash.io (thats what the console tells me) so I'd like to have a crack at solo with them.

5 Blocks found by renting rigs @ http://tinyurl.com/qencw96
Free BitCoins every hour http://tinyurl.com/zdwezeo
Free Bitcoin Slots @ http://tinyurl.com/freeBTCslots
wemine
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
May 08, 2014, 12:00:18 PM
 #12

Strictly speaking, this can not be considered solo mining, another recent p2pool hashrate very low, so it seems worthwhile
ads2003uk
Full Member
***
Offline Offline

Activity: 176
Merit: 110


View Profile WWW
May 08, 2014, 12:15:23 PM
 #13

Strictly speaking, this can not be considered solo mining, another recent p2pool hashrate very low, so it seems worthwhile

ok, but that is not what I've asked, a guide has been written, and I'm asking for clarification.

It's not just BTC im interested in doing but other ALTcoins.

Can you assist?

5 Blocks found by renting rigs @ http://tinyurl.com/qencw96
Free BitCoins every hour http://tinyurl.com/zdwezeo
Free Bitcoin Slots @ http://tinyurl.com/freeBTCslots
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
May 08, 2014, 12:26:30 PM
 #14

I'm following this guide but still keep getting: "Local: 0H/s in last 0.0 seconds Local dead on arrival"

I think I'm getting confused over the IP addresses and ports.

My conf file is as follows:

server=1
rpcuser=ads2003uk
rpcpassword=RANDOMLETTERS
rpcallowip=192.168.0.200
rpcport=17444
port=17334

My S1 pool entries are:
192.168.0.200:17334
ads2003uk
SAMERANDOMLETTERS

and still nothing, where am I going wrong?
In the past 4days between my 5 S1's I've found 2 blocks on Ghash.io (thats what the console tells me) so I'd like to have a crack at solo with them.

Seeing there seems to be some problem getting the right info in the right spot.

Code:
server=1
rpcuser=ads2003uk
rpcpassword=RANDOMLETTERS
rpcallowip=192.168.0.200
rpcport=17444
port=17334
That goes into your "coin.conf" file.

Code:
My S1 pool entries are:
192.168.0.200:17334
ads2003uk
SAMERANDOMLETTERS

This is incorrect.
It's:
Code:
IP address of the p2pool server and its worker port. NOT the port of the wallet Client Server. You can check what port in networks.py in p2pool or it's shown when you first start p2pool.
Coinyourmining address to send payments to MUST be a local wallet
"x" as password or anything it's ignored

ads2003uk
Full Member
***
Offline Offline

Activity: 176
Merit: 110


View Profile WWW
May 08, 2014, 12:39:39 PM
 #15

Sorry about this. Guess its meant for people with a decent level of IT knowledge.


This is my networks.py:

Quote
nets = dict(
    bitcoin=math.Object(
        PARENT=networks.nets['bitcoin'],
        SHARE_PERIOD=30, # seconds
        CHAIN_LENGTH=24*60*60//10, # shares
        REAL_CHAIN_LENGTH=24*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=3, # blocks
        IDENTIFIER='fc70035c7a81bc6f'.decode('hex'),
        PREFIX='2472ef181efcd37b'.decode('hex'),
        P2P_PORT=9333,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**32 - 1,
        PERSIST=False,
        WORKER_PORT=9332,
        BOOTSTRAP_ADDRS=''.split(' '),
        ANNOUNCE_CHANNEL='#p2pool',
        VERSION_CHECK=lambda v: 50700 <= v < 60000 or 60010 <= v < 60100 or 60400 <= v,
        VERSION_WARNING=lambda v: 'Upgrade Bitcoin to >=0.8.5!' if v < 80500 else None,
    ),
)
for net_name, net in nets.iteritems():
    net.NAME = net_name


5 Blocks found by renting rigs @ http://tinyurl.com/qencw96
Free BitCoins every hour http://tinyurl.com/zdwezeo
Free Bitcoin Slots @ http://tinyurl.com/freeBTCslots
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
May 08, 2014, 12:45:23 PM
 #16

Don't be sorry we all have to learn some way.

So your info for your Ants would be:
Code:
Your S1 Mining entries would be:
192.168.0.200:9332
"ALocalBitcoinaddress"
x

ads2003uk
Full Member
***
Offline Offline

Activity: 176
Merit: 110


View Profile WWW
May 08, 2014, 01:05:52 PM
 #17

I found where I was going wrong - I thank you again.

got one ant up and running Cheesy

5 Blocks found by renting rigs @ http://tinyurl.com/qencw96
Free BitCoins every hour http://tinyurl.com/zdwezeo
Free Bitcoin Slots @ http://tinyurl.com/freeBTCslots
ads2003uk
Full Member
***
Offline Offline

Activity: 176
Merit: 110


View Profile WWW
May 08, 2014, 06:10:28 PM
 #18

I have no idea what's gone wrong but this is now what I am getting:


https://i.imgur.com/EEZ5fQP.jpg

https://i.imgur.com/G8oRJh7.jpg

5 Blocks found by renting rigs @ http://tinyurl.com/qencw96
Free BitCoins every hour http://tinyurl.com/zdwezeo
Free Bitcoin Slots @ http://tinyurl.com/freeBTCslots
creditcoin_CRD
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
May 17, 2014, 08:26:27 PM
 #19

Good job with this. Been looking for a guide for this for awhile now.
Much thanks.

shahadil
Full Member
***
Offline Offline

Activity: 202
Merit: 100


View Profile
May 26, 2014, 04:53:42 PM
 #20

if i have multiple antminers, would i enter the same local bitcoin address for all the user name's or can i have different bitcoin addresses as well? lovely guide. though encountered a few hiccups, managed to get on. was not working, but for some reason the node was taking the .conf file in the roaming directory and not the one in my other hard disk which is where bitcoin data is located. once i copied the .conf to the roaming file, it was smooth sailing after that.
Pages: [1] 2 3 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!