mining theory – How to install the latest bfgminer binaries directly from terminal without ‘aptitude’ on a raspberry pi 4 8gb running raspbian?

months ago I found an entry on StackExchange or somewhere else on how to install the latest (!) bfgminer binaries directly from terminal. I can not find the stackexchange post, no matter how deep I search here / on Google.

I do not remember if it was a download directly from luke-jr’s website via terminal or from somewhere else. I only remember that it was done via the terminal and it created an executeable shortcut in the /bin/ and/or /usr/bin/ folder.

Visiting the website from luke-jr triggers my anti virus software telling me the website is infected or hosts infected files. So I can’t visit it directly sadly.

Months ago I tried it out on my old RPi and it worked just fine. But now that I had to switch to a newer RPi I can not find or remember the correct terminal command for installing bfgminer binaries directly.

More details about why I need the binaries:
Compiling prints out LOTS of errors for me.
Using ‘sudo aptitude install bfgminer’ needs “aptitude” installed, so I tried to install it and it returned lots of errors, most of the package files where not downloadable (my Internet connection is fine by the way).

Can you help me out with a terminal command that let’s me successfully install bfgminer on raspbian?
On my old Pi I managed to install it without aptitude and without compiling it first.

Thanks so far!

bitcoin core – How can i get BFGMiner to recognise my 1060 gtx?

i have a computer i would like to solo mine bitcoins with, no matter how small my chances are, i am determined to find out my hashrate for mining…

i might try litecoin too as i assume it is easier to solo mine a block

I have tried gpuminer and cgminer on ubuntu and windows with varied results nothing works except bfgminer one time on a gtx460 which gave me 68mh/s, i cannot recreate this now and most information is now out dated in terms of debugging and fixing errors…

nothing i do seems to work now

about 4 days ago i had it working with a hashrate of 68mh/s on a gtx 460 using bfgminer

i have since re installed ubuntu and now im unable to setup the miner (following the same instructions which lead to success of 68mh/s before) and get it working (various make errors)

it seems something which was updated either in ubuntu or bfgminer in the past 5 days has made my instructions i follow to setup bfgminer, stop working…

some notable errors:

libtoolize: copying file './'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS((m4))' to,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in


i have a bitcoin core client ready my question is:

how on earth can i get bfgminer to work now?

i am doing this now from ubuntu terminal:

./configure --disable-other-drivers --enable-cpumining --enable-opencl 

./bfgminer -S opencl:auto -o http://localhost:8332 -u xxxxx -p xxxxx --generate-to xxxxx --log 30 -D

i removed sensitive info with xxxxx


bfgminer does not find any devices

so i use “M+” then “all” but no new devices are found

how can i get it to recognise my gtx 1060? and my cpu?

i use “M+” then “auto” but it doesnt find my gpu only finds my cpu

my CPU currently giving me 20Mh/s after 10 minutes this has gone down to 9Mh/s Grin Roll Eyes after zeroing statistics my hashrate is stable after 5 minutes at about 30Mh/s Wink

please dont reply “gpu/cpu solo bitcoin mining is obsolete” – i still want to give it a go – if my hashrate is even one hash per second, i still have a chance, am i wrong?

i will set temps to a low number after i get it working to reduce hardware failure chances and then re check my hashrates

mods please dont delete this… send me a message instead?… i dont want my topic to get lost in a lesser active sub forum… or deleted entirely, i need help! i am going nuts here

how to fix mining software make error? bfgminer bitcoin

so i have bfgminer up on a linux machine running fine purring away at 67Mh/s solo mining (geforce gtx460)

im attempting to build on a windows 10 machine

i have tried msys2 mgwin32 and 64 bit

nothing seems to work i get errors in all stages: autogen, configure and make

im using mgwin64bit now and got to the make stage succesfully…

i am able to autogen, configure but when it comes to make i get an error:

