smoothrunnings
|
|
October 16, 2013, 09:34:12 AM |
|
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,
|
|
|
|
smoothrunnings
|
|
October 16, 2013, 09:36:18 AM |
|
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
|
|
October 16, 2013, 02:00:25 PM |
|
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.htmlMakes it much easier to use and configure
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
October 16, 2013, 03:40:12 PM |
|
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
Activity: 41
Merit: 0
|
|
October 16, 2013, 03:52:59 PM |
|
I found that already, but thanks
|
|
|
|
Taugeran
|
|
October 16, 2013, 07:21:19 PM |
|
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 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
|
|
October 16, 2013, 08:02:13 PM |
|
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
|
|
October 16, 2013, 09:13:53 PM |
|
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
|
|
October 16, 2013, 09:25:33 PM |
|
Don't know what I'm doing, but messing around it looks like \home\pi\bfgminer-3.2.1
|
|
|
|
Taugeran
|
|
October 16, 2013, 09:49:31 PM |
|
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: 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
|
|
October 16, 2013, 09:52:55 PM |
|
Thanks I'll give that a try
|
|
|
|
juhakall
|
|
October 16, 2013, 10:00:48 PM |
|
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: 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: 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.
|
|
|
|
Taugeran
|
|
October 16, 2013, 10:03:03 PM |
|
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: 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: 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
|
|
October 16, 2013, 11:36:58 PM |
|
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
|
|
October 17, 2013, 12:38:01 AM |
|
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
|
|
October 17, 2013, 12:48:32 AM |
|
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
|
|
October 17, 2013, 01:15:59 AM |
|
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
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
October 17, 2013, 01:23:06 AM |
|
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 I'll fix it in the next release.
|
|
|
|
village.idiot
|
|
October 17, 2013, 01:25:08 AM |
|
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
|
|
October 17, 2013, 01:37:12 AM |
|
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
|
|
|
|