Skip to content
Home » Mining » Page 2

Mining

Cryptocurrency Mining Information, How-To’s, Tips, Tools, and Guides

RESTORE MINING WALLETS IN WINDOWS 10

The most recent Windows 10 update, went through my computer and started tagging many of my crypto wallets as threats, then it automatically quarrantined them. HUGE FAIL by Microsoft. I did not want their Defender app enabled after the update. I did not want it to scan my system.

To restore your newly quarrantined items, do the following:

Open Windows Security
Select Virus & threat protection
Click Protection history
In the list of all recent items, filter the Quarantined Items
Click all of the newly identified and restore

That’s it! Thanks for reading

REMOTE SUPPORT THROUGH CHROME REMOTE DESKTOP

Teamviewer has been a constant headache in 2020. So I have had to find a teamviewer replacement…and have found Chrome Remote Desktop. So far my experience has been good. Quick, easy install. I can still remotely manage my mining rigs. This guide shows how I connect to a system that runs during the day for a dedicated user (who owns it), and mines at night. When he has an issue, he contacts me and we setup a Chrome Remote Desktop support session using the following excerpt from this link https://support.google.com/chrome/answer/1649523?co=GENIE.Platform%3DDesktop&hl=en

Share your computer with someone else

You can give others remote access to your computer. They’ll have full access to your apps, files, emails, documents and history.

  1. On your computer, open Chrome.
  2. In the address bar at the top, type remotedesktop.google.com/support, and press Enter.
  3. Under “Get Support, “ click Download Download page.
  4. Follow the onscreen directions to download and install Chrome Remote Desktop.
  5. Under “Get Support,” select Generate Code.  
  6. Copy the code and send to the person you want to have access to your computer.
  7. When that person enters your access code on the site, you will see a dialog with their e-mail address. Select Share to allow them full access to your computer.
  8. To end a sharing session, click Stop Sharing.

The access code will only work one time. If you are sharing your computer, you will be asked to confirm that you want to continue to share your computer every 30 minutes.

USING ‘SCREEN’ ON A HEADLESS MINER

To set the stage, my mining rigs are setup on Ubuntu 20.04, with NVidia 1080Ti Cards, and they are headless systems. On these systems, I use Putty to connect to them, and run them. You will notice that when you close putty, your miner will stop mining. Which can be a pain, because who wants to always have a Putty connection to their miner, especially when it is a headless system.

A fun little program that I have used for years and never thought of mentioning, is called Screen. Screen allows you to run your headless mining system, without putty being constantly attached, or having a keyboard / mouse / monitor attached.

To enable screen, you can do the following once you are logged in through putty
sudo bash
apt-get update
apt-get install screen

If you are running Ubuntu 20.04 you may find that it is already installed. If it is installed, to run it, simply do the following
screen ./program-name
and the program will run

For me I use it to run my custom mining scripts, so I will cd to the directory, and run
screen ./etc.sh
The mining software will start up, and I can then close Putty, and the rig will continue to mine…..

If at any time you want to reconnect to your miner to see the progress:
Open Putty
Login
Type screen -r
Press Enter
Your screen will reconnect

Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

MINING ETC ON UBUNTU WITH NVIDIA 1080TI

Recently I had to change the software on my rig. My rig is mining ETC on Ubuntu with NVidia 1080TI cards. I had to change it because claymore was not working the way it should with the site ethermine, hence the need to change mining software from claymore to ethminer. The following guide is how i did it.

Login to the headless rig
sudo bash
cd /
mkdir /miner
cd /miner
wget https://github.com/ethereum-mining/ethminer/releases/tag/v0.18.0

Once it downloads you then run
tar -zxvf *.gz
The software will unpack

cd bin
wget https://tacticalware.com/downloads/etc-ethminer.txt
mv etc.txt etc.sh
chmod +x etc.sh
nano etc.sh

Change the wallet address to your wallet
Save the file and Exit
./etc.sh

You should now be mining. Be sure to look at https://etc.ethermine.org/ and monitor your wallet to verify that it is sending data back and forth to the site. It should take about 15 minutes to show up initially, so be patient.


The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

CONNECT POWER BI TO COINMARKETCAP

Needless to say, I have been mining a while, and have some crypto that I want to keep track of. How do you do this, you ask….Well I just have to Connect Power Bi to CoinMarketCap, list my coins, and off I go. This quick and easy guide is how I will connect Power BI to CoinMarketCap.

Open Power BI
Click File
Select New
Click Get Data
Select From Web
Click Advanced
For URL Parts you will want to enter in the following:
https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest
In the HTTP request header parameters(optional) first box, type in
X-CMC_PRO_API_KEY
In the Second Box you will want to enter in your CoinMarketCap API Key

To get the API Key, use the web browser on your computer (Not inside Power BI) and go to
https://pro.coinmarketcap.com/account
Sign up for an account if you don’t already have one
If you do have an account, login
Hover over the API Key box and click Copy

