How To Setup Asic Gridseed Miners & where to buy them Part 4
by gridseeds
Part 5A.01: Pi
Part 5A: Linux
5A.01 Pi
5A.1 Linux Scrypt Mode
5A.2 Linux SHA Mode
5A.3 Linux Dual ModeRaspberry PiI’ll be hooking this up to power the Pi 3/12/2014 http://amzn.com/B00CBCGAL8 and testing out cgminer and cpuminer as well as casing and rack mounting the hosted set of devices I have.
http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf
http://elinux.org/RPi_Easy_SD_Card_Setup
Acquire an Rpi: http://www.amazon.com/s/ref=nb_sb_ss_i_0_10?url=search-alias%3Daps&field-keywords=raspberry%20pi
Dowload Raspbian from:
http://www.raspberrypi.org/downloads
http://downloads.raspberrypi.org/raspbian_latest
Extract the image file
Download SD Formatter from:
https://www.sdcard.org/downloads/formatter_4/eula_windows/
Extract and install sd formatter downloaded above.
Change the “Options” to Full and Adjust size
Confirm
If everything completed move on:
Download win32diskimager:
http://sourceforge.net/projects/win32diskimager/
http://downloads.sourceforge.net/project/win32diskimager/Archive/win32diskimager-v0.9-binary.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fwin32diskimager%2F&ts=1394574641&use_mirror=hivelocity
Extract the program and run it
I configured a few things on first boot:
Expand the image to fill the card
Change password
Change startup method (Text only)
Enable the root account
sudo passwd root *** *** exit
ssh back in as root and change the associated paths and groups
usermod -l miner pi usermod -m -d /home/miner miner groupmod -n miner pi exit
ssh back in as miner and install the pre-requisites
sudo -s apt-get update apt-get install -y build-essential libtool libcurl4-openssl-dev libncurses5-dev libudev-dev autoconf automake screen
Build cgminer:
su miner git clone https://github.com/gridseed/usb-miner/tree/master/software/cgminer mv usb-miner/software/cgminer ~ cd cgminer autoreconf -i ./configure --enable-gridseed make
Build cpu miner:
cd mv usb-miner/software/cpuminer ~ cd cpuminer ./autogen.sh ./configure make
? Profit ?