Any chance someone can write up a step-by-step guide for getting these working on a Raspberry Pi 3B? I'm a Linux novice and most of what I see assumes a certain level of know how. I was hoping to set it up wirelessly on Minera, but at this point I'm so confused I'll take what I can get... Thanks in advance!
so you need the a foolproof copy n paste "just get it to work" description?
i'll write a short version for you that is most probably not perfect - but will most probably work.
Login to your raspberry pi with putty. (if this already is a problem - let me know). - you can as well login locally if you got keyboard and screen attached!
install neccesary library files (thanks to jstefanop for providing this info)
sudo apt install libjansson-dev libcurl4-openssl-dev
mkdir miner
this will create a directory in your home directory for bfgminer.
cd miner
now you are in the new folder with the name "miner"
wget https://github.com/jstefanop/bfgminer/releases/download/bfgminer-5.4.2-futurebit2/bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz
this will download the precompiled (ready to run) bfgminer from jstefanop.
now lets unpack this tar.gz file - this is a zipped tarball (something like a .zip file in windows - atleast similar)
tar xzfv bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz
now theres running lots of text of the files being unpacked into a folder.
lets go into the new unpacked folder!
cd bfgminer_5.4.2-futurebit2_linux_armv6
here is the complete bfgminer including a short startup script from jstefanop.
now you can either edit the existing start script by using editor of your choice - i am using nano.
nano start_moonlander2.sh
and change the pool, the username (after -u) the password (after -p) and save the file again
CTRL + o
or
STRG + o
depending on keyboard layout.
now thats its saved - quit the editor.
CTRL + X
or
STRG + x
you are ready to do a test run!
./start_moonlander2.sh
now bfgminer will start (hopefully).
if you dont want to edit existing config you can as well try this:
echo ./bfgminer --scrypt -o stratum+tcp://us.litecoinpool.org:3333 -u jstefanop.1 -p 1,d=128 -S ALL --set MLD:clock=600 >startmoonlander.sh
in this line you change the pool - the username - the password option.
this will create a new file called "startmoonlander.sh" with your options - which can be modified later.
this file cant be used right now cause it is not executable. lets change that!
chmod +x startmoonlander.sh
and now you can try your new startup script!
./startmoonlander.sh
if you encounter any errors - describe them as good as possible or show us a screenshot and i bet - we will find a solution!
Greetings - Astrali
Thank you so much for this Astrali! I have no idea what I'm doing lol This is my first time mining & using the a Rasberry Pi so it is all new to me.
I have followed your steps and also ran the update codes that RdStrckInd had mentioned on page 2. Everything went well up until the last step (running moonlander2.sh) it is saying there is an error loading the shared library, which doesn't make sense to me because I was able to locate the file and edit it in the previous step. Any help would be appreciated, thanks!