Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronsegura/asicminer-python
Python class and scripts for interrogating and configuring Bitfountain ASICMiner Blades (v2)
https://github.com/aaronsegura/asicminer-python
asic asicminer bitcoin btc
Last synced: about 1 month ago
JSON representation
Python class and scripts for interrogating and configuring Bitfountain ASICMiner Blades (v2)
- Host: GitHub
- URL: https://github.com/aaronsegura/asicminer-python
- Owner: aaronsegura
- License: gpl-2.0
- Created: 2014-02-19T00:38:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-02-19T00:56:42.000Z (over 10 years ago)
- Last Synced: 2023-08-11T00:17:14.119Z (over 1 year ago)
- Topics: asic, asicminer, bitcoin, btc
- Language: Python
- Size: 129 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ASICMiner-Python
================Python class and scripts for interrogating and configuring Bitfountain ASICMiner Blades (v2)
blade.py
--------Python class file for ASICMiner blades. See bm.py for example usage.
bm.py
-----THE BLADEMANGLER
Configuration utility for ASICMiner blades. Requires blade.py.
$ python ./bm.py -h
] [--netmask ]
usage: bm.py [-h] [-S | -U | -v] [--address
[--gw ] [--pdns ] [--sdns ]
[--phost ] [--puser ] [--shost ]
[--suser ] [--webport ]
host:port [host:port ...]
Tool to manipulate BitFountain ASICMINER v2 Blades
positional arguments:
host:port Target Blade IPs
optional arguments:
-h, --help show this help message and exit
-S Switch Servers
-U Update Configuration
-v Display all details about blade(s)
Update Flags:
--address IP Address
--netmask Netmask
--gw Gateway
--pdns Primary DNS Server
--sdns Secondary DNS Server
--phost Primary Mining Server
--puser Primary Server Credentials
--shost Secondary Mining Server
--suser Secondary Server Credentials
--webport Web UI Listening PortIf passed with no command line options, a short one-line summary is given showing the current server and hashrate:
$ python ./bm.py 192.168.1.200:8000
[192.168.1.200:8000] 172.16.0.2:8332 @ 11006 MH/sYou may also pass multiple blades on the same cmdline:
$ python ./bm.py 192.168.1.200:8000 192.168.1.201:8000 192.168.1.202:8000
[192.168.1.200:8000] 172.16.0.2:8332 @ 10738 MH/s
[192.168.1.201:8000] 172.16.0.2:8332 @ 11040 MH/s
[192.168.1.202:8000] 172.16.0.2:8332 @ 10492 MH/sThis also works for bulk updates:
$ python ./bm.py -U --phost 172.16.0.2:8332 --puser user:pass 192.168.1.200:8000 192.168.1.201:8000 ...
cacti/get_ASICMiner.py
----------------Script used in conjunction with cacti/cacti_host_template_asicminer_blade.xml
Put this script in your cacti scripts directory and make it executable. Then import the .xml template file via the cacti web interface.
http://www.cacti.net/