Author

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

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'

legendary
Activity: 2576
Merit: 1186
Currently, i am running 1 BFL Jalapeno and 4 block erupters with cgminer on my MinePeon rpi box. I have 2 more BE's that i want to add to the mix but this causes cgminer to flip out and continuously reboot my rpi. Minepeon also supports BFGminer and i am wanting to switch to this, however i can not for the life of me get it to recognize the BE's or the BFL. i have tried -S all, -S auto, -S erupter:all, -S bitforce:all (as i had seen suggested somewhere on a search). But none of these work, when i do screen -r to check the readout its telling me no devices found. the BE's are all connected with a usb hub and the BFL is plugged directly in to the rpi. and like i said, this current set up is works with cgminer, i just cant add anymore of the BE's without it crashing.

I have searched this thread and come up empty (although there have been plenty of suggestions), can someone please tell me what i am doing wrong?
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.
newbie
Activity: 33
Merit: 0
What OS are you running on it (Minepeon or Raspian)?  If you are using an older distro, it probably has an out dated version of bfgminer on it, you may need to update it.

Running minepeon and i just ssh'd in to check version and it shows bfgminer of 3.2.1. and i believe the minepeon version is 0.2.3
sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....

What hub are you using?

Pi does not work with usb3 hubs,
usb 2 hubs are low on power for erupters.  Even the best with 2500mA psu only stay stable with 5 erupters.(D-Link 7 port is one of the better units, and falls over with 6 erupters in my rig)

Pi usb support is not the best.  I have better results by only using one port on the Pi. So move the BFL to the hub.

Try another hub. or add another hub in daisy chain.

EDIT see my post from yesterday

Hub brand escapes me at the moment, like i said, not at home right now. But i do have the D-link 7 port hub being delivered today. I had also tried a 2nd powered hub daisy chained and it still crashed. But this is with cgminer. I understand the importance of the hub and such, but even if we assume the hub itself is having issues, then why doesnt bfgminer see my BFL which is plugged directly in? I think if i could find the answer to that then i could fumble through the rest.

What OS are you running on it (Minepeon or Raspian)?  If you are using an older distro, it probably has an out dated version of bfgminer on it, you may need to update it.
newbie
Activity: 33
Merit: 0

What hub are you using?

Pi does not work with usb3 hubs,
usb 2 hubs are low on power for erupters.  Even the best with 2500mA psu only stay stable with 5 erupters.(D-Link 7 port is one of the better units, and falls over with 6 erupters in my rig)

Pi usb support is not the best.  I have better results by only using one port on the Pi. So move the BFL to the hub.

Try another hub. or add another hub in daisy chain.

EDIT see my post from yesterday

Hub brand escapes me at the moment, like i said, not at home right now. But i do have the D-link 7 port hub being delivered today. I had also tried a 2nd powered hub daisy chained and it still crashed. But this is with cgminer. I understand the importance of the hub and such, but even if we assume the hub itself is having issues, then why doesnt bfgminer see my BFL which is plugged directly in? I think if i could find the answer to that then i could fumble through the rest.
Jump to: