Bitcoin Forum
January 28, 2022, 06:37:29 AM *
News: Vote on the 2021 community awards
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [HOW-TO] Setup Profit Switching in Awesome Miner for Z9/A9 Miners  (Read 883 times)
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
June 26, 2018, 12:12:03 PM
Last edit: June 26, 2018, 05:57:14 PM by cod3gen
Merited by suchmoon (5)
 #1

HOW-TO: Getting started with Profit Switching on https://www.Powermining.pw Pool by utilizing Awesome Miner`s great resources;

This will also work on other pools, but there are very few Equihash pools out there that have Proportional(PROP) payout scheme like we have at Powermining pool. If you use this profit switching setup on a pool with PPLNS payout scheme, you may actually lower your profit greatly, since they payout based on an average of the shares you submit over the last x number of blocks.

Equihash Pool Status: https://www.powermining.pw/site/gomining?algo=equihash
Currently available Coins to mine on Powermining.pw Equihash Pool:

Zencash(ZEN):
Code:
URL: stratum+tcp://pool.powermining.pw:2142
Worker: YOUR ZENCASH WALLET ADDRESS
Password: Any password to identify your worker

Zelcash(ZEL):
Code:
URL: stratum+tcp://pool.powermining.pw:2143
Worker: YOUR ZELCASH WALLET ADDRESS
Password: Any password to identify your worker

Zclassic(ZCL):
Code:
URL: stratum+tcp://pool.powermining.pw:2144
Worker: YOUR ZCLASSIC WALLET ADDRESS
Password: Any password to identify your worker

VoteCoin(VOT):
Code:
URL: stratum+tcp://pool.powermining.pw:2145
Worker: YOUR VOTECOIN WALLET ADDRESS
Password: Any password to identify your worker

Bitcoin Private(BTCP):
Code:
URL: stratum+tcp://pool.powermining.pw:2146
Worker: YOUR BTCP WALLET ADDRESS
Password: Any password to identify your worker

Its recommended that you keep your self updated on upcomming Equihash forks, many of these coins will fork to a Different algo in order to extinguish ASIC miners. Z9 list of working pools/Fork updates is a great place on these forums to keep your self upto date on this one. https://bitcointalk.org/index.php?topic=4404847.0

If you dont have Awesome Miner, you can download latest version from their Webpage. Its free to use for monitoring 2 miners:
Awesome Miner!

If you have more than two miners, i highly recommend to be purchasing this Software, its really great for monitoring.

You can now install and start Awesome Miner software. From here on Awesome Miner is described as AM.

When you have started Awesome Miner for the first time, you will be prompted to add a new Miner, to add any ASIC you may choose <External Miner> and fill in fields:
Miner Description: <However you would like to describe your miner>
Remote host: Usually your miners IP address
Algorithm: Select your miners Algorithm
Software: For most ASIC`s its CgMiner compatible

You can test connection by clicking "Test connection". Then click Next -> Finish

Now your miner is added to your list of miners in Tab <Miners>.


In order for AM to be able to profit switch, you need to ensure that you have API Access to the miner. In <Miners> Tab click on your Miner and look at <Summary> Tab below, and look for API Access. If this is red you need to do some changes to the miner, if its green means you are good to go!

In case it is red like this;


Z9/ANTMINER SPECIFIC:
You need to SSH into the miner and adjust proper settings. You need to download Putty here: https://www.ssh.com/ssh/putty/download - Then Install and Run.
Set your miners IP in <Host Name(or IP address)> field then click <Open>
sshz9 image

If you are prompted to verify authentication, click yes.

login as: root
default password is also <root> unless you have changed password in your miners interface.

When you have logged in you need to replace api-allow command in miners config. You can do following:
< vi /www/pages/cgi-bin/set_miner_conf.cgi > will open set_miner_conf.cgi file in vim text editor.
then type following: < /A:0/0,W:* > and hit enter. This will take you to the specific location we need to do changes to

Now you hit your < i > which will allow you to start inserting into the file.

Now you can replace A:0/0,W:* with for example: W:127.0.0.1,W:192.168.0.20
That means two IP`s will have API Access to the miner, being the miner it self(localhost) 127.0.0.1 and your AM computers IP address(in this example its 192.168.0.20).

You need to replace 192.168.0.20 with your AM computer`s local IP, this can be found by start->CMD and then type < ipconfig > hit enter. Usually its IPv4 address inside "Ethernet adapter Ethernet" however your internet IP may also be displayed here and thats not the correct one to use. You can verify that the IP you found is not your internet ip by checking your online IP on services like this: myip.com

When you have replaced those fields, you need to Hit ESC button on your keyboard and then type: < :wq > and hit enter. Now you can type < exit > and hit enter to close SSH connection.

Before the changes have been applied:


and After the changes have been applied:



I do not have a A9 personally to verify this, but a similiar Innosilicon model, this have done the trick: (remember to change 192.168.0.20 with your own local AM IP as described in section above):


Now you can go to your Miners web interface -> Go to Miner Configuration -> General Settings and do changes to pools here. If you already have done your changes here, you still need to hit Save & Apply button in order to reload config file with correct API Access. Example:


Miner will reboot, this can take a couple of minutes.

If this sucedded then your Summary tab in AM should now show API Access in green: Privliged


Great!! Now, we can start preparing AM for handling profit switching. For ASICs its pretty straight forward if you are happy with them three pools that is added in Miner`s configuation page.


