Show Posts
|
Pages: [1]
|
SOLVED. I had to POST the following to set_miner_conf.cgi:
data = { "pools": [ { "url": "antpool.com:3333", "user": "antminer1, "pass": "" }, { "url": "antpool.com:3333", "user": "antminer1", "pass": "" }, { "url": "antpool.com:3333", "user": "antminer1", "pass": "" } ] }
|
|
|
Hi all,
Just wondering if anyone has been able to update the pool settings on an S19Pro via CGI. I wrote a script that used to work on S9's but it doesn't work on S19Pro units. It also worked on the S17's. Any insights would be appreciated!
|
|
|
Also note the obvious: the price of BTC changes every day every hour. You don't know in advance, what price you will get for all the BTC you generated for the days or weeks up to when you sell it. Pretending that calculations based on the current hourly price and difficulty will directly affect your profit/loss, shows a complete misunderstanding of that.
100% however I'm with @jakaba in that knowing the current consumption and projecting forward allows you to make an educated guess about profitability. Right now its a guess at best because of price volatility but marginal gains are important especially right now post halving. The problem I've had whilst looking at this in the past is that I couldn't find a way to get or calculate the current power consumption of the unit. All I could do is average consumption using a meter over a sample of hardware and use that value. It would be great if the actual current consumption was available in the firmware API but I understand that this is probably not possible.
|
|
|
if your miner has a fan / board issue, it will not be mining, it will be almost "off" , only the fans and the control board will be running , but you can still spot the faulty miner by turning the lights off and looking for a red blinking led instead of green because that's what the miner does when there is something wrong.
anyhow, i guess if you have a large number of machines, or even a mid-range scale, you should label them ! it's important to do so, if you have 1 faulty miner you can spot it, but what if 2 or 5 ? how are you going to know which one is which? it will be time consuming IMO.
That's why I used to power them off, the lights would be dark so it was easy to find. I have over 1000 machines so you can now understand my problem.
|
|
|
I need to power them off if my software finds hashboard or fan issues. A powered off machine is easier to find on a rack too. My sense is that Bitmain hasn’t implemented it yet in BMMiner.
|
|
|
Can someone explain to me what I need to do to enable privileged mode? I understand that in privileged mode I can access "privileged" commands via the API. I have changed my "api-allow" to "A:0/0,W:* but when I send the privileged command to check if it's enabled I get STATUS 'E' which indicates that's it's not privileged. What is going on?
|
|
|
Thanks for those references. I understand that W:0/0 is not recommended but at this point I just need to get something to work. I am familiar with Awesome Miner but I want to build my own software and I plan on open sourcing it. In any case, I did exactly what was recommended in the last resource you pointed me to and I still get denied access to the switchpool command. Very frustrating. Any other ideas? Again I am accessing the network where the miner resides through a VPN. My software so far works perfectly with this setup. It's just the switchpool command that is giving me issues. Here is my bmminer.conf: { "bitmain-freq": "550", "multi-version": "1", "bitmain-use-vil": true, "api-groups": "A:stats:pools:devs:summary:version:noncenum", "pools": [{...}], "api-listen": true, "api-allow": "W:0/0, W:*", "api-network": true }
|
|
|
I am trying to switch the pool on a machine that I am connecting to through a VPN. I ssh'd in and edited my bmminer.conf file as follows and rebooted: { "bitmain-freq": "550", "multi-version": "1", "bitmain-use-vil": true, "api-groups": "A:stats:pools:devs:summary:version:noncenum", "pools": [{"url": "antpool.com:3333", "user": ... }], "api-listen": true, "api-allow": "A:0/0,W:0/0", "api-network": true } I understand that W:0/0 will allow any machine with network access privileged commands. That's okay for now. I've read that R:0/0 might be safer. In any case, I just want to get it to work so that I can write a script to set privileged access to all of my machines. Any help would be appreciated.
|
|
|
I am trying LPEM on a bunch of my S9's. I have 12.5TH/s, 13.5TH/s, and 14.5TH/s machines and so far so good. Although I remotely manage them so it's hard to say what the power consumption is. The hash rate drops quite a bit but they run stable. The only weird thing is on several of them one of the fans shows 30,600 rpm. Anyone else seeing this?
As well, I am wondering about LPEM because it noticeably drops my scoring hashrate on Slushpool which makes sense but since reward is tied to it I am wondering if I am actually losing money.
|
|
|
Hi all, in the STATS from any given S9 I see: "temp1": 0, "temp10": 0, "temp11": 0, "temp12": 0, "temp13": 0, "temp14": 0, "temp15": 0, "temp16": 0, "temp2": 0, "temp2_1": 0, "temp2_10": 0, "temp2_11": 0, "temp2_12": 0, "temp2_13": 0, "temp2_14": 0, "temp2_15": 0, "temp2_16": 0, "temp2_2": 0, "temp2_3": 0, "temp2_4": 0, "temp2_5": 0, "temp2_6": 76, "temp2_7": 67, "temp2_8": 65, "temp2_9": 0, "temp3": 0, "temp3_1": 0, "temp3_10": 0, "temp3_11": 0, "temp3_12": 0, "temp3_13": 0, "temp3_14": 0, "temp3_15": 0, "temp3_16": 0, "temp3_2": 0, "temp3_3": 0, "temp3_4": 0, "temp3_5": 0, "temp3_6": 0, "temp3_7": 0, "temp3_8": 0, "temp3_9": 0, "temp4": 0, "temp5": 0, "temp6": 61, "temp7": 52, "temp8": 50, "temp9": 0, "temp_max": 61, "temp_num": 3, My question is what temperature is temp6 reporting vs temp2_6? The temp2_6 value is what's reported on the miner status page. Just wondering because the temp2_6 value is always higher...
|
|
|
I want to be able to get the MAC address of an S9 programmatically. I can't find a command that returns it in Bmminer. I can SSH in and find it in the `mac` file but this is time-consuming. I suppose I can just load the network.html page and parse it out of there but I am hoping there is an easier way to get at it. Any points would be welcomed.
|
|
|
I have a lot of S9’s that supposedly support asicboost and I don’t want manually update them. Is there a way I can do this via SSH? If so I can write a shell script. Any advice would be welcomed.
|
|
|
Sounds like your PIC error is only on one board. Flashing the April firmware let you ignore that error and continue to mine with the other two boards.
If you want to, you can replace the PIC on the faulty board with one from a spare board if you want to. Bitmain doesn't seem to sell spare PICs. Also, try replacing the ribbon cable to the board giving you the issue.
Where can I find the April firmware?
|
|
|
I have some S9's that where ideal is higher than RT and some where RT is higher than ideal. Is that normal? In the cases where RT(Real-Time???) is higher than ideal does that mean it's running overclocked?
|
|
|
Actually, looking at the kernel log I see that the temperature is too high! Bummer. Any idea on why this particular machine might be experiencing this? I have many other machines on the same rack and they are all running at "normal" (e.g. 70-80 degrees). Fatal Error: Temperature is too high! do read_temp_func once... do check_asic_reg 0x08
get RT hashrate from Chain[5]: (asic index start from 1-63)
get RT hashrate from Chain[6]: (asic index start from 1-63)
get RT hashrate from Chain[7]: (asic index start from 1-63) Check Chain[J6] ASIC RT error: (asic index start from 1-63) Check Chain[J7] ASIC RT error: (asic index start from 1-63) Check Chain[J8] ASIC RT error: (asic index start from 1-63) Done check_asic_reg do read temp on Chain[5] Chain[5] Chip[62] TempTypeID=55 middle offset=30 read failed, old value: Chain[5] Chip[62] local Temp=91 read failed on Chain[5] Chip[62] middle Temp old value:102 Done read temp on Chain[5] do read temp on Chain[6] Chain[6] Chip[62] TempTypeID=55 middle offset=27 read failed, old value: Chain[6] Chip[62] local Temp=87 read failed on Chain[6] Chip[62] middle Temp old value:98 Done read temp on Chain[6] do read temp on Chain[7] Chain[7] Chip[62] TempTypeID=55 middle offset=29 read failed, old value: Chain[7] Chip[62] local Temp=84 read failed on Chain[7] Chip[62] middle Temp old value:93 Done read temp on Chain[7] set FAN speed according to: temp_highest=102 temp_top1[PWM_T]=102 temp_top1[TEMP_POS_LOCAL]=91 temp_change=17 fix_fan_steps=1 set full FAN speed... FAN PWM: 100 read_temp_func Done! CRC error counter=0
|
|
|
I have several S9's running with good hashboard status but the GH/S(RT) is "0.0000" for every board. When I reboot they start hashing but quickly fall back to "0.0000". The chips are running hot at 90+. Any ideas on what is going on? Could it be network?
|
|
|
Is there a way to shut down an S9 remotely via SSH? If I send the "poweroff" command the machine stops hashing but it still runs. Ideas?
|
|
|
Many thanks, SkyLakeMine!
I now need to find out what port in the switch that miner is plugged into. In the configuration on the miner I can see the hostname which is the port. How can get this via the API? I am getting the following but none of it gives me the hostname:
print miner.version() print miner.stats() print miner.summary() print miner.pools() print miner.config() print miner.devs()
Any ideas? I guess worst case I can get it through the cgi interface but that seems kludgy.
|
|
|
Hi all, excellent thread. I think I am going to want to do the same thing. My issue is I want to do this using Python. I can send commands such as 'status' to a miner and get some info but what I really want to do is set the pools, assign an IP, change the root password, etc. Any ideas on how I might do what SkyLakeMine suggests: sed -i 's_^\("api-allow" : \).*_\1"W:your.remote.ip.address,W:192.168.0.1/16,A:0/0",_' bmminer.conf I want to do the same but with Python... Possible? Also, assuming I can use the API, is there any docs for it? I looked on BMMiner and I can't find anything... Cheers, Morton.
|
|
|
|