In Part 2 of my Raspberry Pi 4 mining series, we finally get the Pi hashing!
In this video, I install CPUMiner-Multi, connect the Raspberry Pi to rt-pool, and show how to create a simple startup script so your miner can start with one command.
You’ll also see something I call:
“SPOOL UP AND CHOKE.”
HAS THERE EVER BEEN A BETTER EXPLANATION ON YOUTUBE?? I DESERVE A COFFEE: Ko-fi.com/diyelektronics
When a new miner connects to a pool, the pool doesn’t yet know your hashrate. It will often send a burst of easy shares at first (spooling up) and then quickly adjust the difficulty once it figures out your hashing power, which can look like the miner suddenly choking down.
Understanding this helps beginners avoid thinking something is broken when the miner's behavior changes.
This project is about learning Linux, understanding mining pools, and experimenting with low-power hardware like the Raspberry Pi 4.
Not about getting rich — about learning and decentralization.
Copy & Paste Setup Guide
1 Install dependencies
sudo apt install -y build-essential automake autoconf libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make git
2 Download CPUMiner
git clone https://github.com/tpruvot/cpuminer-m...
3 Enter directory
cd cpuminer-multi
4 Build the miner
./build.sh
Create a Miner Startup Script
5 Build a startup file
nano startrebel.sh
6 Paste your mining command
./cpuminer -a sha256d -o stratum+tcp://stratum.rt-pool.cc:3335 -u Rs83U3HZ7qLmnBk1n5EkEzfKcykRc1mYtQ -p x
7 Save the file
Press:
CTRL + O
CTRL + X
Make Script Executable
chmod +x startrebel.sh
Start the Miner
./startrebel.sh