Parcourir la source

update to newNiceHash

Your Name il y a 5 ans
Parent
commit
e061316b44
3 fichiers modifiés avec 132 ajouts et 6 suppressions
  1. 1 1
      miner.sh
  2. 122 0
      miner_new.sh
  3. 9 5
      setup_amd.sh

+ 1 - 1
miner.sh

@@ -61,7 +61,7 @@ echo "start miner."
 #screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://pascal.eu.nicehash.com:3358  -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin pasc
 
 ## Ethermine ETH only
-#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -asm 2 -dcri 1 -gser 2 -dcri 1 & 
+#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -asm 2 -dcri 1 -gser 2 -dcri 1 &
 
 ## Ethermine ETH + decred
 #screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -esm 3 -allpools 1 -esm 3 -dpool dcr.suprnova.cc:3252 -dwal wareck.openrig -dpsw x &

+ 122 - 0
miner_new.sh

@@ -0,0 +1,122 @@
+#!/bin/bash
+# version 1.11 22/10/2017
+
+cd ~
+screen -S miner -X quit
+#screen -S nofee -X quit
+
+##-------AMD settings-----------
+export DISPLAY=:0
+export GPU_MAX_ALLOC_PERCENT=100
+export GPU_USE_SYNC_OBJECTS=1
+export GPU_FORCE_64BIT_PTR=1
+export GPU_MAX_HEAP_SIZE=100
+export GPU_SINGLE_ALLOC_PERCENT=100
+
+##-------MINER---------------
+echo "start miner."
+#sleep 5
+
+##---------------------------------
+##----My personal configuration----
+##---------------------------------
+
+##------------------
+## Other crypto coin
+##------------------
+
+##-----------------------
+##------ ethminer -------
+##-----------------------
+
+#Genoil's ethminer stratum
+#screen -dmS miner ~/ethminer -G stratum://0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig@eu1.ethermine.org:4444 --cl-local-work 256 --cl-global-work 26384 &
+
+#Genoil's ethminer NiceHash
+#screen -dmS miner ~/ethminer -G stratum://16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig@daggerhashimoto.eu-new.nicehash.com:3353 --cl-global-work 26384 --cl-local-work 256 --opencl-device 0 1 2 3 &
+
+##------------------------------
+##---- Claymore Dual Mining ----
+##------------------------------
+
+## Nicehash ETH only
+#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu-new.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -gser 2 -asm 1 &
+#screen -dmS miner PhoenixMiner/PhoenixMiner -pool stratum+tcp://daggerhashimoto.eu-new.nicehash.com:3353 -wal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -pass x -proto 4
+
+## Nicehash ETH + lbry
+#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu-new.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://lbry.eu.nicehash.com:3356 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig  -dpsw x -dcoin lbc
+
+## Nicehash ETH + DCR
+#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu-new.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://decred.eu-new.nicehash.com:3354 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin dcr
+
+## Nicehash ETH + Blake2s
+#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu-new.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://blake2s.eu.nicehash.com:3361 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin blake2s
+#screen -dmS miner PhoenixMiner/PhoenixMiner -pool stratum+tcp://daggerhashimoto.eu-new.nicehash.com:3353 -wal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -pass x -dpool stratum+tcp://blake2s.eu.nicehash.com:3361 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin blake2s -proto 4
+
+## Ethermine ETH only
+#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -asm 2 -dcri 1 -gser 2 -dcri 1 &
+#screen -dmS miner PhoenixMiner/PhoenixMiner -pool eu1.ethermine.org:4444  -wal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -pass x
+
+##------------------
+##----Equihash------
+##------------------
+
+##---- Claymore Zcash ----
+# Nicehash
+#screen -dmS miner ~/claymore_zcash/zecminer64 -zpool ssl://equihash.eu-new.nicehash.com:33357 -zwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -zpsw x &
+
+# Flypool
+#screen -dmS miner ~/claymore_zcash/zecminer64 -zpool ssl://eu1-zcash.flypool.org:3443 -zwal t1J4NMWTpr6WMd8arD31A3BHARAjZayq8Jq.OpenRig -zpsw x -ftime 1 -asm 2 -i 9 &
+
+##-----------------
+##----- XMR -------
+##-----------------
+
+# Nicehash
+#screen -dmS miner ~/claymore_xmr/nsgpucnminer -xpool stratum+ssl://cryptonight.eu-new.nicehash.com:33355 -xwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -xpsw x -allpools 1 -pow7 1 &
+#screen -dmS miner ./xmrig-amd -o cryptonightv7.eu-new.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x &
+#screen -dmS miner ./xmr-stak -o cryptonightv7.eu-new.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x --use-nicehash --currency cryptonight_v7 &
+
+# Nicehash cryptonight heavy
+#screen -dmS miner ./xmrig-amd -o cryptonightheavy.eu-new.nicehash.com:3364 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x -a cryptonight-heavy
+#screen -dmS miner ~/claymore_xmr/nsgpucnminer -xpool cryptonightheavy.eu-new.nicehash.com:3364 -xwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -xpsw x -allpools 1 -pow7 1&
+
+# Nicehash cryptonightv8
+#screen -dmS miner ./xmrig-amd -o stratum+tcp://cryptonightv8.eu-new.nicehash.com:3367 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x -a cryptonight --variant 2 &
+#screen -dmS miner ./xmr-stak -o stratum+tcp://cryptonightv8.eu-new.nicehash.com:3367 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x --use-nicehash --currency cryptonight_v8
+
+##--------------
+##--- Lyra2z ---
+##--------------
+
+#screen -dmS miner sgminer-msvc2015/sgminer --kernel lyra2z -o stratum+tcp://lyra2z.eu-new.nicehash.com:3365/#xnsub -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G -p x -I 12 -g 3 -w 32
+#screen -dmS miner tdxminer-v0.2.2.2/tdxminer -a lyra2z -o stratum+tcp://lyra2z.eu-new.nicehash.com:3365 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G -p x --platform=0,1,2,3 --devices=0,1,2,3
+
+##--------------
+##---  X16R  ---
+##--------------
+
+##---- RavenCoin
+#screen -dmS miner sgminer-x16r/sgminer -k x16r -o stratum+tcp://minepool.com:3636 -u RLUkvxfkNrB1egaurjGx1htrveF82hfcGF -p x -X 512 &
+
+##---- Nicehash x16r
+#screen -dmS miner sgminer-x16r/sgminer -k x16r -o stratum+tcp://x16r.eu-new.nicehash.com:3366 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x -X 256 --extranonce &
+
+##------------
+##---  BTG ---
+##------------
+#cd ~/lolMiner
+#screen -dmS miner ./lolMiner --coin AUTO144_5 --pool eu.btgpool.pro --port 1445 --user GYD8iwQg4EjvHZRBLa1t5Rs7k6Wn4B5sT6.OpenRig --pass x &
+
+##---------------
+##---  BEAM   ---
+##---------------
+
+#cd ~/lolMiner
+#screen -dmS miner ./lolMiner --coin BEAM --pool beamv2.eu-new.nicehash.com --port 3378 --user 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig --pass x --tls 0
+#screen -dmS miner ./lolMiner --coin AUTO144_5 --pool zhash.eu.nicehash.com --port 3369 --user 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig --pass x --tls 0
+
+cd gminer
+screen -dmS miner ./miner -a beamhashII --server beamv2.eu-new.nicehash.com --port 3378 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x
+
+echo "use 'screen -x miner' to see miner activity"

