Big eyes on Fortuna
In this short article we will look at mining Fortuna V2 using Windows WSL Ubuntu 24.04 and a Nvidia graphics card for mining with the bigeye fork of nullhaspixels fortuna miner.
Initial steps to be taken:
1. You will need to be able to reach your WSL installation from the rest of the network by enabling mirrored networking. To do this go to the folder %UserProfile% and add a file called .wslconfig with:
[wsl2]
networkingMode=mirrored
Make sure to also have an up to date wsl version as only more recent versions support mirrored network mode. Do this by going to the regular command line and add wsl — update. Also shut down wsl and start it again by running wsl — shutdown then starting up Ubuntu. See this guide if you are unsure of how to install Ubuntu on WSL. You will also need to set a firewall rule to allow incoming connections on the port you user for your miners if you are using WSL to mine to another computer.
2. You need to update to the latest Nvidia driver this should at the time of writing be the 560.94 from August 2024.
Step 1 follow this guide up to step 4
Step 2 clone bigeye
git clone https://github.com/nullhashpixel/bigeye.git
cd bigeye
Step 3 make sure you have python3 dependancies and add the virtual environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Step 4: Install OpenCL (for Nvidia Card)
apt install opencl-headers clinfo nvidia-opencl-dev
Step 5: Make the cltuna miner
cd /miner/gpu
make
Step 6: Install OpenCL on WSL Ubuntu by following this guide. (Note disable cpu by adding -DENABLE_HOST_CPU_DEVICES=0 in the step on installing POCL.
Step 7: Use the config.default in the folder /config/mainnet and rename it to config.json and add a wallet.txt to the folder with seed for a small wallet used for sending transaction (consider this wallet a compromiced wallet since you are adding seeds to the server and make sure you only have small amounts of ada for transactions on it)
Step 8: Update config with address to a local ogmios and your network miners.
Step 9: Run the miner submitting tx’s with the main folder and ./run
Step 10: Run the individual gpu miners by running from folder /miners/gpu and then ./run.