Title: Antminer S9 "Locate" code Post by: Steamy27 on January 18, 2020, 03:40:05 AM 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! Title: Re: Antminer S9 "Locate" code Post by: Artemis3 on January 19, 2020, 06:52:31 PM 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 (https://docs.braiins-os.org/#miner-signalization-led) in the UI and with the cli command miner fault_light on. Maybe he wants to do it with factory firmware... Title: Re: Antminer S9 "Locate" code Post by: Texnoz on January 30, 2020, 07:53:07 AM 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.
Title: Re: Antminer S9 "Locate" code Post by: TheYankeesWin! on January 30, 2020, 12:56:15 PM 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 Title: Re: Antminer S9 "Locate" code Post by: taserz on January 30, 2020, 01:23:10 PM 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 (https://docs.braiins-os.org/#miner-signalization-led) 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? Title: Re: Antminer S9 "Locate" code Post by: PassThePopcorn on January 30, 2020, 02:52:02 PM /sys/class/gpio/gpio38/value
/sys/class/gpio/gpio37/value These? Title: Re: Antminer S9 "Locate" code Post by: Artemis3 on January 30, 2020, 09:18:38 PM [...] 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 :) /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. Title: Re: Antminer S9 "Locate" code Post by: PassThePopcorn on January 30, 2020, 10:32:41 PM 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. Title: Re: Antminer S9 "Locate" code Post by: philipma1957 on January 31, 2020, 12:04:26 AM 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! Title: Re: Antminer S9 "Locate" code Post by: PassThePopcorn on January 31, 2020, 03:34:55 PM 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. Title: Re: Antminer S9 "Locate" code Post by: philipma1957 on June 09, 2020, 02:24:33 AM 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. |