-=HowTo=- Install FutureBit Moonlander 2 USB Scrypt BFGminer with RaspberryPi 3

in raspberry •  2 years ago  (edited)

Install BFGMiner5.4.2 for FutureBit Moonlander 2 USB Scrypt miner on Raspberry Pi3 

Open terminal 

 First steps: update and upgrade of system and required packages:  

sudo apt-get update
sudo apt-get upgrade -y

Mandatory packages to run BFGMiner for Moonlander 2:  

  • libcurl4-gnutls-dev: URL transfer library BFGMiner
  • libjansson-dev: JSON Library for BFGMiner 
sudo apt-get install -y libcurl4-gnutls-dev libjansson-dev

 Make directory moonlander2 and move into it

mkdir -p moonlander2; cd moonlander2
wget https://github.com/jstefanop/bfgminer/releases/download/bfgminer-5.4.2-futurebit2/bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz

Now decompress file  and move into 

tar -xzf bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz
cd bfgminer_5.4.2-futurebit2_linux_armv6


Test if the Binary can be executed :  

./bfgminer --help

Software is running good now connect your Moonlander 2 in a Powered USB Hub 1A+ per port ( 5W-10W)

This Anker 60W USB3 Hub can support up-to 4x sticks


Edit start_moonlander2.sh file to match your pool and payout

Official Support page


BFGMiner Releases


*** Modified version from Bitshopper

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

To download latest Beta 2 version for FBML2

sudo wget https://github.com/jstefanop/bfgminer/releases/download/bfgminer-5.4.2-futurebit2-beta2/bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz

Description :

This update fixes a few bugs and adds better support for multiple sticks on a hub. The update is recommended for everyone since it adds much needed low level restart logic. Anytime your sticks go dead for whatever reason bfgminer will automatically restart them. This works a majority of the time as long as the ASIC has not hard-locked which would require a complete un-plug/re-plug. This will not fix any issues related to your USB hub not providing adequate power to the USB miner.

Watch latest release here :

I would need the moonlander 2 to be set into a PI without any monitor (just gonna connect it to the wall). Is this possible without interface? I can connect from Putty but I want to "set and forget". Any guides for that? :D