Skip to content

Instantly share code, notes, and snippets.

@alexanderjsingleton
Last active July 31, 2018 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexanderjsingleton/258716733d75a76c5d8cf1486997f28a to your computer and use it in GitHub Desktop.
Save alexanderjsingleton/258716733d75a76c5d8cf1486997f28a to your computer and use it in GitHub Desktop.
Bucephalus Mine Part 2

Bucephalus Mine Part 2: How to Build a Bitcoin or Ethereum Cryptocurrency Mining Rig

Introduction

This tutorial resumes from part-1 of this series beginning with a recap of Part 1 then introduces how to set-up a Trezor cryptocurrency wallet for cold-storage, followed-by a demonstration how to money from a Trezor wallet then back to a coinbase account, and concludes with configuring the miner environment for ethOS and nanopool.

Part 1 Recap (0:00 - 11:10)

How to Set-up a Trezor Wallet and Sending Ethers to TREZOR (11:15 - 34:00)

  1. Purchase a Trezor wallet available via Amazon.
  2. Watch and follow along with my instructions via Vimeo: How to Set-Up a Trezor wallet to send/receive Ethereum..
  3. Go to myetherwallet.com
  4. In the upper right corner, make sure you are using ETH or ETC
  5. Select “Send Ether & Tokens” or “View Wallet Info”
  6. Select “TREZOR”
  7. Select “Connect TREZOR”
  8. Unlock your TREZOR with PIN (and passphrase if you have it)
  9. A list of addresses will show up. Those are your ETH addresses that TREZOR manages. Use these as the destination address when you send your ethers from other wallets / exchanges.

Sending Ethers from TREZOR (34:20 - 48:00)

  1. Go to www.myetherwallet.com
  2. In the upper right corner, make sure you are using ETH or ETC
  3. Select “Send Ether & Tokens”
  4. Select “TREZOR”
  5. Select “Connect TREZOR”
  6. Unlock your TREZOR with PIN (and passphrase if you have it)
  7. Select the account/wallet/address you want to send ethers from (balance will show on the right)
  8. Enter value, address, and select Generate Transaction
  9. Confirm on TREZOR
  10. Confirm again on MEW (select “Send Transaction”)

Preparing the Miner Environment (49:20 - 1:07:45)

Download a copy of the latest BIOS from the ASRock H110 website. Decompress the downloaded file and upload the instant-flash executable on to a USB thumb-drive (PLEASE BE SURE TO FORMAT THE USB THUMB-DRIVE FOR MS-DOS/FAT32); after uploading the file to the USB thumb-drive, set aside until the next section of the tutorial, Installing ethOS (below).

Mac Users

  1. Go to GPU Shack and purchase the latest editiion of ethOS. Download the compressed of the build to your desktop.

  2. If don't have a file-compression/decompression tool, I suggest downloading a free-copy of the unarchiver tool from the Apple App store to decompress the ethoOS file purchased/downloaded from GPU-shack. Upon downloading, extract the file from the desktop as demonstrated in this YouTube tutorial.

  3. Hit the 'CMD' + 'Spacebar' on your Mac keyboard and type 'Terminal' to launch the command-line interface, then proceed with the following executables (Please note that the above sequence of commands assumes you've successfully decompressed the ethOS file downloaded from GPUshack and that the disk syntactically match your own- please watch the tutorial for clarification):

  • diskutil list
  • sudo diskutil unmount /dev/disk2s1
  • sudo dd if=/Users/mac-username/Desktop/ethos-1.3.1.img of=/dev/disk2
  1. The above process requires about 10 minutes to succesfully burn the ethOS ISO image on to a SSD hard-drive.

Windows Users

  1. Download a copy of 7-Zip and the HDD Raw Copy Tool.
  2. After downloading ethOS from GPU shack extract the file on to your Windows Desktop.
  3. Identify the ISO image file (roughly 5 GB) and then access the HDD RAW Copy tool to burn the image on the hard-drive.

If for whatever reason my tutorial is confusing, I'll redirect you to BitsBeTrippin's YouTube for the ethOS install; he provides exemplary instructions on how to download and install ethOS on to a mining-rig.

Configuring the Motherboard BIOS

Installing ethOS (1:07:50 - 1:26:10)

After ethOS loads type the following commands as instructed within the command-line interface.

  1. Stop the miner by entering minestop
  2. For the sake of InfoSec, reset the password by typing in passwd and then the default password which is 'live', then choose a strong-password- confirm your new password by typing it again as requested.
  3. Reconfigure the remote configuration file typing vi remote.conf
  • Remove the first line within the file (Remember, this is Vim- so his the "Insert" key then remove that line by holding-down the 'Delete' key and then hit the 'Escape' + ':' + 'x' key on save or write-over the file).
  1. Update the system with sudo ethos-update
  2. Reboot the system with sudo reboot before proceeding to step 6.
  3. Update the miners with the following command sudo update-miners.
  4. Reboot the system with sudo reboot before proceeding to step 8.
  5. Access the local configure file by typing vi remote.conf.
  6. If you're building with the Radeon RX 580 cards, please update the file exactly as detailed within the markdown below, but PLEASE NOTE your ether-wallet-key, worker-name, and e-mail should be addressed according to your unique identifiers as explained in the video.
maxgputemp 85
globalminer claymore
stratumproxy enabled
proxywallet ether-address.worker-name/EMAIL

eth-us-east1.nanopool.org:9999
eth-us-west1.nanopool.org:9999

globalcore 1200
globalmem 2175
globalfan 90
  1. To save the file, hit the 'Escape' + ':' + 'x' key on save or write-over the file)

Nanopool Confirmation (1:26:10 - 1:29:46)

Conclusion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment