Browse Source

update miner.sh for amd

Votre Nom 6 years ago
parent
commit
4102211278
2 changed files with 29 additions and 29 deletions
  1. 25 25
      miner.sh
  2. 4 4
      setup_amd.sh

+ 25 - 25
miner.sh

@@ -23,9 +23,9 @@ sleep 5
 
 #echo "start cpuminer."
 ## cpuminer
-#screen -dmS cpu ~/cpuminer-opt/cpuminer -a Lyra2z  -o stratum+tcp://lyra2z.eu.nicehash.com:3365/#xnsub -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1  -p password
-#screen -dmS cpu ~/cpuminer-opt/cpuminer -a x16r -o stratum+tcp://minepool.com:3636 -u RLUkvxfkNrB1egaurjGx1htrveF82hfcGF.Miner1 -p x
-#screen -dmS cpu ~/cpuminer-opt/cpuminer -a x16r -o stratum+tcp://x16r.eu.nicehash.com:3366 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -p x
+#screen -dmS cpu ~/cpuminer-opt/cpuminer -a Lyra2z  -o stratum+tcp://lyra2z.eu.nicehash.com:3365/#xnsub -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig  -p password
+#screen -dmS cpu ~/cpuminer-opt/cpuminer -a x16r -o stratum+tcp://minepool.com:3636 -u RLUkvxfkNrB1egaurjGx1htrveF82hfcGF.OpenRig -p x
+#screen -dmS cpu ~/cpuminer-opt/cpuminer -a x16r -o stratum+tcp://x16r.eu.nicehash.com:3366 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x
 
 ##------------------
 ## Other crypto coin
@@ -39,53 +39,53 @@ sleep 5
 ##-----------------------
 
 #Genoil's ethminer stratum
-#screen -dmS miner ~/ethminer -G -S eu1.ethermine.org:4444 -O 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.Miner1:x --cl-local-work 256 --cl-global-work 26384 --opencl-device 0 1 2 3 -SP 1&
+#screen -dmS miner ~/ethminer -G -S eu1.ethermine.org:4444 -O 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig:x --cl-local-work 256 --cl-global-work 26384 --opencl-device 0 1 2 3 -SP 1&
 
 #Genoil's ethminer nicehash
-#screen -dmS miner ~/ethminer -SP 2 -G -S daggerhashimoto.eu.nicehash.com:3353 -O 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 --cl-global-work 26384 --cl-local-work 256 -t 2 --opencl-device 0 1 2 3 --dag-load-mode sequential &
+#screen -dmS miner ~/ethminer -SP 2 -G -S daggerhashimoto.eu.nicehash.com:3353 -O 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig --cl-global-work 26384 --cl-local-work 256 -t 2 --opencl-device 0 1 2 3 --dag-load-mode sequential &
 
 ##------------------------------
 ##---- Claymore Dual Mining ----
 ##------------------------------
 
 ## Nicehash ETH only
-screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -epsw x -esm 3 -allpools 1 -estale 0 -gser 2 -asm 2&
+screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -epsw x -esm 3 -allpools 1 -estale 0 -gser 2 -asm 2&
 
 ## Nicehash ETH + SIA
-#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://siamining.com:7777 -dwal ef0a5c294aacac4766d13035d8e4842f54c542748f3a230115a4351af92688684a94fec1b557.Miner1 -dcoin sia -gser 2 &
+#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://siamining.com:7777 -dwal ef0a5c294aacac4766d13035d8e4842f54c542748f3a230115a4351af92688684a94fec1b557.OpenRig -dcoin sia -gser 2 &
 
 ## Nicehash ETH + lbry
-##screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://lbry.suprnova.cc:6256 -dwal wareck.2 -dpsw x -dcoin lbc
+##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://lbry.suprnova.cc:6256 -dwal wareck.2 -dpsw x -dcoin lbc
 
 ## Nicehash ETH + DCR
