Post
Topic
Board Hardware
Re: GekkoScience has a new stickminer that does 300+GH
by
MXG125
on 04/02/2023, 05:29:23 UTC
Okay so based on consensus I guess it is in my best option is to remove the CGMiner version that came from BitcoinMerch.com and install Kano's version.

So here is the update to what I had to do to get Kano's Version running on the BitcoinMerch Pi4.

Step 1. Follow Kano's instructions to install CGMINER on Pi here by running each line in terminal:

CGMiner Git

The master git for cgminer is https://github.com/kanoi/cgminer

CGMiner README https://github.com/kanoi/cgminer/blob/master/README

That includes linux compile steps, but to repeat, on linux:
Code:
sudo apt-get update
sudo apt-get upgrade -y

sudo apt-get install -y build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev zlib1g-dev git

cd
git clone https://github.com/kanoi/cgminer.git
cd cgminer

CFLAGS="-O2 -march=native -fcommon" ./autogen.sh --enable-gekko --enable-icarus

make

Step 2. Create a file called start_cgminer.sh in the following folder /home/pi/cgminer
Step 3. Edit the file with a text editor to include:
Code:
#!/bin/bash
cd /home/pi/cgminer

sudo ./cgminer -o stratum+tcp://stratum.kano.is:3333 -u YOURBTCADDRESS.WORKERNAME -p x --gekko-compacf-freq 400 --gekko-start-freq 300 --gekko-mine2 --gekko-tune2 60 --suggest-diff 128
Step 4. Replace YOURBTCADDRESS with your Kano.is username if using Kano's pool. If using CK's Pool then use your BTC Address.
Step 5. Add your WORKERNAME directly after the . following your BTC address/Username. for example:   On Kano's pool: sledge0001.miner on CK's Pool: 1KfQmhug959W79PHfASLym3Z17bJ6ohxNb.Miner
Step 6. Right click on the file you created, go to permissions and make sure "anyone" can execute the file.
Step 7. Open Terminal
Step 8.Type in:
Code:
sudo nano /etc/rc.local
Step 9. directly above the exit 0 type:
Code:
su - pi -c "screen -dm -S miner /home/pi/cgminer/start_cgminer.sh"
Step 10. Press CNTL + X to save
Step 11. Hit the Y key to confirm
Step 12. Hit your enter key to exit
Step 13. Reboot your pi typing
Code:
reboot
into the terminal and hitting enter
Step 14. When your Pi is back online open terminal again and type:
Code:
screen -r miner

And now you're in business using the Kano approved version!!!!!!

Optional:
Step 15. Navigate to /home/pi/git and move the folder vthoang to trash
Step 16. Navigate to /home/pi and move the .cgminer (NOTICE THE PERIOD) folder to the trash
Step 17. Right click on the Trash Bin and empty trash!


step 4 what does that look like if running ck pool.  how does that command look