Raspberry Pi + ASICMiner USB Block Erupter

Raspberry Pi + AsicMiner USB Block Errupter
Raspberry Pi + AsicMiner USB Block Erupter

I listed below the things you need to do to run your own BitCoin miner using AsicMiner USB Block Erupter on Raspberry Pi. Make sure you already have a working Raspberry Pi and it has Internet access.


Update your Raspberry Pi
$ sudo apt-get update

Install the dependencies
$ sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev

Download the CGMiner package
$ wget http://ck.kolivas.org/apps/cgminer/3.1/cgminer-3.1.1.tar.bz2

Extract
$ tar xvf cgminer-3.1.1.tar.bz2
$ cd cgminer-3.1.1

Configure
$ ./configure --enable-icarus

Compile
$ make

Create cgminer.conf configuration file with this
{
"pools" : [
{
"url" : "PoolAddress:Port",
"user" : "UserName.WorkerName",
"pass" : "Password"
}
]
,
"api-listen" : true,
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"log" : "5",
"no-pool-disable" : true,
"queue" : "2",
"scan-time" : "60",
"worktime" : true,
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"api-allow" : "0/0",
"icarus-options" : "115200:1:1",
"icarus-timing" : "3.0=100"
}

Locate the AsicMiner USB device path
$ ls /dev/*USB*

If you don’t have your own pool, you may register and use http://mining.bitcoin.cz
"http://stratum.bitcoin.cz:3333"

Then run your and start mining!
$ sudo ./cgminer-3.1.1/cgminer --config /home/pi/cgminer.conf -S /dev/ttyUSB0
Once running, the green LED will turnoff and the small LED will blink once in a while. Let me know if it works okay!?

 

Links:

One Reply to “Raspberry Pi + ASICMiner USB Block Erupter”

Comments are closed.