Bitcoin Forum
May 10, 2024, 06:03:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Antminer S9 "Locate" code  (Read 525 times)
Steamy27 (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 6


View Profile
January 18, 2020, 03:40:05 AM
Last edit: January 18, 2020, 11:05:51 AM by frodocooper
 #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!
1715364213
Hero Member
*
Offline Offline

Posts: 1715364213

View Profile Personal Message (Offline)

Ignore
1715364213
Reply with quote  #2

1715364213
Report to moderator
1715364213
Hero Member
*
Offline Offline

Posts: 1715364213

View Profile Personal Message (Offline)

Ignore
1715364213
Reply with quote  #2

1715364213
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
January 19, 2020, 06:52:31 PM
Merited by vapourminer (1)
 #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...

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
Texnoz
Newbie
*
Offline Offline

Activity: 13
Merit: 7


View Profile
January 30, 2020, 07: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.
TheYankeesWin!
Sr. Member
****
Offline Offline

Activity: 462
Merit: 300


View Profile
January 30, 2020, 12:56:15 PM
Merited by frodocooper (5), suchmoon (4), vapourminer (1), Heisenberg_Hunter (1)
 #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
taserz
Sr. Member
****
Offline Offline

Activity: 800
Merit: 293


Created AutoTune to saved the planet! ~USA


View Profile
January 30, 2020, 01:23:10 PM
Last edit: January 31, 2020, 10:50:34 AM by frodocooper
 #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?

Autotune Firmware for S19 and S19j! Overclock, Underclock, AutoTuning. Asic.to The MOON Increased hashrate, improved power efficiency 30w/TH up to 85th/s!!Mining bitcoin since 2011 • Best nerd decision of my life
PassThePopcorn
Sr. Member
****
Offline Offline

Activity: 465
Merit: 309


View Profile
January 30, 2020, 02:52:02 PM
 #6

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

These?
Artemis3
Legendary
*
Offline Offline

Activity: 2030
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
January 30, 2020, 09:18:38 PM
Last edit: January 31, 2020, 10:51:23 AM by frodocooper
Merited by vapourminer (1), Heisenberg_Hunter (1)
 #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.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
PassThePopcorn
Sr. Member
****
Offline Offline

Activity: 465
Merit: 309


View Profile
January 30, 2020, 10:32:41 PM
Last edit: January 31, 2020, 02:56:30 PM by PassThePopcorn
Merited by frodocooper (2), vapourminer (1)
 #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.
philipma1957
Legendary
*
Online Online

Activity: 4116
Merit: 7864


'The right to privacy matters'


View Profile WWW
January 31, 2020, 12:04:26 AM
 #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!

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
PassThePopcorn
Sr. Member
****
Offline Offline

Activity: 465
Merit: 309


View Profile
January 31, 2020, 03:34:55 PM
Merited by frodocooper (2), Heisenberg_Hunter (1)
 #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.
philipma1957
Legendary
*
Online Online

Activity: 4116
Merit: 7864


'The right to privacy matters'


View Profile WWW
June 09, 2020, 02:24:33 AM
Last edit: June 09, 2020, 02:34:42 AM by frodocooper
 #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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
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!