-#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://decred.eu.nicehash.com:3354 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -dcoin dcr
+#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://decred.eu.nicehash.com:3354 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin dcr
 
 ## Nicehash ETH + Blake
-#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -epsw x -esm 3 -allpools 1 -estale 0 -dpool startum+tcp://stratum+tcp://blake2s.eu.nicehash.com:3361 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -dcoin blake2s
+#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 startum+tcp://stratum+tcp://blake2s.eu.nicehash.com:3361 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin blake2s
 
 ## Nicehash ETH + keccak
-#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -epsw x -esm 3 -allpools 1 -estale 0 -dpool startum+tcp://stratum+tcp://keccak.eu.nicehash.com:3338 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -dcoin keccak
+#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 startum+tcp://stratum+tcp://keccak.eu.nicehash.com:3338 -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -dcoin keccak
 
 ## Nicehash ETH + PASC_Nicehash
-#screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -ewal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -epsw x -esm 3 -allpools 1 -estale 0 -dpool stratum+tcp://pascal.eu.nicehash.com:3358  -dwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -dcoin pasc
+#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.Miner1 -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.Miner1 -epsw x -esm 3 -allpools 1 -esm 3 -dpool dcr.suprnova.cc:3252 -dwal wareck.openrig -dpsw x &
+#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 &
 
 ## Ethermine ETH + lbry
-#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.Miner1 -epsw x -estale 0 -dpool stratum+tcp://lbry.suprnova.cc:6256 -dwal wareck.1 -dpsw x -dcoin lbc
+#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://lbry.suprnova.cc:6256 -dwal wareck.1 -dpsw x -dcoin lbc
 
 ## Ethermine ETH + Pascal
-#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.Miner1 -epsw x -estale 0 -dpool stratum+tcp://pasc.suprnova.cc:5279 -dwal wareck.1 -dpsw x -dcoin pasc -allpools 1
+#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://pasc.suprnova.cc:5279 -dwal wareck.1 -dpsw x -dcoin pasc -allpools 1
 
 ## Ethermine ETH + Pascal Lite
-#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.Miner1 -epsw x -estale 0 -dpool stratum+tcp://pasl.suprnova.cc:4316 -dwal wareck.1 -dpsw x -dcoin pasc -allpools 1 -asm 2 &
+#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://pasl.suprnova.cc:4316 -dwal wareck.1 -dpsw x -dcoin pasc -allpools 1 -asm 2 &
 
 ## Ethermine ETH + SIA
-#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.Miner1 -epsw x -estale 0 -dpool stratum+tcp://siamining.com:7777 -dwal ef0a5c294aacac4766d13035d8e4842f54c542748f3a230115a4351af92688684a94fec1b557.Miner1 -dcoin sia -wd 1 -gser 2 -esm 0 &
+#screen -dmS miner claymore/ethdcrminer64 -epool eu1.ethermine.org:4444  -ewal 0x345b006F98a231cD846f6a8a8151F9999bBD2f2A.OpenRig -epsw x -estale 0 -dpool stratum+tcp://siamining.com:7777 -dwal ef0a5c294aacac4766d13035d8e4842f54c542748f3a230115a4351af92688684a94fec1b557.OpenRig -dcoin sia -wd 1 -gser 2 -esm 0 &
 
 
 ##------------------
@@ -97,22 +97,22 @@ screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu
 
 ##---- Claymore Zcash ----
 # Nicehash
-#screen -dmS miner ~/claymore_zcash/zecminer64 -zpool ssl://equihash.eu.nicehash.com:33357 -zwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -zpsw x &
+#screen -dmS miner ~/claymore_zcash/zecminer64 -zpool ssl://equihash.eu.nicehash.com:33357 -zwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -zpsw x &
 
 # Flypool
