<p>Ok, any hardware additions to an existing Raspberry Pi * Minera environment or any adjustments to the hardware parameters specified in Minera Settings > Manual-options do indeed require recompiling cgminer.  In order to resolve, proceed with the following:</p>

<ol>
<li><code>cd /var/www/minera</code></li>
<li><code>sudo nano build_miner.sh</code></li>
<li>Scroll down to the cgminer config and append <code>-enable-blockerupter</code> so the entire line displays <code>CGMINER_CONFIG="--enable-avalon2 --enable-bflsc --enable-bitforce --enable-bitfury --enable-drillbit --enable-hashfast --enable-icarus --enable-klondike --enable-modminer --enable-blockerupter"</code></li>
<li>Exit and Write.</li>
<li>Run <code>sudo ./build_miner.sh all</code></li>
<li>Upon compiling, exit from your host-session, unplug the antsticks, power-cycle the Raspberry Pi and then plug-in antsticks.</li>
<li>Log-in to the Raspberry Pi and sign-in to Minera- you should see verifiable success displayed in the Minera Dashboard > Device Tree.</li>
</ol>

CC BY-SA 3.0
2017-10-27T00:43:42.270Z
2017-10-27T12:22:57.253Z
2017-10-27T12:22:57.253Z
alexanderjsingleton
<p>I successfully completed my first attempt to configure my Raspberry Pi for Bitcoin mining with a GekkoScience USB Antstick and Minera; however, after installing additional Antsticks, my env somehow became corrupted which ultimately lead me to wipe my Raspberry Pi and install a fresh copy of Raspian and reinstalling Minera- my question is this: should I have re-compiled Minera after installing additional Antsticks, as detailed within screenshot below captured from the <a href="https://getminera.com/" rel="nofollow noreferrer">Minera</a> manual-install page?</p>

<p><a href="https://i.sstatic.net/cLAkG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cLAkG.png" alt="enter image description here"></a>   </p>

<p>I've detailed my Minera install-process within the following <a href="https://gist.github.com/alexanderjsingleton/28d6553ed2fc276c947e96c342332a26" rel="nofollow noreferrer">Gist</a> if that helps clarify- basically, I'd like to avoid any future complications after installing additional Antsticks or miners because more are on the way!  Thank you.</p>

<mining-pools><mining-hardware><mining-software>
How to resolve Minera cgminer "no devices found" error after installing additional GekkoScience USB-Antsticks?
alexanderjsingleton
# How to resolve Minera cgminer "no devices found" error after installing additional GekkoScience USB-Antsticks?

(Asked by: username_0 on 2017-10-26)

I successfully completed my first attempt to configure my Raspberry Pi for Bitcoin mining with a GekkoScience USB Antstick and Minera; however, after installing additional Antsticks, my env somehow became corrupted which ultimately lead me to wipe my Raspberry Pi and install a fresh copy of Raspian and reinstalling Minera- my question is this: should I have re-compiled Minera after installing additional Antsticks, as detailed within screenshot below captured from the [Minera](https://getminera.com/) manual-install page?

[![enter image description here](https://i.sstatic.net/cLAkG.png)](https://i.sstatic.net/cLAkG.png)

I've detailed my Minera install-process within the following [Gist](https://gist.github.com/username_0/28d6553ed2fc276c947e96c342332a26) if that helps clarify- basically, I'd like to avoid any future complications after installing additional Antsticks or miners because more are on the way! Thank you.

**Tags:** mining-pools, mining-hardware, mining-software


---

## 1 answers

### Answer by username_0 on 2017-10-27. Score: 0 | Accepted answer

Ok, any hardware additions to an existing Raspberry Pi \* Minera environment or any adjustments to the hardware parameters specified in Minera Settings > Manual-options do indeed require recompiling cgminer. In order to resolve, proceed with the following:

1. `cd /var/www/minera`
2. `sudo nano build_miner.sh`
3. Scroll down to the cgminer config and append `-enable-blockerupter` so the entire line displays `CGMINER_CONFIG="--enable-avalon2 --enable-bflsc --enable-bitforce --enable-bitfury --enable-drillbit --enable-hashfast --enable-icarus --enable-klondike --enable-modminer --enable-blockerupter"`
4. Exit and Write.
5. Run `sudo ./build_miner.sh all`
6. Upon compiling, exit from your host-session, unplug the antsticks, power-cycle the Raspberry Pi and then plug-in antsticks.
7. Log-in to the Raspberry Pi and sign-in to Minera- you should see verifiable success displayed in the Minera Dashboard > Device Tree.


---

