Bitcoin Forum
May 12, 2024, 07:48:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Antminer (Z9 mini) how to run a script every x minutes, also after reboot? on: July 22, 2018, 11:45:58 AM
Hi

i have an Antminer Z9 mini and looking for a way to run a script every x minutes.
so i found the /var/spool/cron/root file with the following content:
Code:
30 * * * *    /usr/bin/ntpdate-sync silent

When i add the follwing line:
Code:
*/5 * * * * sh /home/root/TXstats.sh

the script will not execute. i thought i have to reload the cronjob task to reread the cron-file, but i didnīt find a way to do that, there is no "service" command, no systemctl command, no init.d/cron file. Then i thing rebooting is the best way, but after a reboot, my extention in /var/spool/cron/root file is whipped out.

Does someone knows more about the behavior of the xilinx system in this antminers and how i can handle a cron job (or cronjob like script) and the reboot/reset problem?

Looking for any information to this, thanks and best regards,
Dave
2  Alternate cryptocurrencies / Mining (Altcoins) / can i run python on an antminer? on: July 03, 2018, 09:43:00 AM
Hey guys,

is it possible to run python on an Antminer Z9 mini (cgminer, xilinx), and if yes, how can i install it? 
Iīm connected via ssh, but apt-get isnīt available, so Iīm not familiar with this kind of linux distribution.

Best regards,
dave
3  Alternate cryptocurrencies / Mining (Altcoins) / cgminer API: Antminer (Z9 mini) remotecontrol questions on: June 29, 2018, 08:59:03 AM
Hi together,

just owned an ASIC antminer (Z9 mini) and now looking for a remote control option.
I found the cgminer API, read the API-readme from github, but get stuck running some cmds.

this is my cgminer.conf: (just for testing)
Code:
"api-listen" : true,
"api-network" : true,
"api-groups" : "A:stats:pools:devs:summary:version",
"api-allow" : "W:0/0",
"bitmain-use-vil" : true,
"bitmain-freq" : "600"

First question:
The original api-allow row was this:
Code:
"api-allow" : "A:0/0,W:*",
I know that 0/0 means access from any IP-Address, but what means "*"@ ",W:*" in api-allow section?


For testing the API I am using the api-example.PY and api-example.PHP but the results are the same.

Executing the following cmds on a remote maschine in the same network:
1. "python api-example.py summary"
     AND api-example.php with "request('summary')"          -> successful getting summary information.
2. "python api-example.py stats"                               ->getting syntax error from python "ValueError: Expecting , delimiter: line 1 column 225 (char 224)"
     AND api-example.php with "request('stats')"                  -> successful getting summary information.

3. python api-example.py "check|ascset"                   -> successful getting this return: "{u'STATUS': [{u'STATUS': u'S', u'Msg': u'Check command', u'Code': 72, u'When': 1530261460, u'Description': u'cgminer 4.9.0'}], u'CHECK': [{u'Access': u'N', u'Exists': u'N'}], u'id': 1}"

4. python api-example.py "ascset|0,frequency,0-500" -> getting following erroras return: "{u'STATUS': [{u'STATUS': u'E', u'Msg': u'Invalid command', u'Code': 14, u'When': 1530261532, u'Description': u'cgminer 4.9.0'}], u'id': 1}"
   AND api-example.php with "request('ascset|0,frequency,0-500')" -> getting this return: "ascset|0,frequency,0-500 returned 'STATUS=E,When=1530261674,Code=14,Msg=Invalid command,Description=cgminer 4.9.0|' Array ( [STATUS] => Array ( [STATUS] => E [When] => 1530261674 => 14 [Msg] => Invalid command [Description] => cgminer 4.9.0 ) )"

So can someone please tell me whats the correct syntax for this cmds?

Also looking for the option to change frequency, fan speed, pool, settings via the API. But the cmds i tested above and I got from the API-Readme doesnīt work. 
I read somewhere that the cgminer on antminer ASICS is changed a lot. Are there other cmds for these actions?

And the last question:
Want to control the asic from a Webserver in WAN - is there an option to protect the API connection from unauthorized access, except the IP-restriction?


would be nice i someone can helpü me with these question!
Thanks and best regards,
Dave



4  Bitcoin / Bitcoin Technical Support / btcrecover help for better tokenlist syntax on: March 02, 2018, 10:45:47 AM
Hi everyone,
Iīm just trying to decrypt my wallet.dat with btcrecover.

Simplified example:

Word A, B, C and D maybe on position 1 and 3 but not between.

so what I am trying is the following tokenfile:

+ ^1^A ^1^B ^1^C ^1^D
+ ^2^E ^2^F ^2^G ^2^H
+ ^3^A ^3^B ^3^C ^3^D

First question:
Is there a shorter way to do that? As I know  + ^1,3^A will try the word A on position 1 TILL 3, including 2, which I donīt need.

Second question:
Each word exists only one time, so if A is tested on position 1, it doesnīt need to be tested on position 3 again! Is there a syntax for managing this, to reduce the possible number of passwords?

Maybe question one and two have a unified solution?
I am grateful for any help!

best regards,
drvga






Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!