Bitcoin Forum
March 19, 2024, 03:50:10 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 ... 165 »
  Print  
Author Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB  (Read 1192929 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
smoothrunnings
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
October 16, 2013, 09:34:12 AM
 #1101

How do I setup second pool as failover using the command line in Windows?

I have 3.3.0 installed, the 64bit but when I hit P I see something appear at the bottom of the screen but then its over written a second later buy the application, is this a bug, IDK? This is why I asking about adding the second pool (failover) to the command line so I don't have have to worry about doing it in the application itself.

Thanks,
1710820210
Hero Member
*
Offline Offline

Posts: 1710820210

View Profile Personal Message (Offline)

Ignore
1710820210
Reply with quote  #2

1710820210
Report to moderator
1710820210
Hero Member
*
Offline Offline

Posts: 1710820210

View Profile Personal Message (Offline)

Ignore
1710820210
Reply with quote  #2

1710820210
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710820210
Hero Member
*
Offline Offline

Posts: 1710820210

View Profile Personal Message (Offline)

Ignore
1710820210
Reply with quote  #2

1710820210
Report to moderator
1710820210
Hero Member
*
Offline Offline

Posts: 1710820210

View Profile Personal Message (Offline)

Ignore
1710820210
Reply with quote  #2

1710820210
Report to moderator
smoothrunnings
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
October 16, 2013, 09:36:18 AM
 #1102

I have 3.3.0 running on Win7 x64. I haven't had any issues. I have 28 USB erupters, 3.3.0 seems to detect the erupters perfectly. When I used 3.2.1, I often needed to restart BFGMiner several times before all the erupters were detected

I agree, 3.3.0 seems to be more stable on Windows than 3.2.1, I was getting periods where a hub of USB keys would disconnect and reconnect, but I don't seem to have that problem now with 3.3.0.
Zammo
Full Member
***
Offline Offline

Activity: 152
Merit: 100



View Profile
October 16, 2013, 02:00:25 PM
 #1103

How do I setup second pool as failover using the command line in Windows?

I have 3.3.0 installed, the 64bit but when I hit P I see something appear at the bottom of the screen but then its over written a second later buy the application, is this a bug, IDK? This is why I asking about adding the second pool (failover) to the command line so I don't have have to worry about doing it in the application itself.

Thanks,


If you want easy to use GUI for BFGMiner, try CGWatcher - http://manotechnology.blogspot.co.uk/p/cgwatcher.html

Makes it much easier to use and configure Smiley
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
October 16, 2013, 03:40:12 PM
 #1104

Hi,
can someone explain me how to build BFG miner for windows with static libralies, like that in the win32/64 prebuilded zip's?
None of my builds use static libraries.
They are compiled on Gentoo GNU/Linux using the included make-release script.

aspirez
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
October 16, 2013, 03:52:59 PM
 #1105

I found that already, but thanks Smiley
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
October 16, 2013, 07:21:19 PM
 #1106

Like others, I have a couple Blue Fury units on order, so in anticipation I upgraded to 3.3.0.  It's working great with my Jalapeno and my USB Block Erupters under Windows.

From looking at others' posts, I wonder if my setup is using a different driver for my block erupters.  My erupters show up as ICAx instead of BESx.  Is that due to the USB driver I use for them, or do they always show up as ICA under Windows?

Is there something I should be doing different for these units?

I`m not sure it makes a great difference but I use
Code:
-s erupter:all
to get the "BES" showing instead of "ICA"

This is only needed when you have a mix of devices and need them to show in the process window.
mostly -S all  Is good enough to hash.

when it uses the erupter driver the timings used by bfgminer are different( remember when the BES first came out, we had to use --icarus-options). this has been coded into the BES driver to provide better resolution for timing like sending new work at the tail end of a work unit (~12 second on a standard clocked BES)

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
October 16, 2013, 08:02:13 PM
 #1107

Trying this again since I never got a response...

I'm running bfgminer on a Pi.
Thanks to the help of DrGuns4Hands, it can boot up and run unassisted.
However, when the pool was experiencing the recent DDoS attacks,
I heard the fan slow down for a long period but couldn't see the fault messages that would have been displayed if I had opened a terminal and started bfgminer manually.
So, how do I automatically start it with the output displayed or,
even better, how do I see the output messages using SSH?

I know this is really simple for you guys.  A little help, please.
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
October 16, 2013, 09:13:53 PM
 #1108

Trying this again since I never got a response...

I'm running bfgminer on a Pi.
Thanks to the help of DrGuns4Hands, it can boot up and run unassisted.
However, when the pool was experiencing the recent DDoS attacks,
I heard the fan slow down for a long period but couldn't see the fault messages that would have been displayed if I had opened a terminal and started bfgminer manually.
So, how do I automatically start it with the output displayed or,
even better, how do I see the output messages using SSH?

I know this is really simple for you guys.  A little help, please.

what is the location of your bfgminer instalation relative to your rPi ~/ directory?

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
October 16, 2013, 09:25:33 PM
 #1109

Don't know what I'm doing, but messing around it looks like
\home\pi\bfgminer-3.2.1
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
October 16, 2013, 09:49:31 PM
 #1110

Don't know what I'm doing, but messing around it looks like
\home\pi\bfgminer-3.2.1


ok that would be ~/bfgminer-3.2.1

insert this as your bfgminer startup script:

#!/bin/bash
screen -S bfgminer -d -m su - pi /home/pi/bfgminer-3.2.1/.bfgminer <YOUR OPTIONS HERE> -D 2>/home/pi/bfgminer-3.2.1/logs/activity.log


try than and see if it works

afterward you should be able to ssh in as pi@rpi.ipaddress and execute:

Code:
screen -r bfgminer

this should bring up a bfgminer window with lots of debug info flying on screen.



todo: figure out how to garbage collect every N time period (e.g. 24 hrs) to create a rolling log

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
October 16, 2013, 09:52:55 PM
 #1111

Thanks
I'll give that a try
juhakall
Sr. Member
****
Offline Offline

Activity: 657
Merit: 250


View Profile WWW
October 16, 2013, 10:00:48 PM
 #1112

Don't know what I'm doing, but messing around it looks like
\home\pi\bfgminer-3.2.1


ok that would be ~/bfgminer-3.2.1

insert this as your bfgminer startup script:

#!/bin/bash
screen -S bfgminer -d -m su - pi /home/pi/bfgminer-3.2.1/.bfgminer <YOUR OPTIONS HERE> -D 2>/home/pi/bfgminer-3.2.1/logs/activity.log


try than and see if it works

afterward you should be able to ssh in as pi@rpi.ipaddress and execute:

Code:
screen -r bfgminer

this should bring up a bfgminer window with lots of debug info flying on screen.



todo: figure out how to garbage collect every N time period (e.g. 24 hrs) to create a rolling log

Try this to get the rolling log:
Code:
cp /home/pi/bfgminer-3.2.1/logs/activity.log /home/pi/bfgminer-3.2.1/logs/activity-`date +%s`.log
echo > /home/pi/bfgminer-3.2.1/logs/activity.log

echo will flush the file contents without deleting it, and bfgminer will just keep appending to that same file like nothing happened.

I'm currently developing an experimental social AI platform
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
October 16, 2013, 10:03:03 PM
 #1113

Don't know what I'm doing, but messing around it looks like
\home\pi\bfgminer-3.2.1


ok that would be ~/bfgminer-3.2.1

insert this as your bfgminer startup script:

#!/bin/bash
screen -S bfgminer -d -m su - pi /home/pi/bfgminer-3.2.1/.bfgminer <YOUR OPTIONS HERE> -D 2>/home/pi/bfgminer-3.2.1/logs/activity.log


try than and see if it works

afterward you should be able to ssh in as pi@rpi.ipaddress and execute:

Code:
screen -r bfgminer

this should bring up a bfgminer window with lots of debug info flying on screen.



todo: figure out how to garbage collect every N time period (e.g. 24 hrs) to create a rolling log

Try this to get the rolling log:
Code:
cp /home/pi/bfgminer-3.2.1/logs/activity.log /home/pi/bfgminer-3.2.1/logs/activity-`date +%s`.log
echo > /home/pi/bfgminer-3.2.1/logs/activity.log

+1

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
October 16, 2013, 11:36:58 PM
 #1114

Don't understand the #!/bin/bash

So I did a few web searches on 'linux startup batch' and thought maybe you were referring to .bashrc.
I was using /etc/rc.local for the autostart before.

I added your command line to the end of the .bashrc file but it doesn't start mining.
Didn't work in the rc.local file either.
Also when I SSH in and try screen -r bfgminer
I get
-bash: -screen: command not found

So, what am I doing wrong?
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
October 17, 2013, 12:38:01 AM
 #1115

Don't understand the #!/bin/bash

So I did a few web searches on 'linux startup batch' and thought maybe you were referring to .bashrc.
I was using /etc/rc.local for the autostart before.

I added your command line to the end of the .bashrc file but it doesn't start mining.
Didn't work in the rc.local file either.
Also when I SSH in and try screen -r bfgminer
I get
-bash: -screen: command not found

So, what am I doing wrong?

Not .bashrc , copy the stuff people posted above into a text file and name it something like:
bfgminerstart.sh
Then, chmod 777 bfgminerstart.sh to make it executable.
Then you can run the script with ./bfgminerstart.sh

Also it looks like you're going to have to install screen for your linux distro with that error msg.

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
October 17, 2013, 12:48:32 AM
 #1116

Don't understand the #!/bin/bash

So I did a few web searches on 'linux startup batch' and thought maybe you were referring to .bashrc.
I was using /etc/rc.local for the autostart before.

I added your command line to the end of the .bashrc file but it doesn't start mining.
Didn't work in the rc.local file either.
Also when I SSH in and try screen -r bfgminer
I get
-bash: -screen: command not found

So, what am I doing wrong?

Not .bashrc , copy the stuff people posted above into a text file and name it something like:
bfgminerstart.sh
Then, chmod 777 bfgminerstart.sh to make it executable.
Then you can run the script with ./bfgminerstart.sh

Also it looks like you're going to have to install screen for your linux distro with that error msg.



should have thought of that


half awake scripting is almost as dangerous a drunk scripting O.o

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
juhakall
Sr. Member
****
Offline Offline

Activity: 657
Merit: 250


View Profile WWW
October 17, 2013, 01:15:59 AM
 #1117

How exactly is --submit-threads supposed to work?

bfgminer --submit-threads 128
 [2013-10-17 04:14:27] bfgminer: --submit-threads: '@' is not a number

bfgminer --submit-threads=128
 [2013-10-17 04:14:14] bfgminer: --submit-threads: doesn't allow an argument

bfgminer --submit-threads
 [2013-10-17 04:14:51] bfgminer: --submit-threads: '@' is not a number

"submit-threads" : "128" in config file:
Invalid config option --submit-threads: Invalid value

I'm currently developing an experimental social AI platform
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
October 17, 2013, 01:23:06 AM
 #1118

How exactly is --submit-threads supposed to work?

bfgminer --submit-threads 128
 [2013-10-17 04:14:27] bfgminer: --submit-threads: '@' is not a number

bfgminer --submit-threads=128
 [2013-10-17 04:14:14] bfgminer: --submit-threads: doesn't allow an argument

bfgminer --submit-threads
 [2013-10-17 04:14:51] bfgminer: --submit-threads: '@' is not a number

"submit-threads" : "128" in config file:
Invalid config option --submit-threads: Invalid value
Sorry, it's broken Sad

I'll fix it in the next release.

village.idiot
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
October 17, 2013, 01:25:08 AM
 #1119

Don't understand the #!/bin/bash

So I did a few web searches on 'linux startup batch' and thought maybe you were referring to .bashrc.
I was using /etc/rc.local for the autostart before.

I added your command line to the end of the .bashrc file but it doesn't start mining.
Didn't work in the rc.local file either.
Also when I SSH in and try screen -r bfgminer
I get
-bash: -screen: command not found

So, what am I doing wrong?

Not .bashrc , copy the stuff people posted above into a text file and name it something like:
bfgminerstart.sh
Then, chmod 777 bfgminerstart.sh to make it executable.
Then you can run the script with ./bfgminerstart.sh

Also it looks like you're going to have to install screen for your linux distro with that error msg.

Installed screen and created the .sh file.  Thanks for explaining that.
It kept telling me there was no directory or file by that name until I removed the part about the log file.
Now it doesn't give me an error but doesn't start mining either.
Try to resume the screen and there is no screen to be resumed.
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
October 17, 2013, 01:37:12 AM
 #1120

ill have a look at mine peon since your running on a pi. and see if it can be easily modified enough.. ETA 1-2 days (busy for most of tomorrow)

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 ... 165 »
  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!