Back to Power BI
Now in the Second Box you will want to enter in your CoinMarketCap API Key
Click Ok
Power BI will now connect to CoinMarketCap

In Power Query
Click data
Select list
Select the To Table button
Use defaults and Click OK
In the Column header, click the button on the top right
Click (Select All Columns)
Select Ok
Click the the Column1.tags header, click the button on the top right
Select Extract Values
Hit the Drop Down
Select Comma
Click Ok
Click the the Column1.quote header, click the button on the top right
Place a checkmark next to USD
Click Ok
Click the the Click the the Column1.quote header, click the button on the top right
Place a checkmark next to USD
Click the the Click the the Column1.quote.USD header, click the button on the top
Click (Select All Columns)
Select Ok

Click the Save Icon at the top left

Click Close and Apply




Documentation on the various CoinMarketCap commands can be found at https://coinmarketcap.com/api/documentation/v1/#section/Endpoint-Overview

UBUNTU 20.04 HEADLESS MINING

This one is quick and easy guide on how to Disable the GUI, for those of you who are like me, and do not want the extra processing cycles wasted on a gui…Here you go.

Log into your system

Open a terminal

sudo bash

systemctl set-default multi-user

Reboot your computer

Voila…headless mining rig

INSTALL NVIDIA 1080TI DRIVERS ON UBUNTU 20.04

These directions are quick, easy How-To on to install Nvidia 1080TI drivers, and these next steps will give you the exact commands that I use to get the drivers installed on my headless mining rig.

Open Terminal
sudo bash
apt-get install ubuntu-drivers-common
y

Check nvidia driver version
ubuntu-drivers devices

The following will show on the screen
vendor   : NVIDIA Corporation
model    : GP102 [GeForce GTX 1080 Ti]
driver   : nvidia-driver-440-server – distro non-free
driver   : nvidia-driver-450 – distro non-free recommended
driver   : nvidia-driver-450-server – distro non-free

Select which driver you want….in my case I selected 450 server, so then I run
apt install nvidia-driver-450-server

Reboot after the install finishes

Login
Open a terminal
sudo bash
nvidia-smi

This will verify install nvidia 1080TI drivers have been installed properly

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

INSTALLING CUDA ON UBUNTU SERVER 20.04

  • Mining

In the past, installing CUDA onto Ubuntu Servers, used in mining, was a large undertaking. With the latest release of Ubuntu, everything has changed. Thankfully. Now we are able to easily go through the steps of installing cuda on ubuntu server 20.04. The steps below outline what you will need to do to make this work. I have had success installing either before, or after, I already have the 1080ti drivers on the system. It may not be the same in the future, but as of this writing today, all you have to do are the few steps below.

Open a Terminal
sudo bash
apt-get update
apt install nvidia-cuda-toolkit
y

Cuda will now run the installation. It will take a while, so sit tight. Once it is done installing cuda on ubuntu server 20.04…you are done. Enjoy!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Ethereum Classic Mining with NVidia 1080Ti and Ubuntu 18.04.03

If you need help setting up the rig, you can view one of my other articles on building the rig, adding the cards, installing the drivers and so on. This guide will help you from the point that the rig is built and you have an Ethereum Classic wallet already available.

Open a terminal

mkdir /drivers && mkdir /drivers/claymore && mkdir claymore15

cd /drivers/claymore

wget

tar zxvf *

cd “C and hit the tab key to populate the rest of the name

Press Enter

mv ./* ../claymore15

cd ../

rm -R “C and hit the tab key

Press Enter

rm *z

cd claymore15

wget https://tacticalware.com/downloads/etc.txt

mv etc.txt etc.sh

chmod +x etc.sh

nano etc.sh

Change the wallet address to your wallet

Save the file and Exit

./etc.sh

And you off and mining!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Data Leakage From Your Home/Mining Network

How to Scan and Identify Issues at the Perimeter of your Network

A question that has been asked multiple times is how do I know what my risk is at the border of my network….Miners and Wallet holders are concerned due to the increased risk of compromised wallets, and compromised mining rigs. So to answer this I will send you to a few quick places to do a spot check on your exposure.

  1. Find out your external IP by visiting
  2. Sign up for an account at Shodan.io
  3. Place your External IP in the search box on Shodan.io and see the results of your network. If there are known CVEs (vulnerabilities) on the open ports of your network, it will be displayed here. You MUST fix the issues identified by the CVEs
  4. Run a scan from outside of your network. Meaning, go visit your cousin, or some family member. Hop onto their network, and run the following nmap scan against your network. This scan is a lot more detailed, and will be a longer, slower process. But the resulting open ports and banners will give you more places to look in your quest to secure your network. Replace the xxx.xxx.xxx.xxx with your External IP. nmap -sV –script=banner xxx.xxx.xxx.xxx

There you have it. Some quick tools to see what the perimeter of your network looks like. Remember to follow up on every open port, banner, and CVE…lock your system down now before it is compromised.