Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: miaviator on July 11, 2014, 07:48:40 PM



Title: Unicorn Hasher/LeaseRig.net Zeus Blizzard Setup on RasPi
Post by: miaviator on July 11, 2014, 07:48:40 PM

Code:
sudo -s
apt-get -y update
apt-get -y upgrade
apt-get install -y build-essential libtool libcurl4-openssl-dev libncurses5-dev libudev-dev autoconf automake screen
exit

Code:
git clone https://github.com/zeusminer/cgminer_zeus.git
cd cgminer_zeus
autoreconf -fvi
./configure
make

Code:
tail -f /var/log/syslog
### Unplug and replug miner:
### Find the USB #
Code:
Jul 11 14:38:13 raspberrypi kernel: [ 3069.845376] usb 1-1.3: USB disconnect, device number 5
Jul 11 14:38:13 raspberrypi kernel: [ 3069.846021] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
Jul 11 14:38:13 raspberrypi kernel: [ 3069.846120] cp210x 1-1.3:1.0: device disconnected
Jul 11 14:38:25 raspberrypi kernel: [ 3081.852221] usb 1-1.3: new full-speed USB device number 8 using dwc_otg
Jul 11 14:38:25 raspberrypi kernel: [ 3081.959029] usb 1-1.3: New USB device found, idVendor=10c4, idProduct=ea60
Jul 11 14:38:25 raspberrypi kernel: [ 3081.959065] usb 1-1.3: New USB device strings: Mfr=1, Product=2,SerialNumber=3
Jul 11 14:38:25 raspberrypi kernel: [ 3081.959082] usb 1-1.3: Product: CP2102 USB to UART Bridge Controller
Jul 11 14:38:25 raspberrypi kernel: [ 3081.959096] usb 1-1.3: Manufacturer: Silicon Labs
Jul 11 14:38:25 raspberrypi kernel: [ 3081.959110] usb 1-1.3: SerialNumber: 0001
Jul 11 14:38:25 raspberrypi kernel: [ 3081.967520] cp210x 1-1.3:1.0: cp210x converter detected
Jul 11 14:38:25 raspberrypi kernel: [ 3082.062242] usb 1-1.3: reset full-speed USB device number 8 using dwc_otg
Jul 11 14:38:25 raspberrypi kernel: [ 3082.166868] usb 1-1.3: cp210x converter now attached to ttyUSB0

CTRL + C to exit

Launch File
Code:
cd
cat > mine.sh << EOF
#!/bin/bash
DIR=/home/pi/cgminer_zeus
SCR=miner


GENERAL="--nocheck-golden --chips-count 6 --ltc-clk 328 -S /dev/ttyUSB0"
API="--api-listen --api-allow W:23.236.58.114,W:127.0.0.1 --api-network --api-port 4028"
POOLA="-o stratum+tcp://ltc.ghash.io:3333 -u miaviator.bitcointalk -p x"
POOLB="-o stratum+tcp://multi.ghash.io:3333 -u miaviator.bitcointalk -p x"
screen -x $SCR -X quit
rm /home/pi/cgminer/cgminer.conf
rm $DIR/cgminer.conf

cd $DIR
screen -dmS $SCR ./cgminer $API $GENERAL $POOLA $POOLB --hotplug=1

exit 0;
EOF


./mine.sh to run the miner
screen -x to connect
CTRL + A + D to disconnect and leave the miner running.