Post
Topic
Board Mining software (miners)
Re: Need your help, new Linux mining distro for the Raspberry PI - MinePeon
by
Tesla71
on 07/06/2013, 06:02:38 UTC
yeah that worked, running with Block Erruptor USB now!
- compiled cgminer 3.1.1, and copied the executable to /opt/minepeon/bin
- added -S /dev/ttyUSB0 -S /dev/ttyUSB1  etc. to /usr/lib/systemd/system/cgminer.service

Can you note down exactly what you did here?  I still don't have any Eruptor's to play with but I would like to see exactly what you did (git clone, configure, service changes and everything).

Neil

Try to type it from my memory, haven't access to the Pi atm:

First I loaded cgminer 3.1.1 and compiled it:
Code:
wget http://ck.kolivas.org/apps/cgminer/3.1/cgminer-3.1.1.tar.bz2
tar xfvj cgminer-3.1.1.tar.bz2
cd cgminer-3.1.1
wget https://raw.github.com/ckolivas/cgminer/master/autogen.sh
./autogen.sh --enable-icarus
make

copied it to the original dir (saved the original executable first)
Code:
cp /root/cgminer-3.1.1/cgminer /opt/minepeon/bin/.

looked up the USB-miners
Code:
ls -la /dev/ttyUSB*

changed the script which autostarts the service
Code:
vi /usr/lib/systemd/system/cgminer.service

I only added the -S parameter for every of my miners: -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3 (right after the call for cgminer after the screen command, could post the exact content later if needed)

(thanks to platti and mr2dave for pointing me in the right direction)

I used not the newest of your images it was the one from 05/25/2013