minerwrangler
minerwrangler copied to clipboard
A bundle of bash scripts to make headless crypto mining on linux a simple reality. Unfortunately only NVIDIA support for now.
Get it? It's headless!
A headless driver installer & crypto miner configurator
Installation & Tutorial
MinerWrangler is the ultimate bundle of bash scripts to ease your way into cryptocurrency mining that is open-source and gives you full control over your rigs—by default. No monitor, keyboard, or mouse required. Only NVIDIA support for now.
The ultimate one-liner
git clone https://github.com/NikolaiTeslovich/minerwrangler.git && cd minerwrangler && chmod +x install1.sh && sudo ./install1.sh
Features
- [x] Simple and intuitive to use
- [x] One line to install
- [x] Full control over your rig(s)
- [x] Truly headless
- [x] Integrated with 💊 OhGodAnETHlargementPill (GTX 1080, GTX 1080Ti & TITAN Xp—GDDR5X GPUs)
"ED (Ethereum Dysfunction) affects 1 in 10 NVIDIA GPUs in North America"
- [x] Support for the latest & greatest version of Ubuntu Server LTS
- [x] Firewall is enabled by default
- [x] Command-line interface
Tested on
-
GPUs
- GTX 1080
- RTX 2080
-
Driver version
- nvidia-driver-440
- nvidia-driver-460 (default)
To do
- Run the installation in a screen session for more bullet-proofness
- Add option to automatically mine on boot
- Script to more easily configure overclocks and fan speeds
- RVN mining support
- Break down existing code in detail
- XMRig support
- AMD GPU support
- Support other miners and algorithms
Preface
NVIDIA drivers on Linux are rather finicky and do not like being overclocked without a monitor connected to them, so I had to trick them using a combination of lightdm and some other commands.
After countless hours, probably even days of banging my head against the monitor in despair to have my rigs work headlessly, and be actually be overclockable, I wanted to find a way that was simple, yet have the code and process be open-source. In contrast to operating systems like HiveOS, or NHOS, using MinerWrangler in conjunction with Ubuntu Server, you can actually understand each step of the process and have full control over your rigs as providers of the blockchain.
Credits
Threads and forums that helped massively
- OC Nvidia GTX1070s in Ubuntu 16.04LTS for Ethereum mining - tricking NVIDIA drivers into allowing headless overclocking
- How to create a bootable USB stick to flash a BIOS - updating BIOS on an old computer