Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 116. (Read 1193219 times)

newbie
Activity: 5
Merit: 0
 I RUN IT ON OPENWRT BUT HOW CAN I ADD MY POOL , user passward
legendary
Activity: 2576
Merit: 1186
-G is deprecated, but still works for backward compatbility.
You can use -S opencl:noauto
I plan to disable it by default in 3.3.
hero member
Activity: 630
Merit: 501
How do I setup 3.2.1 to only use my ASIC USB miners and not my graphics card?

I am using Windows 7 x64.

The settings I found online are for the older version of Bfgminer and don't work on 3.2.1 Sad

Thanks,


The simplest command line for erupters is:-  bfgminer.exe -o http://stratum.bitcoin.cz:3333 -u MINER -p PASSWORD -G -S all

-G stops your GPU
-S all     finds your erupters

The need for other switches are listed in the README file

I see to recall that -G doesn't work on the 3.2.1 for Windows x64, when I check the commands /? it doesn't have -G listed.

Sad
hero member
Activity: 868
Merit: 1000
How do I setup 3.2.1 to only use my ASIC USB miners and not my graphics card?

I am using Windows 7 x64.

The settings I found online are for the older version of Bfgminer and don't work on 3.2.1 Sad

Thanks,


The simplest command line for erupters is:-  bfgminer.exe -o http://stratum.bitcoin.cz:3333 -u MINER -p PASSWORD -G -S all

-G stops your GPU
-S all     finds your erupters

The need for other switches are listed in the README file
hero member
Activity: 630
Merit: 501
How do I setup 3.2.1 to only use my ASIC USB miners and not my graphics card?

I am using Windows 7 x64.

The settings I found online are for the older version of Bfgminer and don't work on 3.2.1 Sad

Thanks,
hero member
Activity: 616
Merit: 500
Just wanted to say big thumbs up to luke-jr/bfgminer. I'm using it for ASICMiner Blades. I've been comparing it to Slush's proxy and BFG is in a class of its own. More reliable, more consistent, and it's nice being able to see aggregate stats on all blades which connect to it.

I reccomended it be the #1 proxy suggestion for the blades, in the ASICMiner Blade setup thread: https://bitcointalksearch.org/topic/m.3247579

hero member
Activity: 1246
Merit: 501
I'm looking forward to the stratum proxy addition to BFGMiner under OpenWRT - I hope it'll work nicely, I'd love to get my little TPLink running all my miners including the stupid Blades. Smiley  There's just something humorous about piping nearly 40GH through something less than 2" square that runs off USB (and isn't a Pi).
sr. member
Activity: 270
Merit: 250
I use /etc/rc.local to make mine work.


sudo nano /etc/rc.local

assuming you left the user as the default pi, just before it says exit 0 I would add something so it looked like this.

cd /home/pi/bfgminer-3.2.1
sudo./bfgminer

exit 0





no need to change anything else that is in there.

That did the trick
And you made it clear enough that even and idiot could do it.

Thank you very much
hero member
Activity: 910
Merit: 550
I use /etc/rc.local to make mine work.


sudo nano /etc/rc.local

assuming you left the user as the default pi, just before it says exit 0 I would add something so it looked like this.

cd /home/pi/bfgminer-3.2.1
sudo./bfgminer

exit 0





no need to change anything else that is in there.
sr. member
Activity: 270
Merit: 250
With Luke's help, I've got my Pi mining with my ASIC.   Grin
Currently, I start it by
1) opening a terminal
2) changing to the bfgminer-3.2.1 directory
3) entering sudo ./bfgminer

I'd like it to start mining automatically when powered up.
I found this post
https://bitcointalksearch.org/topic/m.2689279
but I don't think everything I need is there.

Could someone please tell me what to do, and keep in mind that Linux is a foreign language to me.
Thanks

What OS on your Pi are you running?  If you look a few posts up, there was mention of how to automatically start bfgminer when your pi turns on.
Looked back through the last few pages and don't see the post of how to automatically start bfgminer when your pi turns on.
Could you point me to it?

Sorry, I neglected to mention I'm running Raspian.
sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....
With Luke's help, I've got my Pi mining with my ASIC.   Grin
Currently, I start it by
1) opening a terminal
2) changing to the bfgminer-3.2.1 directory
3) entering sudo ./bfgminer

I'd like it to start mining automatically when powered up.
I found this post
https://bitcointalksearch.org/topic/m.2689279
but I don't think everything I need is there.

Could someone please tell me what to do, and keep in mind that Linux is a foreign language to me.
Thanks

What OS on your Pi are you running?  If you look a few posts up, there was mention of how to automatically start bfgminer when your pi turns on.
sr. member
Activity: 270
Merit: 250
With Luke's help, I've got my Pi mining with my ASIC.   Grin
Currently, I start it by
1) opening a terminal
2) changing to the bfgminer-3.2.1 directory
3) entering sudo ./bfgminer

I'd like it to start mining automatically when powered up.
I found this post
https://bitcointalksearch.org/topic/m.2689279
but I don't think everything I need is there.

Could someone please tell me what to do, and keep in mind that Linux is a foreign language to me.
Thanks
newbie
Activity: 45
Merit: 0
Hello,

