Author

Topic: Antminer S9 "Locate" code (Read 540 times)

legendary
Activity: 4326
Merit: 8950
'The right to privacy matters'
June 08, 2020, 09:24:33 PM
#11
yeah right now one router optimum has four or five miners.

they stay there for three to four weeks.

then move to verizon 96 to 100 miners.

all have longer passwords.  and i try to use only bitmain's virus resistant firmware.

which means you need access to sdcard slot to change firmware.
sr. member
Activity: 463
Merit: 309
January 31, 2020, 10:34:55 AM
#10
I'm not 100% sure who to quote on this one, but the ip report button works wonders.

For staticing(?), we use a custom device that connects and sets everything. Takes about 30-45 seconds a miner.

For networking you don't need anything complicated, you can even do it dhcp just set the dhcp server up with static mapping. Basically you let them all come up on dhcp, leave them as dhcp and then grab the list of macs/ips and set it in your dhcp server. Then everything is still dhcp but the router/firewall know which ip's to give each one.

Segregating your network is a very good idea, especially when a virus / malware hit. Only what is accessible can be infected. A lot of the big farms that got hit just didn't have a proper network setup.
legendary
Activity: 4326
Merit: 8950
'The right to privacy matters'
January 30, 2020, 07:04:26 PM
#9
There are a few ways to set up.  

We have verizon and optimum.

Let us say each router is

set to

192.168.10.1-254

since they are different internets the router can be set to the same .10.

we use 192.168.10.1-20  for non mining gear.

we use 192.168.10.20-50 for s9's
we use 192.168.10.51-80 for l3+
on and up the line to cover all the miners.

each router is 8 ports  3 go to  48 port switches 3 go to spare etc cables

lots of redundancy and room to expand.

also the building  has 24 hour activity with workers in the warehouse section. Our biggest issue is adding a new transformer to go from 200kwatts to 500kwatts

It is also a pain to check gear for up time but we do it often.

just checked and it is all up!
sr. member
Activity: 463
Merit: 309
January 30, 2020, 05:32:41 PM
#8
Which is which? i also have 39, 47 and 51 in my miner here.

38 - green
37 - red

Probably should have mentioned you also need to send an echo command like

echo 1 > /sys/clas/gpio/gpio37/value


And I believe 39 is the beep.
legendary
Activity: 2030
Merit: 1573
CLEAN non GPL infringing code made in Rust lang
January 30, 2020, 04:18:38 PM
#7
[...]

Hmm this is not a bad idea, but i would do it slightly different. Rather than moving miners around (that is not trivial, lots of effort doing that) Use a netbook, (or the smallest portable thing you can find with a lan port), and simply connect direct to each miner. That netbook can be running Linux with he nic manually configured and a dhcp server assigning IPs in the same segment you intend. Ie: 192.168.1.200.

That way you can walk in and connect directly to each one to set its manual IP without moving them at all. With manual IPs you don't have to worry about a dhcp server going nuts, especially when there is a power outage.

Also the "poweroff" idea is good, but it needs physical intervention later Smiley



/sys/class/gpio/gpio38/value
/sys/class/gpio/gpio37/value

These?

Which is which? i also have 39, 47 and 51 in my miner here.
sr. member
Activity: 463
Merit: 309
January 30, 2020, 09:52:02 AM
#6
/sys/class/gpio/gpio38/value
/sys/class/gpio/gpio37/value

These?
sr. member
Activity: 808
Merit: 294
Created AutoTune to saved the planet! ~USA
January 30, 2020, 08:23:10 AM
#5
No, he wants to force flash the LEDs so you are able to physically "locate" a miner within a bunch of running miners.

BraiinsOS has this in the UI and with the cli command miner fault_light on. Maybe he wants to do it with factory firmware...

Block it in the firewall so it lights flash or don't light up for network activity maybe?
sr. member
Activity: 465
Merit: 301
January 30, 2020, 07:56:15 AM
#4
Trying to find the code/file that would allow me to flash the S9's green and/or red lights.. This would help me locate machines in my farm.

Know multiple third party firmware's have this feature as does the S17's.

Anyone out there know how to do this? Just need the file!

Okay set the miners to static    lets say  192.168.1.10 to 192.168.1.110   that is 100 miners.


do a scan  it will show 100 miners.  unplug a miner

do a scan it will show 99 miners.  the one missing is say  192.168.1.40   write on the back and front with a sharpie  40

do the next miner  so on and so forth

eventually all 100 miners will be numbered

then rearrange on your shelf space

every miner  in a row.  

192.168.1.10--- 192.168.1.11---192.168.1.12---192.168.1.13


repeat until last row

192.168.1.107---192.168.1.108---192.168.1.109---192.168.1.110



scan with advanced ip   from 192.168.1.10-110   make sure view is set to dead  only dead miners show up   say 192.168.1.103   since you know where it is it is easy to check wires.


simple system that works  one time setup is slow but I prefer static addresses over moving ones.


we have  63 btc miners
we have  25 ltc miners

all static  all easy to find
newbie
Activity: 13
Merit: 7
January 30, 2020, 02:53:07 AM
#3
You could use putty, log on to the miner and use the command "poweroff" - the miner will have a static led light, either green/red or non.
legendary
Activity: 2030
Merit: 1573
CLEAN non GPL infringing code made in Rust lang
January 19, 2020, 01:52:31 PM
#2
Do you mean that you'd like to use a software where you can find the IP of your miner?

No, he wants to force flash the LEDs so you are able to physically "locate" a miner within a bunch of running miners.

BraiinsOS has this in the UI and with the cli command miner fault_light on. Maybe he wants to do it with factory firmware...
newbie
Activity: 10
Merit: 6
January 17, 2020, 10:40:05 PM
#1
Trying to find the code/file that would allow me to flash the S9's green and/or red lights.. This would help me locate machines in my farm.

Know multiple third party firmware's have this feature as does the S17's.

Anyone out there know how to do this? Just need the file!
Jump to: