Title: Project: CGMiner 3.4.0 with USB Block Erupters on a 5W pogoplug mobile Post by: bitwit on August 30, 2013, 09:35:09 PM Intro
I don't know if anyone needs this, but I'm a supernoob and it took me a while to piece this together. I did not come up with any of this. I used archlinuxarm.org, archlinux.org, cgminer's readme, and some other stuff. If you deserve credit and I forgot, sorry - feel free to take it :-) Apologies if this is useless - I'm only posting because I needed a guide this simple. It's probable that no one else does. This is my first post - take it easy on me :-\ Constructive criticism is always welcome. WARNING: following these directions will void warranties, destroy cities, and ultimately cause an early apocalypse. Synopsis I wanted a standalone, low-wattage miner that could scale and was fun to experiment with. I wanted it to restart mining when interrupted. I didn't want to buy a raspberry pi because I figured I'd destroy a few pieces of technology accidentally so I opted for things I could mostly get locally. I decided on a pogoplug mobile (as of 8/30, available via ebay at $15 each free shipping) and a powered usb hub. Background
My (Humble) Setup
What I Did Step 1 - Arch Linux
Code: killall hbwd
Code: /sbin/fdisk /dev/sda
Code: cd /tmp
Code: cd alarm
Code: cd ..
Code: cd /tmp Step 2 - Install wget, screen, and base-devel
Code: pacman -S wget Step 3 - libusb/cgminer Code: cd /home
Code: CFLAGS="-O2 -Wall -march=native" LIBUSB_CFLAGS="-I./libusb/libusb-1.0.16-rc10/libusb" LIBUSB_LIBS="./libusb/libusb-1.0.16-rc10/libusb/.libs/libusb-1.0.a -ludev" ./configure --enable-icarus
Code: cgminer -o URL:PORT -u USER -p PASS --lowmem # ONE POOL OR Code: cgminer -o URL1:PORT1 -u USER1 -p PASS1 -o URL2:PORT2 -u USER2 -p PASS2 --lowmem # TWO OR MORE POOLS
Step 4 - Create startup scripts and enable them
Code: cd /home/miner
Code: #!/bin/sh
Code: cd /usr/lib/systemd/system
Code: [Unit]
Code: systemctl enable cgminer.service
Code: passwd Results When you turn the pogoplug on, it will automatically start mining. To see what's up with cgminer, ssh in and type screen -r to reattach the screen session. When you're done, Press CTRL+A then CTRL+D to detach. Hope this helps at least one person. Title: Re: Project: CGMiner 3.4.0 with USB Block Erupters on a 5W pogoplug mobile Post by: wa4hsh on September 07, 2013, 05:08:40 PM Thanks for this. I tried it and it works great. Got the pogoplug off ebay and using it with a ROSEWILL RHB-500 R that I got from Newegg. Sitting here on my desk with two USB block erupters hashing away. I know they will never pay for themselves, but it is great fun.
Title: Re: Project: CGMiner 3.4.0 with USB Block Erupters on a 5W pogoplug mobile Post by: OldGeek on September 07, 2013, 06:59:09 PM Outstanding, bitwit. This post pegged out my geek meter.
From what I can see, the overall dim of this outfit will be about the same as a Raspberry Pi at a somewhat smaller cost. I wonder if any of the older models with the wireless adapter are still around. Would be great to set this up under la esposa's dresser and let it rip. ;D Thanks for the post. /Frank |