You can only reap what you sow


No products in the cart.

How to mine with the Moonlander 2 on the Raspberry Pi

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

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

cd bfgminer_5.4.2-futurebit2_linux_armv6


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


to mine on we’d use

./bfgminer –scrypt -o stratum+tcp:// -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 ./ everything started hashing away.

Happy mining. If you have any issues feel free to reach out to me on Note or twitter @john8chop