-#screen -dmS miner claymore_zcash/zecminer64 -zpool ssl://eu1-zcash.flypool.org:3443 -zwal t1J4NMWTpr6WMd8arD31A3BHARAjZayq8Jq.Miner1 -zpsw x -ftime 1 -asm 2 -i 9 &
+#screen -dmS miner claymore_zcash/zecminer64 -zpool ssl://eu1-zcash.flypool.org:3443 -zwal t1J4NMWTpr6WMd8arD31A3BHARAjZayq8Jq.OpenRig -zpsw x -ftime 1 -asm 2 -i 9 &
 
 ## Bitcoin Gold
-#screen -dmS miner claymore_zcash/zecminer64 -zpool eu.btgpool.pro:3857 -zwal GYD8iwQg4EjvHZRBLa1t5Rs7k6Wn4B5sT6.Miner1 -zpsw x -tt 90 -fanmin 60 -ftime 1 -i 6 -allpools 1 &
+#screen -dmS miner claymore_zcash/zecminer64 -zpool eu.btgpool.pro:3857 -zwal GYD8iwQg4EjvHZRBLa1t5Rs7k6Wn4B5sT6.OpenRig -zpsw x -tt 90 -fanmin 60 -ftime 1 -i 6 -allpools 1 &
 
 ##-----------------
 ##----- XMR -------
 ##-----------------
 
 # Nicehash
-#screen -dmS miner claymore_xmr/nsgpucnminer -xpool stratum+ssl://cryptonight.eu.nicehash.com:33355 -xwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -xpsw x -allpools 1 -pow7 1 &
-#screen -dmS miner ./xmrig -o cryptonightv7.eu.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -p x &
-#screen -dmS miner ./xmr-stak -o cryptonightv7.eu.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -p x --use-nicehash --currency cryptonight_v7 &
+#screen -dmS miner claymore_xmr/nsgpucnminer -xpool stratum+ssl://cryptonight.eu.nicehash.com:33355 -xwal 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -xpsw x -allpools 1 -pow7 1 &
+#screen -dmS miner ./xmrig -o cryptonightv7.eu.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x &
+#screen -dmS miner ./xmr-stak -o cryptonightv7.eu.nicehash.com:3363 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x --use-nicehash --currency cryptonight_v7 &
 
 # Intense coin
 #screen -dmS miner claymore_xmr/nsgpucnminer -xpool ssl://pool.intensecoin.com:9000 -xwal iz5rRQwf4PrUVV8rNKGt3WWNhP4uJAQ1RNGw8EPEvy6NgMws3RagkpNaQX1FLsmeKjSEXCrjHFgK3h5nJV7F86hX2ckShiAck -xpsw x -allpools 1 -pow7 1
@@ -142,7 +142,7 @@ screen -dmS miner claymore/ethdcrminer64 -epool stratum+tcp://daggerhashimoto.eu
 #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.nicehash.com:3366 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.Miner1 -p x -X 256 --extranonce &
+#screen -dmS miner sgminer-x16r/sgminer -k x16r -o stratum+tcp://x16r.eu.nicehash.com:3366 -u 16F8V2EnHCNPVQwTGLifGHCE12XTnWPG8G.OpenRig -p x -X 256 --extranonce &
 
 
 echo "use 'screen -x miner' to see miner activity"

+ 4 - 4
setup_amd.sh

@@ -5,11 +5,10 @@ rdate="22/01/2019"
 remote_folder="http://wareck.free.fr/openrig"
 lsb_v="`lsb_release -r | awk '{print$2; exit}'`"
 lsb_r="`lsb_release -d | awk '{print$2" "$3}'`"
+curdir=$PWD
 
 #### OPTIONS ####
-host_name="Miner1"
-
-#choose one of this drivers
+host_name="satos1"
 #Drivers="17.50"
 #Drivers="18.20"
 Drivers="18.40"
@@ -189,7 +188,8 @@ 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 ""
-sudo -u work curl -sf http://wareck.free.fr/grinder/miner.sh.tar.xz | tar xvJ
+#sudo -u work curl -sf http://wareck.free.fr/grinder/miner.sh.tar.xz | tar xvJ
+cp $curdir/miner.sh .
 sudo chown work claymore
 sudo chown work claymore_xmr
 sudo chown work claymore_zcash