don´t somebody know how to install BFGMiner on DD-WRT ? I have TL-WR1043ND router. I already installed libcurl and libusb, but now it says this, and i dont know where i can find that library:


bfgminer: can't load library 'libssl.so.0.9.8'



Please help Sad(
legendary
Activity: 1081
Merit: 1001
But it simply wont start with the -S all and without it sees no Block Erupters

Further to this, if I start it with -S /dev/ttyUSB0 -S /dev/ttyUSB1 etc it loads ok (but is always 1 USB short of the actual when doing D - M), just the 'all' that causes it to stop

I'm thinking it's something to do with the BFL kit being in the middle of the USB Hub/Erupter chain - without the hub with eth BFL kit connected the -S all works

In my case, I don't use a .bat file (I couldn't get it to work for some reason) but I just use the string "C:\bfgminer-3.2.1-win32\bfgminer.exe -o pool -u workername -p password -G -S all" as a shortcut target to run the BEs. I'm running 70 BEs with daisy-chained hubs and I also have a BFL device plugged into the first hub of the chain.  All are connected to a single USB 2.0 port on an old netbook running Windows 7 x86.  If I run the BFGMiner shortcut with "-G -S All", the BFL chips are recognized as "ICA" and are labeled as such; all BEs and BFL chips hash normally.  However, I run two instances of BFGMiner to separate them; a shortcut with the "-G -S All" for the BEs and another shortcut with only "-G" for the BFL device (this recognizes BFL properly with the appropriate labels).  I turn off the BFL device to isolate it when starting the BEs and then turn it on and run the second shortcut (with only -G) for the second BFGMiner instance.  These methods have been working for me.  I hope this helps somehow.
newbie
Activity: 10
Merit: 0
Im just wondering, is this miner usable for PPcoin?

A link or direction would be very much appreciated..

Yes no problem.
If you want to mine on D7 pool try this:
Code:
bfgminer -o http://stratum.d7.lt:3333 -u .1 -p -S all

If you want to mine on TheSeven pool try this:
Code:
bfgminer -o stratum+tcp://theseven.bounceme.net:3333 -O :esmpps -S all

For fixx pool use this:
Code:
bfgminer -o ppc.fixx.ru:8437 -u .1 -p -S all

Thank you!
newbie
Activity: 33
Merit: 0
You can have bfgminer be your default miner when your Pi starts up.  If nothing has changed it should be

Code:
sudo systemctl stop cgminer.service
sudo systemctl disable cgminer.service
sudo systemctl enable bfgminer.service
sudo systemctl start bfgminer.service

That is still correct Zanatos666, and that is what i was doing, except i doing a daemon-reload in between the disable of cg and enable of bfg. But the bfg still failed to recognize any of the devices. So i took Lukes advice and rebooted to restore the original drivers and i was then up and running with bfg!
sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....
Try README:
Quote
Q: I ran cgminer, and now BFGMiner doesn't work!
A: cgminer has its own non-standard implementations of the drivers for most USB devices, and disables the official drivers (on Windows, you did this manually using Zadig). Before you can use BFGMiner, you will need to restore the original driver. With Linux, usually rebooting or re-plugging the device is sufficient.


Well i had been doing a daemon-reload after stopping and disabling cg.... So i decided to go ahead and just try a reboot.

and THANK YOU THANK YOU!! that worked. I ssh'd in, stopped and disabled cg, then enabled bfg and rebooted the device. once it came back up they all came online and started mining! I knew i was doing something newbish and stupid. Problem solved  Grin

You can have bfgminer be your default miner when your Pi starts up.  If nothing has changed it should be

Code:
sudo systemctl stop cgminer.service
sudo systemctl disable cgminer.service
sudo systemctl enable bfgminer.service
sudo systemctl start bfgminer.service
legendary
Activity: 2576
Merit: 1186
I need to get the firmware version of a Single SC, how to get the full dump of GetInfo in bfgminer (like in cgminer with tcp socket 'stats'),
It's printed to the debug log at startup for now.

I tried 'devdetails' or 'devdetail' (both won't work at all), and 'devs' doesn't return the fw version.
Why do you say devdetails doesn't work? It includes the protocol in use (though not the exact firmware version, which I'm not sure has a use case?)
newbie
Activity: 33
Merit: 0
Try README:
Quote
Q: I ran cgminer, and now BFGMiner doesn't work!
A: cgminer has its own non-standard implementations of the drivers for most USB devices, and disables the official drivers (on Windows, you did this manually using Zadig). Before you can use BFGMiner, you will need to restore the original driver. With Linux, usually rebooting or re-plugging the device is sufficient.


Well i had been doing a daemon-reload after stopping and disabling cg.... So i decided to go ahead and just try a reboot.

and THANK YOU THANK YOU!! that worked. I ssh'd in, stopped and disabled cg, then enabled bfg and rebooted the device. once it came back up they all came online and started mining! I knew i was doing something newbish and stupid. Problem solved  Grin
newbie
Activity: 45
Merit: 0
Hello,

don´t somebody know how to install BFGMiner on DD-WRT ? I have TL-WR1024ND router. I already installed libcurl and libusb, but now it says this, and i dont know where i can find that library:


bfgminer: can't load library 'libssl.so.0.9.8'

Jump to: