apt update
apt install build-essential libglvnd-dev pkg-config
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.57.02/NVIDIA-Linux-x86_64-470.57.02.run
apt update
apt install build-essential libglvnd-dev pkg-config
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.57.02/NVIDIA-Linux-x86_64-470.57.02.run
The output below is from a host behind a firewall
user@rig04:~$ cat reverse_ssh.sh
#!/bin/bash
COMMAND="ssh -p8022 -N -f -R 0.0.0.0:18022:localhost:22 user1@host1
pgrep -f -x "$COMMAND" > /dev/null 2>&1 || $COMMAND
user1/host1 are in host accessible from the internet, public key authenticaion.
EthMan uses raw TCP/IP connections (not HTTP) for remote management and statistics. Optionally, "psw" field is added to requests is the password for remote management is set for miner. | |
The following commands are available (JSON format): | |
---------------- | |
REQUEST: | |
{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"} | |
RESPONSE: | |
{"result": ["9.3 - ETH", "21", "182724;51;0", "30502;30457;30297;30481;30479;30505", "0;0;0", "off;off;off;off;off;off", "53;71;57;67;61;72;55;70;59;71;61;70", "eth-eu1.nanopool.org:9999", "0;0;0;0"]} |
#!/usr/bin/env python3 | |
import socket | |
import json | |
import time | |
import os | |
import sys | |
# reset if mh drops below this num | |
min_hashes=61900 |
Recently I got my hands on this fairly new card at a "decent" price. These notes are mainly for myself, but comments are welcome.
I switched to ubuntu 18.04.1 with out any problem, to use lastest stable version of etherminer 0.15 CUDA-9.2 is required. Package names are different for driver version 396 to get the package name use:
#!/usr/bin/python3 | |
import os | |
import signal | |
import subprocess | |
import sys | |
import time | |
try: | |
TIMEOUT_NO_ACTIVITY_SECONDS = int(os.getenv('TIMEOUT_NO_ACTIVITY_SECONDS', 60)) |