Now click Options in AM go to Coins & Profit -> Statistics, and include WhatToMine.com and CoinCalculators.io. If you would like fast switching and not based on 24hrs Average profit, you can select < Current > in Statistics settings.
Now go to Profit Switching instead of Statistics -> Type in your Power Cost, change Intervals and/or threshold, i personally have 15 min on a threshold of 6&.
Now go to Profit Profiles and click Add. In the new dialog, add some to Description field, like Z9 Profit Switch and hit OK


Now to to < Miners > and double click on the Miner you would like to add profit switching to. Under < Profit switching profile > select Z9 Profit Switch or what ever you did call it in previous step
Your miners setup in AM should look similiar to this:



Great, now we probably have Profit Switching working.... Well, maybe - Have we defined coins yet based on Pool? If not then AM really dont know what profits can be made... We need to do following;
In < Miners > tab select your miner, and instead of < Summary > go to < Pools > tab. Here you will have a list of currently available pools on the miner and their statuses:


Now select first pool and click < Define coin... >


By clicking on Coin: selection you will get a list over available coins to define. For example pool.powermining.pw:2142 is Zencash(ZEN), now select this and hit OK. Repeat this process for each pool until all coins are defined.
coinsavailable image

Now you can relax, sit back and watch AM doing this work! AM is an amazing software, this is only the pure basics of what it can do - There is MUCH more!

If you need any help, you can find me on Powermining.pw Pool`s discord channel; https://discord.gg/epFf8bF
This channel also contains latest updates from the Pool and Pool statuses.

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
Creating a Bitcoin client that fully implements the network protocol is extremely difficult. Bitcoin Core and some of its derivatives are the only known safe implementations of full nodes. Some other projects attempt to compete, but it is not recommended to use such software for anything serious. (Lightweight clients like Electrum and Bither are OK.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
yrk1957
Member
**
Offline Offline

Activity: 527
Merit: 28


View Profile
June 26, 2018, 03:40:47 PM
 #2

Thanks for guide.

Just a note that AM can configure API access directly - Tools -> Antminer -> Configure API Access. So no need to ssh, good for the faint of heart.
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
June 26, 2018, 04:09:36 PM
 #3

Ahh, have not noticed that one. Dont think it was there back when i started to use AM :-S

Thanks yrk1957, will update the article later tonight :-)

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
nadeaup
Jr. Member
*
Offline Offline

Activity: 94
Merit: 2


View Profile
June 26, 2018, 09:23:09 PM
 #4

Anyone figure out the id/pw for the innosilicon A9?
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
June 27, 2018, 12:57:40 PM
 #5

Anyone figure out the id/pw for the innosilicon A9?

id/pw ?

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
June 27, 2018, 12:58:11 PM
 #6

Thanks for guide.

Just a note that AM can configure API access directly - Tools -> Antminer -> Configure API Access. So no need to ssh, good for the faint of heart.

Oh, btw, this only works for those who have paid license i believe, not the free version

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
nadeaup
Jr. Member
*
Offline Offline

Activity: 94
Merit: 2


View Profile
June 27, 2018, 09:16:38 PM
 #7

Anyone figure out the id/pw for the innosilicon A9?

id/pw ?

Sorry, the id/pw to SSH into the A9.
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
June 27, 2018, 09:48:07 PM
 #8

Anyone figure out the id/pw for the innosilicon A9?

id/pw ?

Sorry, the id/pw to SSH into the A9.
I have no idea, but try any of these;
try root / t1t2t3a5
or root / t1t2t3a9
or root / innot1t2

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
nadeaup
Jr. Member
*
Offline Offline

Activity: 94
Merit: 2


View Profile
June 28, 2018, 11:45:08 PM
 #9

Anyone figure out the id/pw for the innosilicon A9?

id/pw ?

Sorry, the id/pw to SSH into the A9.
I have no idea, but try any of these;
try root / t1t2t3a5
or root / t1t2t3a9
or root / innot1t2

nope.. those do not work :/
1mck
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
October 13, 2018, 06:35:27 PM
 #10

Hello, please have anybody (maybe updated with new firmware) ssh root psw for A9? I tried all on this forum :/
jims111
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
October 14, 2018, 05:06:44 AM
 #11

Hello, please have anybody (maybe updated with new firmware) ssh root psw for A9? I tried all on this forum :/

blacksheepwall
WAC20
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 19, 2018, 03:40:23 PM
Last edit: October 19, 2018, 04:00:24 PM by WAC20
 #12

Does anyone have the actual walk-through for this with an A9 or has successfully enabled an A9 with this process?  This does not line up with what is on Awesome Miners site (https://support.awesomeminer.com/support/solutions/articles/35000085990-configure-api-access-for-innosilicon-asic-miners).  I have tried what is mentioned on this thread as well as what awesomeminer has on its page with no luck.  Whenever I enter < vi /www/pages/cgi-bin/set_miner_conf.cgi > it says not found.  Any help would be greatly appreciated.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!