Bitcoin Forum
May 21, 2024, 12:35:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Issue with toggling A841 command-line options  (Read 118 times)
cottora (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 9


View Profile
February 27, 2020, 11:52:59 PM
Merited by frodocooper (2)
 #1

I am using this thread to help send commands to an 841.  I can SSH in and send the below command:

cgminer --lowmem --avalon8-fan 40-100 --avalon8-voltage-level-offset 0 {REDACTED POOL} --api-allow W:0/0 --api-listen --avalon8-voltage-level 0 --avalon8-voltage-level-offset 0 --real-quiet

The only way this works is if I first stop the cgminer (/etc/init.d/cgminer stop) and then send the above command.  The problem is after that it seems that I am locked out from stopping or sending new commands (for instance, set voltage level 1 with the above command with modifier). 

It seems that I am shutting down the default running cgminer and then starting a new one.  Is this correct?  Is there a better way to be able to toggle? 

Thanks in advance
philipma1957
Legendary
*
Offline Offline

Activity: 4130
Merit: 7905


'The right to privacy matters'


View Profile WWW
February 27, 2020, 11:57:17 PM
Last edit: February 28, 2020, 12:45:18 AM by frodocooper
 #2

Yeah it is like a reboot.  Are you using a rasp pi 3+ or rasp pi 3 to do this?

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
cottora (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 9


View Profile
February 28, 2020, 01:22:16 AM
 #3

It is a 3B (I couldnt get the 3B+ to work).

But once I send my SSH command, I can't repeat the process to send a new command.  It takes a reboot to send it back to the first setting (separate question, is there a reboot command).  I essentially have to send one command, reboot to the original settings, send the next command, reboot, next command, ect.

Thanks
philipma1957
Legendary
*
Offline Offline

Activity: 4130
Merit: 7905


'The right to privacy matters'


View Profile WWW
February 28, 2020, 03:50:36 AM
Last edit: February 28, 2020, 04:02:51 AM by philipma1957
 #4

It is a 3B (I couldnt get the 3B+ to work).

But once I send my SSH command, I can't repeat the process to send a new command.  It takes a reboot to send it back to the first setting (separate question, is there a reboot command).  I essentially have to send one command, reboot to the original settings, send the next command, reboot, next command, ect.

Thanks

I know you have a lot of these to hook up.

I also know you need to be able to alter watts usage.

Maybe having 1 pdu with 10 rasp pi's attached that you remotely power on and off  allows for 10 rasp pi reboots in 1 shot.

if you have 12 x 841's to each rasp pi  it would instantly make them all  (10 x 12= miners) able to take a new set of ssh commands.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3640
Merit: 2549


Evil beware: We have waffles!


View Profile
February 28, 2020, 01:58:09 PM
 #5

Why is this in the wrong thread?
Should be in the 841 thread unless you have confused a 921 with a 841... Requested mods to fix that

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
cottora (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 9


View Profile
February 28, 2020, 02:19:46 PM
 #6

I put it here because it was specific to the commands and options that were being discussed in this thread.
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3640
Merit: 2549


Evil beware: We have waffles!


View Profile
February 28, 2020, 03:52:08 PM
 #7

I put it here because it was specific to the commands and options that were being discussed in this thread.
This thread is for the 921, you were discussing the 841.
Yes the commands for them are similar but - for many of the commands the values that the commands accept are different eg:
-avalon8 (or 9)-voltage-level and voltage-level-offset and the -freq values. Those have different ranges and step values that they will accept.

The 841 thread covers all of the commands and values that the 841 will accept. Here are ones in that thread from Phil

Ta boot, several of the 841 commands seem to have no effect on the 921 so....

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
cottora (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 9


View Profile
February 29, 2020, 12:24:48 PM
Last edit: March 01, 2020, 11:44:05 PM by frodocooper
 #8

Fair enough.  The issue isn't that I can't make changes but that once I make a change it requires a hard reboot before I can make any other changes.

A little more background.  I am sending these commands via Windows PowerShell.  Once the command is sent, I get constant status update run vs a command prompt.
philipma1957
Legendary
*
Offline Offline

Activity: 4130
Merit: 7905


'The right to privacy matters'


View Profile WWW
February 29, 2020, 04:39:44 PM
 #9

I am not sure if you can get past the hard reboot.  I know some have claimed you can but no one that I know has shown a method to do so.

I know you will have over 500 units which means more then  50 rasp pi's

If you use a  few pdus with hard power off options  and 20  rasp pi's per pdu.

It is 20 instant reboots.  Then a  new ssh can be entered for them.  I also know this is not as fast as you want.

But as I said  I don't know of a quicker way then this.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
cottora (OP)
Newbie
*
Offline Offline

Activity: 19
Merit: 9


View Profile
February 29, 2020, 04:44:51 PM
Last edit: March 01, 2020, 11:44:43 PM by frodocooper
 #10

Thank you!  We do have a 24 outlet PDU and our plan is as you described.  I think that I am more wanting to win/learn as the PDU solution will work.  It just seems that if I can restart from the GUI I should be able to send a command.

Thanks again!
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!