+ 9 - 5
setup_amd.sh

@@ -9,10 +9,10 @@ curdir=$PWD
 
 #### OPTIONS ####
 host_name="miner1"
-Drivers="17.50"
+#Drivers="17.50"
 #Drivers="18.20"
 #Drivers="18.40"
-#Drivers="18.50" #ubuntu 18.04
+Drivers="18.50" #ubuntu 18.04
 
 ROCM_="NO" #rcom compute
 ETHMine="YES"
@@ -26,6 +26,7 @@ Phoenix="YES"
 lolMiner="YES"
 Gminer="YES"
 swap_size="8" # 0/4/8/16 Go
+NewNiceHash="YES"
 
 #script_version=`grep version version.txt | awk '{ print $2 }'`
 #rdate=`grep release version.txt | awk '{ print $2 }'`
@@ -66,8 +67,12 @@ echo
 if [ $lsb_v = "18.04" ]; then  echo -e "\e[97m    Ubuntu 18.04 \e[0m\e[97m";fi
 if [ $lsb_v = "18.10" ]; then  echo -e "\e[97m    Ubuntu 18.10 \e[0m\e[97m";fi
 
-if [ $ROCM_ = "YES"  ]; then echo -e "\e[94m   AMD DRIVER + ROCm Compute firmware \e[0m\e[97m";fi
+if [ $ROCM_ = "YES"  ]; then echo -e "\e[94m    AMD DRIVER + ROCm Compute firmware \e[0m\e[97m";fi
 if [ $ROCM_ = "NO"  ]; then echo -e "\e[94m    AMD GPU PRO Drivers $amd_driver_v\e[0m\e[97m";fi
+
+echo -e ""
+
+if [ $NewNiceHash = "YES" ]; then echo -e "\e[97m    +\e[92m New NicheHash\e[0m\e[93m";fi
 if [ $ETHMine = "YES" ]; then echo -e "\e[97m    +\e[91m Etherminer \e[0m\e[97m";fi
 if [ $XMRIG_AMD = "YES" ]; then echo -e "\e[97m    +\e[91m XMRig-amd \e[0m\e[97m";fi
 if [ $XMR_STAK = "YES" ]; then echo -e "\e[97m    +\e[91m XMR-Stak \e[0m\e[97m";fi
@@ -200,7 +205,7 @@ sudo -u work curl -sf $remote_folder/miners/claymore_zcash_$claymore_zcash_v.tar
 echo ""
 sudo -u work curl -sf $remote_folder/miners/claymore_xmr_$claymore_xmr_v.tar.xz | tar xvJ
 echo ""
-cp $curdir/miner.sh .
+if [$ $NewNiceHash = "YES" ];then cp $curdir/miner_new.sh miner.sh ;else cp $curdir/miner.sh . ;fi
 sudo chown work claymore
 sudo chown work claymore_xmr
 sudo chown work claymore_zcash
@@ -227,7 +232,6 @@ if [ $Gminer = "YES"  ]
  sudo chown -R work /home/work/gminer
 fi
 
-
 if [ $ETHMine = "YES" ]
  then
  echo -e "\n\e[95mInstall Ethminer :\e[0m"