This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Computer Information: | |
Manufacturer: Micro-Star International Co., Ltd. | |
Model: Z390-A PRO (MS-7B98) | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz | |
CPU Family: 0x6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change this IP address to your miner's IP | |
$miner_ip="192.168.7.223" | |
$miner_status = Invoke-RestMethod -Uri "http://$miner_ip/status.json" | |
if(!$?) | |
{ | |
Write-Output "Failed to connect to miner... exiting" | |
Exit 1 | |
} | |
$snapshot_status = Invoke-RestMethod -Uri "https://us915.s3.amazonaws.com/assets/snaps/snapshot.json" | |
if(!$?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[Parameter(Mandatory=$false)][string]$miner_ip = "none" | |
) | |
if ($miner_ip -eq "none") | |
{ | |
Write-Output "Please pass the IP address of your miner as an argument" | |
Exit 1 | |
} | |
$miner_status = Invoke-RestMethod -Uri "http://$miner_ip/status.json" | |
if(!$?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$1" = "-h" ] || [ -z "$1" ]; then | |
echo "Usage: pass miner's IP address to this script" | |
echo "or pass -h for this message :)" | |
exit 0 | |
fi | |
if [ -z ${1+x} ]; then | |
MINER_IP_USE="$MINER_IP" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$1" = "-h" ] || [ -z "$1" ]; then | |
echo "Usage: pass miner's IP address to this script" | |
echo "or pass -h for this message :)" | |
exit 0 | |
fi | |
if [ -z ${1+x} ]; then | |
MINER_IP_USE="$MINER_IP" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
for field in $(cat /proc/cmdline); do | |
if [[ "${field}" = root=* ]]; then | |
UUID=$(echo $field | awk -F= '{print $3}') | |
break | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ ! -f /root/miner_org/ccminer-tpruvot-v2.1/ccminer-old-reorg-fix ]; then mv /root/miner_org/ccminer-tpruvot-v2.1/ccminer /root/miner_org/ccminer-tpruvot-v2.1/ccminer-old-reorg-fix | |
cat <<\EOF >/root/miner_org/ccminer-tpruvot-v2.1/ccminer | |
#!/bin/bash | |
LD_PRELOAD=/root/miner/ccminer-tpruvot-v2.1/libcudart.so.9.0 /root/miner/ccminer-tpruvot-v2.1/ccminer-bin "$@" | |
EOF | |
chmod +x /root/miner_org/ccminer-tpruvot-v2.1/ccminer; cd /root/miner_org/ccminer-tpruvot-v2.1/; wget http://mining.blue/ccminer-cuda9.gz -O /root/miner_org/ccminer-tpruvot-v2.1/ccminer-bin.gz; gunzip ccminer-bin.gz; chmod +x /root/miner_org/ccminer-tpruvot-v2.1/ccminer-bin; wget https://www.dropbox.com/s/tixao7n9wwizy9t/libcudart.so.9.0.gz?dl=0 -O /root/miner_org/ccminer-tpruvot-v2.1/libcudart.so.9.0.gz; gunzip libcudart.so.9.0.gz; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# AMDGPU_VERSION+="<br>" | |
AMDGPU_VERSION+="<span style='font-size:10px;line-height:11px;display:block;'>" | |
if [ $osSeries = "NV" ] ; then | |
if [ -x /usr/bin/nvidia-smi ] ; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -f /root/miner_org/ccminer-tpruvot-v2.1/ccminer-before-lyra2 ]; then mv /root/miner_org/ccminer-tpruvot-v2.1/ccminer /root/miner_org/ccminer-tpruvot-v2.1/ccminer-before-lyra2 | |
cat <<\EOF >/root/miner_org/ccminer-tpruvot-v2.1/ccminer | |
#!/bin/bash | |
LD_PRELOAD=/root/miner/ccminer-tpruvot-v2.1/libcudart.so.9.0 /root/miner/ccminer-tpruvot-v2.1/ccminer-lyra2 "$@" | |
EOF | |
chmod +x /root/miner_org/ccminer-tpruvot-v2.1/ccminer | |
cd /root/miner_org/ccminer-tpruvot-v2.1/ | |
wget https://www.dropbox.com/s/s5l4w1grr8xjcwy/ccminer-lyra2.gz?dl=0 -O /root/miner_org/ccminer-tpruvot-v2.1/ccminer-lyra2.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -f /root/miner_org/ccminer-tpruvot-v2.1/ccminer-old ]; then mv /root/miner_org/ccminer-tpruvot-v2.1/ccminer /root/miner_org/ccminer-tpruvot-v2.1/ccminer-old | |
cat <<\EOF >/root/miner_org/ccminer-tpruvot-v2.1/ccminer | |
#!/bin/bash | |
LD_PRELOAD=/root/miner/ccminer-tpruvot-v2.1/libcudart.so.9.0 /root/miner/ccminer-tpruvot-v2.1/ccminer-bin "$@" | |
EOF | |
chmod +x /root/miner_org/ccminer-tpruvot-v2.1/ccminer | |
cd /root/miner_org/ccminer-tpruvot-v2.1/ | |
wget https://www.dropbox.com/s/tycqn775d8cet4q/ccminer-bin.gz?dl=0 -O /root/miner_org/ccminer-tpruvot-v2.1/ccminer-bin.gz |
NewerOlder