Installing and using BitCoin miners is not difficult, but I posted this to gather everything in one main page.
Update: I wrote and posted Mining with an ATI Radeon Card in Ubuntu last night. This article is for mining in Ubuntu with Nvidia cards.
Note: The main BitCoin client needs to be installed. It can be downloaded from BitCoin.org or installed from the command line in Ubuntu with the following commands:
sudo apt-add-repository ppa:stretch/bitcoin
sudo apt-get install bitcoin
Also note, I got this working with a pretty low-grade card: a Galaxy Nvidia GT 220. It’s installed on a Dell Studio XPS 5700, AMD II x4. My PC is currently using Ubuntu 10.10 64-bit with all updates.
This post is based on my short experience with BitCoin, but I hope to build upon it- I will be installing a better graphics card in a couple of days (ATI Radeon 5770).
I came across an article about BitCoin mining while trying to find information to install a certain wifi adapted in Ubuntu 10.10 64-bit. The article Free graphics card by earning bitcoins by gurrier, sounded interesting. This article is a good starting point if you have a ATI card and would like to mine.
However I did not have a ATI card, but I went ahead and installed the BitCoin client, and grabbed free Bitcoins from the BitCoin Faucet. From there I sought out instructions for using the card I currently have. The instructions that I used:
sudo apt-get install python-pyopencl subversion
tar xvf bitcoin-0.3.19-linux.tar.gz
svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
sudo python setup.py install
echo "rpcuser=un" > .bitcoin/bitcoin.conf
echo "rpcpassword=pw" >> .bitcoin/bitcoin.conf
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/BitcoinMiner.cl
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/BitcoinMiner.py
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/poclbm.py
python poclbm.py -d 0 --user un --pass pw
Make sure you start the bitcoin server with:
The problems I ran into were difficult for me to grasp. The first was easy, file not found. Just search for the appropriate script and place it in the same directory as poclbm. The other problems I’ve run into all include the flags to use on the command line.
-v is for ATI cards, so this will not work correctly with an Nvidia card. When using this switch in ignorance, by hashrate dropped signifigantly.
askrate should be 2^32 / [your hashrate].
You can also use Bitcoinpool’s modified miner with this, however I recommend monitoring that status since it throw an error after awhile.
I accept donations @ 1HXrbVT3WRqk6rHTPKKJ9ppoFbsYjmjTqX if this worked for you. If it didn’t, feel free to send me a comment.