Pages:
Author

Topic: [Guide] Noob guide to solo mining USB Erupters with cgminer - page 3. (Read 34451 times)

legendary
Activity: 3583
Merit: 1094
Think for yourself
Does this work? Has anyone followd this guide successfully???

I haven't followed this guide per se, but I have done the process and it does work.

What exactly are you looking for in way of an answer?
sr. member
Activity: 448
Merit: 250
Does this work? Has anyone followd this guide successfully???
sr. member
Activity: 336
Merit: 250
Oops - knew I fucked something up haha
legendary
Activity: 3583
Merit: 1094
Think for yourself
What's the Bitcoin-QT flag to sign a block?  Can't seem to find the reference now.
Thanks,
Sam
hero member
Activity: 537
Merit: 524
Step 2 - Setting Bitcoin-QT as a server

Create a new txt document and enter the following into it:
Code:
daemon=1
server=1
gen=0
rpcuser=USERNAME
rpcpassword=PASSWORD
rpcallowip=127.0.0.1
rpcport=8332
Change the text USERNAME to your desired miner username and PASSWORD to your desired miner password.

'File' > 'Save As...' this file as 'Bitcoin.conf' with the file type 'All Files *.*' to the folder where Bitcoin-QT.exe executable file is:

x86 Machines:
Code:
C:\Program Files\Bitcoin
x64 Machines:
Code:
C:\Program Files (x86)\Bitcoin

The bitcoin.conf file goes in c:\users\user\Appdata\Roaming\Bitcoin and not the locations you are giving. Furthermore gen=0 is not needed because that is the default for bitcoin-qt. I also don't use daemon=1 but i'm not sure what the difference is.

Quote
Next make sure Bitcoin-QT is NOT running.

Now browse in explorer to where Bitcoin-QT.exe is and hold the shift button on your keyboard and right click on an empty part of the window. Select 'Open Command Window here' from the drop down.

This will open a CMD window already pointing to the Bitcoin folder.

Type
Code:
bitcoin-qt.exe -server

This turns your Bitcoin-QT into a mining server.

Since you already have server=1 in the config.info you don't need to add the -server flag when starting bitcoin-qt.
sr. member
Activity: 336
Merit: 250
To start:

Yes, I know the odds of finding a block solo with 5 USB Erupters is definately not in my favour.

No, I will not buy a lottery ticket instead.

This is for fun, not a quick profit.


Well, now that is out of the way I decided to go ahead and get some of my USB Erupters solo mining and after reading a heap of threads asking how to do it, and most going no where I thought I would write up a basic 'guide'

What you need for my guide:

  • cgminer http://ck.kolivas.org/apps/cgminer/ I am using version 3.6.4
  • I am using Windows 7 on this machine
  • Bitcoin-QT with the blockchain up to date - I would recommend just letting Bitcoin-QT catchup instead of the torrent available
  • Zadig Utility for Windows http://ck.kolivas.org/apps/cgminer/zadig/
  • Powered USB Hubs, or onboard USB ports that can pump out 500mA at 5VDC per port (2.5W) - leave at least 500mA of headroom with hub PSUs

Step 1 - Getting things ready

Make sure Bitcoin-QT is caught up to the network - you will have a green tick on the bottom right of the GUI when it is.

Download and run the Zadig Utility. Select your Erupters and install the 'WinUSB' driver. The Erupters should show up as CP2102 USB to UART Bridge Controller, if you don't see them click 'List All Devices' under the 'Options' menu).

Download and extract cgminer onto your computer.

Step 2 - Setting Bitcoin-QT as a server

Create a new txt document and enter the following into it:
Code:
daemon=1
server=1
gen=0
rpcuser=USERNAME
rpcpassword=PASSWORD
rpcallowip=127.0.0.1
rpcport=8332
Change the text USERNAME to your desired miner username and PASSWORD to your desired miner password.

'File' > 'Save As...' this file as 'Bitcoin.conf' with the file type 'All Files *.*' to the folder where Bitcoin-QT.exe executable file is:

Code:
c:\users\user\Appdata\Roaming\Bitcoin

Next make sure Bitcoin-QT is NOT running.

Now browse in explorer to where Bitcoin-QT.exe is and hold the shift button on your keyboard and right click on an empty part of the window. Select 'Open Command Window here' from the drop down.

This will open a CMD window already pointing to the Bitcoin folder.

Type
Code:
bitcoin-qt.exe -server

This turns your Bitcoin-QT into a mining server.

Step 3 - cgminer setup

Browse to where you extracted cgminer previously and hold the shift button on your keyboard and right click on an empty part of the window. Select 'Open Command Window here' from the drop down.

Now type in the following:
Code:
cgminer.exe -o 127.0.0.1:8332 -u USERNAME -p PASSWORD -G

And there you go! Now sit back, relax, go get a drink, go to college, get a job, meet a special person, live your life to its fullest and occasionally check how cgminer is going Tongue




Pages:
Jump to: