4. Setup (Linux
/Raspberry Pi
)
1> I
nstall
neccesary
library
files
using the following code:
sudo apt install libjansson-dev libcurl4-openssl-dev
mkdir miner
cd miner
2> N
ow
you
are
in
the
new
folder
with
the
name
“miner”
. D
ownload
the
precompiled
(ready
to run)
bfgminer
from
jstefanop
:
wget https://github.com/jstefanop/bfgminer/releases/download/bfgminer-5.4.2-futurebit2/
bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz
3> Unpack the tar.gz file:
tar xzfv bfgminer_5.4.2-futurebit2_linux_armv6.tar.gz
4> Now lets go into the new unpacked folder:
cd bfgminer_5.4.2-futurebit2_linux_armv6
5> Then edit the existing start script by using the editor of
your choice
.
6> Now you are ready to run bfgminer and start mining:
./
start_moonlander2.sh
Now bfgminer will start!
If y
ou
dont want to edit existing config you can as well try this:
echo ./bfgminer --scr
y
pt -o stratum
+
tcp:// us.litecoinpool.org:
3333
-u jstefanop.
1
-p
1,
d
=1
2
8
-
S
ALL
--set
MLD
:clock
=
6
00
>
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.
T
his file cant be used right now
be
cause it is not executable.
So
lets
change that
:
chmod
+
x startmoonlander.sh
and now you can try your new startup script
:
./startmoonlander.sh
Last updated:
31
/
10
/201
8
Page
7
of
12
MOONLANDER 2
USB Stick Miner User Guide