make(3): Leaving directory '/home/virtu/bfgminer/libblkmaker'
  CCLD     bfgminer.exe
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: bfgminer-miner.o:miner.c:(.rdata$.refptr.cpus(.refptr.cpus)+0x0): undefined reference to `cpus'
collect2.exe: error: ld returned 1 exit status
make(2): *** (Makefile:1340: bfgminer.exe) Error 1
make(2): Leaving directory '/home/virtu/bfgminer'
make(1): *** (Makefile:2844: all-recursive) Error 1
make(1): Leaving directory '/home/virtu/bfgminer'
make: *** (Makefile:1209: all) Error 2

Could someone help me come up with a solution?

in the meantime i will return to mingw32 and attempt to fix the no gcc or c compatible compiler issue on autogen/configure

bitcoin core – “Invalid address” when trying solo mine with bfgminer

I am trying to mine solo.

I have installed BitCoin Core on my Windows box, set up incoming connections

enter image description here

and wrote in config file <BitCoinStore>/bitcoin.conf


Then on Linux box I ran

bfgminer -o http://mywindowsaddress:8333 -u myusername -p mypassword --generate-to myincomingaddress

and got

[2020-11-13 12:23:23] bfgminer: --generate-to: Invalid address

Why? What is invalid?

Should I run bitcoind instead of thus GUI on Windows?

ubuntu – Unable to connect to slushpool with bfgminer

I am complete newbie and just want to see, how it works in priciple. No profit required. I have created an account on slushpool site and have username and password. Then I go to my ubuntu machine (a desktop, with GPU, no ASICs or something) and ran

bfgminer -o stratum+tcp:// -u myusername -p mypassword

It started to print in cycles

 (2020-11-13 10:17:47) Waiting for devices; press 'M+' to add, or 'Q' to quit
 (2020-11-13 10:17:47) Probing for an alive pool
 (2020-11-13 10:17:48) pool 0 JSON stratum auth failed: (
   "Internal Server Error",
 (2020-11-13 10:17:48) No servers were found that could be used to get work from.
 (2020-11-13 10:17:48) Please check the details from the list below of the servers you have input
 (2020-11-13 10:17:48) Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
 (2020-11-13 10:17:48) Pool: 0  URL: stratum+tcp://  User: myusername Password: mypassword
 (2020-11-13 10:17:48) Press any key to exit, or BFGMiner will try again in 15s.
 (2020-11-13 10:18:04) No servers were found that could be used to get work from.
 (2020-11-13 10:18:04) Please check the details from the list below of the servers you have input
 (2020-11-13 10:18:04) Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
 (2020-11-13 10:18:04) Pool: 0  URL: stratum+tcp://  User: myusername  Password: mypassword

Why? What is happening? What I am doing wrong?

GekkoScience Compac + Raspberry Pi + bfgminer + Slushpool + Bitcoin Core – Bitcoin Stack Exchange

I installed Bitcoin Core on my laptop and created a Slushpool account. Then I installed bfgminer on my RPi3 with the following commands:

sudo apt-get install autoconf libtool uthash-dev libjansson-dev libcurl4-openssl-dev libncurses-dev git-core libevent-dev -y
Git clone
cd bfgminer

Then I connected GekkoScience Compac USB Stick Miner to a USB hub and connected it to the USB port of the RPi3. After connecting, I ran bfgminer with the following command:

./bfgminer --userpass username.workerID: password - url stratum + tcp: // 3333

But it shows the following errors:

[2019-07-19 12:59:04] Waiting for devices; press & # 39; M + & # 39; for adding or & # 39; Q & # 39;
break up

[2019-07-19 12:59:04] Looking for a lively pool

[2019-07-19 12:59:07] Pool 0: Unknown stratum msg:
{"id": auth, "result": true, "error": null}

Please help me.

I also have another doubt. It's been a few hours and I still do not see any workers in my portal. How long does it take for a worker to show up?

Thank you in advance.

[Minera v0.9.1] Your next Mining Dashboard – Antminer / CPUminer / CGminer / BFGminer – Cryptocurrencies Corner

If you like Minera, you can send a donation to my BTC address: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1

NOW ALSO SUPPORT ANTMINER S9 / S9i / Z9 / Z9 mini / V9 / L3 + / L3 ++ / D3


I'm excited to announce the first release of Minera, a new web management system for your gridded mining devices (mini / blade).

Minera includes as Miner software: Download Minera v.0.9.1

* CPUminer GC3355 fork
* BFGminer latest original version
* CGminer latest original version
* CGminer Dmaxl Zeus fork

It should also support all CGminer / BFGminer forks.

Since version 0.9.x Minera also supports Network Miner as:

* Antminer S9
* Antminer L3 +
* Antminer D3

Since version 0.5.x Minera also supports Network Miner as:

* Antimimer S1 / S3 / S5
* Rockminer
* Each Network Miner with cgminer / bfgminer
* Other Minera system

Here you will find the complete Minera image file for Raspberry PI

v0.9.1 ->

Feedbacks are very welcome!

If you like Minera, you can send a donation to my BTC address: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1

Edit: 09. October 2018
Minera 0.9.1 is here!

* Fixed a security error during login
* Scan network added network for scanning
* Fixed a bug that prevented Minera from running in Raspberry 3 Model B +
* Cgminer has been fixed to allow all Antminer models with or without JSON errors (S9, S9i, L3 +, L3 ++, D3, Z9, Z9mini, V9)
* The ability to purchase lifetime licenses without ads has been changed
* Fixed price for license up to $ 50 (can now be paid with several coins)
* Local miners updated (Cgminer, Bfgminer)
Added "Futurebit Moonlander 2" Custom Miner

Edit: 03. December 2017
Minera 0.9.0 is here!

Added support for Antminer S9 / L3 + / D3
* Fault has been corrected
* The manual installation should work now

Edit: September 25, 2017
Minera 0.8.0 is here!

* Fixed several bugs
* Browser mining introduced for removal of advertising

Edit: September 3, 2017
Minera 0.8.0 is here!

* Fixed several bugs
* Updated to the latest version of Codeigniter (Framework)
* Upgrade to the latest version of Raspbian Strecth (image file)
* Updated to PHP7.0
* Added Minera ID to lock screen and sidebar
* BCH (Bitcoin Cash) added to the profitability table
* Added Ccminer as local miner (need tests)

Edit: April 14, 2016
Minera 0.7.0 is here!

* Troubleshooting Limiting the number of network miners
* Improvement: host name / system name of the miner on the logon / lockout page
* Updated miners with the latest versions (Cgminer and Bfgminer)
* Updated Raspbian version on Jessie Debian version (you need to flash your SD card, see below for details)
* Removed all save buttons and introduced the new one-save button
Added protocol reset button to clean up log system files (Minera and Miner only)
* Added system information on the lock screen
* Changed position of the "Update" button (above!)
* Inserted advertisement in Minera (yes, I know you do not like it)
* The Remove Ads button has been introduced (only 0.01 Btc for the system forever, read more below).
* Many other small bug fixes / improvements

Edit: 07. December 2015
Minera 0.6.2 is here!

* This is just a maintenance release to update the dead multi-pool with the LTC pool.
* Bfgminer updated to the latest version (5.4.1)

Edit: 03. July 2015
Minera 0.6.1 is here!

Fixed time donation for cgmin user
* The Cgminer Dmaxl pool hash error has been fixed
* The status of the dashboard window is hidden or not
* Added Dashboard Panel Settings Enable / Disable
* References to MobileMiner have been removed
* Added the bitstamp rates Usd + Eur in the mining mining profits
* Bug with update fixed … shit! I'm sorry [IMG]

Edit: June 17, 2015
Minera 0.6.0 is here!

* Various minor bugs fixed
* Altcoin data update fixed
* Fixed change of host name
* Improved framework version (codeigniter from 2.1.4 to 2.2.2)
* Build Script Git Clone fixed
* Fixed export JSON bug
* Bug fixes in diagrams fixed
Added dashboard actions for local pools (Add / Remove / Select in a jiffy)
* Added default settings for records per page
* Factory reset added
* General options (logs and JSON attachments) added to the manual local miner settings
* Protocols have been added for custom Miner software
* The mine return field in Dashboard has been added
* The scrolling in the sidebar has been corrected
* Sidebar Dashboard Icons / Links added
* The Minera system ID has been updated based on the Ethernet Mac address
* The Minera username donation pool has been changed to reflect the Minera System ID
* Donations now come from live earnings
* Summer cleaning
* Added Bower Vendor Packages
* The Grunt Task Manager has been added to create Minera files
Added task for Minify / Uglify CSS / JS
* Added environment configurations
* The code for lock and sysop pages has been rewritten
Added CDNs for icon fonts (Awesome / Ionicons)
Added Lighttpd conf to compress JSON calls and various mimetype files (image creation only)
Added script to install Minera on a non-raspberry hardware

Edit: April 10, 2015
Minera 0.5.0 is here!

* Possibility to add network miners like Antminer, Rockminer etc.
* Possibility to add another remote Minera system as network miner (this only works if the Network Minera uses bfgminer / cgminer as a local miner, not for cpuminer)
* Automatically scan the LAN network to discover Network Miner
* Add / Remove / Select pools on the fly for Network Miner
* New Network Miner Widgets
* Fixed changing the web password
* Fixed incorrect pool in Mobileminer
* Ability to change the system host name through the settings page
* Ability to change the system user's password on the settings page
Added option to not attach the JSON configuration file to the local Miner command
* Added Eur / Usd BTC rates
* Added error from the log file if Miner does not start
* The dashboard page has been redesigned if the local miner is not running (now other information is displayed, even if the miner stopped or does not start).
* Added Network Miner to Mobile Miners (you have a new Miner System for every Network Miner you have)
* Built-in local miners updated to the latest version
* An update for the libusb library has been added
* Added preconfigured miner options (I've added several preconfigured options to the settings page so novices get everything ready to start)
* The top bar widgets have been redesigned and are now visible on all pages
Fixed focus event in Firefox (duplicate table rows when reloading pages)
Updated JQuery
* Rewrite many code

Edit: February 28, 2015
Minera 0.4.1 is here!

* Pool Proxy Setup added
* Github star button added
Added algo info to statistics
* Added donation pool for automatic switching based on Algo (you can donate now also in SHA-256 mining time)
* The sending of empty statistics to mobileminer has been corrected
* Pools bugfix
* New Minera image with Raspberry PI 2 support (see Wiki page if you are updating over the internet)

Edit: December 22, 2014
Minera 0.4.0 is here!

* Vulnerability fixed
* Fixed bug with MHz
Fixed a problem with the concurrent pool
* Re-encoded Mobileminer actions
* Improved security
* Web password hashed
Added Coinbase Donation Buttons
* Possibility to add custom miners
* Skin selection (black / blue)
* New blue skin
* Minor corrections

Edit: October 16, 2014
Minera 0.3.8 is here!

Fixed a big bug in the minerStop method that prevented every Miner except cpuminer from stopping
* Bfgminer / Cgminer updated to the latest versions

Edit: October 10, 2014
Minera 0.3.7 is here!

* Bug fixed in MobileMiner SHA256
* Bfgminer / Cgminer updated to the latest versions

Edit: September 29, 2014
Minera 0.3.6 is here!

Updated Miner binaries
* Small corrections
Added script to create miner

Edit: August 19, 2014
Minera 0.3.5 is here!

* Switcher instead of checkbox added
* Added export / import of full system settings
Added Save / Load / Share Miner configurations
* Fixed issue with cgminerStartupScript
* BfGminer has been updated to 4.7.0 and CGminer
* Fixed header added
* Many minor bug fixes

Edit: 03. August 2014
Minera 0.3.4 is here!

* Fixed a major bug that caused stored data to be lost on reboot. Now every storage unit contains a Redis BGSAVE to immediately save the data on the hard disk
Added the ability to start the Miner process as superuser / root instead of the Minera process. This may be useful for some devices that need to access special things in the system
* Bfgminer has been updated to 4.6.0-6-g8f60a5f and Cgminer to 4.5.0

Edit: July 29, 2014
Minera 0.3.3 is here!

* This release only updates Bfgminer and Cgminer to their latest relative versions.
* Reverse Cgminer Dmaxl Zeus fork in support of Zeus & Gridseeds (Note, it is known

Edit: July 21, 2014
Minera 0.3.2 is here!

* Added MobileMiner actions to start, stop, restart, and switch
* Send anonymous statistics
* Temp / Freq added if available
* The logging with cgminer and forks has been corrected
* Fixed Pool Hashrate dmaxl
* Bfgminer and Cgminer-Dmaxl have been updated to the latest versions
* Added reset buttons
* Fixed many bugs

Edit: July 15, 2014
Minera 0.3.1 is here!

* Fixed several bugs after version 0.3.0
* Added web terminal window to log in to the system directly from the dashboard

Edit: July 14, 2014
Minera 0.3.0 is here!

Added Miner Software Switcher
* Included CPUminer, CGminer, BFGminer, CGminer Dmaxl Zeus fork
* Scheduled event added (restart / restart)
Added Ajax methods for saving settings and Miner actions
* Various bugfixes

Edit: 04. July 2014
Minera 0.2.3 is here!

* Digital clock added
* Cryptsy timeouts fixed
* Added button to remove the pool donation
* Frequency step changed from 5 to 1
* The legend of the display devices has been corrected
* Average statistics have been added for 1 minute, 5 minutes, 1 hour and 1 day
* Charts added hourly, daily, monthly, annually
* Added average stat badge
* Various bugfixes

Edit: June 16, 2014
Minera 0.2.2 is here!

Added time-based donations
* Temperature scales C ° / F ° added
* Sortable box for touch devices added
* The merit calculator has been added to the dashboard
Increase Altcoins to 5
* Added lockscreen autofocus
* Rewriting JavaScript Code Can Be a Fixed Dateable Random Problem (?)
* Rewrite PHP code to add support for BFGMiner / CGMiner
* Credits added in README
* Various bug fixes

Edit: June 11, 2014
Minera 0.2.1 is here!

* Added custom altcoins rates (go to settings and choose your favorite, max 3)
* Added Autorestart if X devices may be dead (go to Settings and enable this option if X devices do not send shares for more than 10 minutes, the Miner will be restarted)
* A fixed Minera donation pool has been added. (Do not panic!) This does not mean that there is a Minera fee, you can still add as many pools as you like and keep the Minera pool for the last one.)
* URL pool check removed when adding a new one (you can enter any string as the pool URL)
* Added system availability
* only on reinstallation – added wicd-curses package to easily manage WiFi cards (if you just want to run it: sudo apt-get install wicd-curses)

TCP / IP, HTTP, UDP connection and peer detection in Bitcoin Core, CGMINER and BFGMINER source code

What files, libraries, classes, blocks of code are used for TCP / IP connections, peer discovery, HTTP connections, UDP connections in Bitcoin Core (0.1.5 and newer versions, including the last 0.18.0) and other c / c + + – based wallets used? cgminer (first 0.1 and newest versions 4.11.1), bfgminer (first 0.1 and newest versions 5.5.0)? How is network programming done in Bitcoin software? How programmed server, client, peers? And on which programming and software standards, specifications (RFC, ISO, etc.) is this network communication and programming based? Be more precise and concrete, better with source code examples.

Files, libraries, classes, blocks of code used for TCP / IP connection and peer detection in Bitcoin Core, CGMiner, BFGMiner

What files, libraries, classes, blocks of code are used for TCP / IP connections, peer discovery, HTTP connections, UDP connections in Bitcoin Core (0.1.5 and newer versions, including the last 0.18.0) and other c / c + + – based wallets used? cgminer (first 0.1 and newest versions 4.11.1), bfgminer (first 0.1 and newest versions 5.5.0)? How is network programming done in Bitcoin software? How programmed server, client, peers? And on which programming and software standards, specifications (RFC, ISO, etc.) is this network communication and programming based? Be more precise and concrete, better with source code examples.