NOTE: This guide will only work on 32-bit installations .64Bit installation coming soon.
Well, mining with the Pis cpu seems to be less than fast, so what’s a better way to use the Pi?
Combining the pi with the Moonlander 2 is a great low power and low cost way to mine with an asic and see some decent Note returns at little power cost.
Its also super easy to get started.
First we need to update and upgrade
sudo apt-get update
sudo apt-get upgrade -y
Next we need to get the required software
sudo apt-get install -y libcurl4-gnutls-dev libjansson-dev
and sudo apt-get install
build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev libhidapi-dev
Now lets make the directory and move into it
mkdir -p moonlander; cd moonlander
Now lets get the miner software and unpack it
tar -xzf bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz
Okay, so the Raspberry Pi might be able to run a single moonlander2 however for the best performance you will need a powered USB hub. Here’s a good one on Amazon
Lets make our mining script
sudo nano start_moonlander2.sh
to mine on farm.cryptocrop.net we’d use
./bfgminer –scrypt -o stratum+tcp://farm.cryptocrop.net -u NdZAnxMc57m2uaTEqcxkvF7AHiy1ULbwC8 -p x -S MLD:all –set MLD:clock=625
now hit ctrlx +y to save the script.
Now to start mining all you need to do is run
I had trouble running the miner, however by running sudo ./start_moonlander2.sh everything started hashing away.
Happy mining. If you have any issues feel free to reach out to me on Note or twitter @john8chop