Sunday, February 7, 2016

setting raspberry pi with antminer u3

Setelah beli antminer buat nambang, giliran beli raspberry agar bisa dipake terus2an tanpa off
dapat googling , setting seperti dibawah : 
sudah ane coba dan berhasil .... 


Run a fresh install of Raspbian using NOOBS, after the install type ifconfig and make a note of the IP address, so that you can remotely SSH into your Pi. Login via PuTTY with the default username/password, then raspi-config if you would like to change the hostname, default password and so on.

Now update the Pi:
sudo apt-get update
sudo apt-get upgrade


Install dependencies:
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev screen libtool automake pkg-config libjansson-dev screen

Clone cgminer from here:
git clone https://github.com/bitmaintech/cgminer

Install, configure and also enable bmsc options:
cd cgminer
sudo ./autogen.sh
export LIBCURL_CFLAGS=’-I/usr/include/curl’
sudo ./configure --enable-bmsc
sudo make


Test cgminer is working correctly by running the following (input your own pool, username and password):
sudo ./cgminer --bmsc-options 115200:0.57 -o POOL -u USERNAME -p PASSWORD --bmsc-voltage 0800 --bmsc-freq 1286

Type Q to exit cgminer...

Now, add cgminer to start automatically when the Pi is powered on and create a screen session:
sudo nano /etc/rc.local - remember, Ctrl-X to exit, then type Y and press Enter to save changes.
Add this just above exit 0, again enter your own pool, username and password:
cd /home/pi/cgminer
screen -dmS cgminer ./cgminer --bmsc-options 115200:0.57 -o POOL -u USERNAME -p PASSWORD --bmsc-voltage 0800 --bmsc-freq 1286


My Antminer U3 is running at around ~59-60Gh/s, hopefully yours should be the same. You can play around with voltage and frequencies by following the table in the official manual, found here http://bit.ly/1BMXNXL, there's no real need to change what I suggested above though. You can also SSH into your Pi at any time and run sudo screen -x cgminer to view your cgminer screen. And if your Pi is failing to communicate with your Antminer U3 via cgminer, unplug and reconnect the USB cable.

If you found this useful, I accept Bitcoin donations by following this link http://bit.ly/1GWElN4 ... Hope I helped!

0 comments:

Post a Comment