Author

Topic: Issue with toggling A841 command-line options (Read 137 times)

newbie
Activity: 19
Merit: 9
February 29, 2020, 11:44:51 AM
#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!
legendary
Activity: 4326
Merit: 8950
'The right to privacy matters'
February 29, 2020, 11:39:44 AM
#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.
newbie
Activity: 19
Merit: 9
February 29, 2020, 07:24:48 AM
#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.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
February 28, 2020, 10:52:08 AM
#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....
newbie
Activity: 19
Merit: 9
February 28, 2020, 09:19:46 AM
#6
I put it here because it was specific to the commands and options that were being discussed in this thread.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
February 28, 2020, 08:58:09 AM
#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
legendary
Activity: 4326
Merit: 8950
'The right to privacy matters'
February 27, 2020, 10:50:36 PM
#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.
newbie
Activity: 19
Merit: 9
February 27, 2020, 08:22:16 PM
#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
legendary
Activity: 4326
Merit: 8950
'The right to privacy matters'
February 27, 2020, 06:57:17 PM
#2
Yeah it is like a reboot.  Are you using a rasp pi 3+ or rasp pi 3 to do this?
newbie
Activity: 19
Merit: 9
February 27, 2020, 06:52:59 PM
#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
Jump to: