Bitcoin Forum
July 25, 2021, 01:49:37 PM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2  All
  Print  
Author Topic: How to mine with gridseeds and a raspberry pi.  (Read 25537 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
March 16, 2014, 01:11:59 AM
Last edit: April 18, 2014, 11:27:51 AM by demonmaestro
 #1

I want to know how and alot of people want to know how.
a nice and easy guide.


I will just stick this here for quick reference for people to get there gridseed miners up and going quick.
Ok, so first things first, disclaimer, I'm not a Linux guy, so please forgive me if I'm making a dumb mistake here.  I've also never used bgfminer so I've got that working against me as well.  

Thanks to everyone who helped me figure this out...here's a revised version of how to compile bfgminer for a RasPi...

------------------------------------------------
Steps I took to build BFGMiner from source:
------------------------------------------------

//update my RasPi first
Code:
sudo apt-get update

//saw this on the linux build instructions, so I presume I need these as pre-requisites to compiling bfgminer
Code:
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev

sudo apt-get install libjansson-dev uthash-dev libncurses5-dev libudev-dev libusb-1.0-0-dev libevent-dev

//cloned nwoolls version of bfgminer which has beta support for the miners in question
Code:
git clone -b feature/gridseed-support https://github.com/nwoolls/bfgminer

//build it
Code:
cd bfgminer

./autogen.sh

./configure CFLAGS="-O3" --enable-scrypt --enable-gridseed

make

sudo make install

sudo ldconfig

sudo nano bfgminer.conf

//make the bfgminer.conf file.
Code:
{
"pools" : [
        {
                "name" : "MyPool1",
                "url" : "stratum+tcp://mypool.url.com:3333",
                "user" : "myworker",
                "pass" : "x",
                "pool-priority" : "0"
        }
],
"api-allow" : "W:127.0.0.1,192.168.1/24",
"api-listen" : true
}

//trying to run it
Code:
sudo ./bfgminer -S gridseed:all --set-device gridseed:clock=850 --failover-only --scrypt -c bfgminer.conf



A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
1627220977
Hero Member
*
Offline Offline

Posts: 1627220977

View Profile Personal Message (Offline)

Ignore
1627220977
Reply with quote  #2

1627220977
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1627220977
Hero Member
*
Offline Offline

Posts: 1627220977

View Profile Personal Message (Offline)

Ignore
1627220977
Reply with quote  #2

1627220977
Report to moderator
richmke
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 16, 2014, 12:01:23 PM
 #2

Part 5: Throwing it all away and using A:Linux (and PI) B:Windows
https://bitcointalk.org/index.php?topic=494625.0
demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
March 17, 2014, 03:55:46 AM
 #3

I got pointed to this.

Look at main OP.

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
richmke
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 17, 2014, 06:39:55 PM
 #4

For the new Rasp Pi newbies, you may want to add the step one of loading the OS onto the Pi, and ssh into the Pi.
demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
March 17, 2014, 06:47:20 PM
 #5

You dont have to use SSH but if you want to you can.

and also you can use screen

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
richmke
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 17, 2014, 07:19:41 PM
 #6

My point is: are you using Scripta, Raspbian, Pidora, RaspBMC, OpenELEC, RSIC OS, Arch, or something else.
demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
March 17, 2014, 07:20:25 PM
 #7

raspbian..

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
surgexvb
Full Member
***
Offline Offline

Activity: 445
Merit: 100



View Profile
March 18, 2014, 09:01:24 AM
 #8

is bfgminer stable with the 5 chip gridseeds yet?  I have yet to find something as stable as running individual cpuminer threads.


|██████| | ██████SECURE AND LICENSED CRYPTOCURRENCY EXCHANGE██████ |██████| |
| INVECH |
WHITEPAPER | ANN THREAD | FACEBOOK | TWITTER | TELEGRAM | MEDIUM | INVECH |
|██████| | ███████JOIN INVECH INITIAL EXCHANGE OFFERING NOW!████████ |██████| |
demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
March 18, 2014, 09:34:50 AM
 #9

well i have been mining on mine since sunday with no issues so far.

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
alex_bronco
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
March 19, 2014, 09:50:19 AM
 #10

 
My point is: are you using Scripta, Raspbian, Pidora, RaspBMC, OpenELEC, RSIC OS, Arch, or something else.

What's the best from your point of view to use to mine?
demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
March 19, 2014, 09:58:06 AM
 #11

i like raspbian

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
sudoku
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 20, 2014, 01:39:01 PM
 #12

Thanks for the tips. Will try the instructions when my gridseed arrive.

1SudokuNgdzsYuANDinxUBwKgfyv5cptW
Monkeyseemonkeydo
Member
**
Offline Offline

Activity: 246
Merit: 10


View Profile
March 20, 2014, 06:30:20 PM
 #13

What does make Raspian the best forum? What's the plus?
dymale
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 21, 2014, 10:38:01 AM
 #14

I want to mine scrypt and sha-256 at pool https://www.megamultipool.com/pools.php by using Gridseed:
stratum+tcp://east-us.megamultipool.com:3354
stratum+tcp://east-us.megamultipool.com:5000

So, how I configure Raspberry Pi? Any help please...!  Huh
demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
March 24, 2014, 12:13:50 AM
 #15

I want to mine scrypt and sha-256 at pool https://www.megamultipool.com/pools.php by using Gridseed:
stratum+tcp://east-us.megamultipool.com:3354
stratum+tcp://east-us.megamultipool.com:5000

So, how I configure Raspberry Pi? Any help please...!  Huh

well follow whats up top and put in your pool into the bfgminer.conf

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
forevernoob
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500



View Profile
April 04, 2014, 08:15:14 PM
 #16

Ok just installed BFGminer it runs pretty good but it only detects one device?

demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
April 04, 2014, 08:16:05 PM
 #17

have you rebooted the pi?

Also how do you have them connected?

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
forevernoob
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500



View Profile
April 04, 2014, 09:06:54 PM
 #18

I'm not using a pi for this.
cgminer works but the performance isn't fantastic and it's unstable.
So wanted to try BFGminer...

In cgminer I have GSD 0, 1 and 2.
I have them connected to a USB hub and only GSD 0 comes up in BFGminer.

To get them all to run in cgminer I have to manully point it in "the right direction".

Code:
sudo ./cgminer --gridseed-options=baud=115200,freq=1000,chips=5,modules=1,usefifo=0,btc=16 --hotplug=0 -o stratum+tcp://eu.multipool.us:7777 -u  -p  --usb 001:019,001:020,001:021

Is there a similar option in BFGminer perhaps?

demonmaestro
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


Mining for the hell of it.


View Profile
April 05, 2014, 08:43:09 AM
 #19

I'm not using a pi for this.
cgminer works but the performance isn't fantastic and it's unstable.
So wanted to try BFGminer...

In cgminer I have GSD 0, 1 and 2.
I have them connected to a USB hub and only GSD 0 comes up in BFGminer.

To get them all to run in cgminer I have to manully point it in "the right direction".

Code:
sudo ./cgminer --gridseed-options=baud=115200,freq=1000,chips=5,modules=1,usefifo=0,btc=16 --hotplug=0 -o stratum+tcp://eu.multipool.us:7777 -u  -p  --usb 001:019,001:020,001:021

Is there a similar option in BFGminer perhaps?

bfgminer uses -S gridseed:all

what kind of hub are you using?

A fun ShoutBox. http://shoutscloud.com | Feel Like Donating? 1E1tJhAHVLCyw58pN7jXSFMLMrK6cDhw8v
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
PondSea
Legendary
*
Offline Offline

Activity: 1428
Merit: 1000


View Profile
April 09, 2014, 08:40:46 AM
 #20

pi@raspberrypi ~/bfgminer $ sudo ./bfgminer -S gridseed:all --set-device gridseed:clock=850 --failover-only --scrypt -c bfgminer.conf
 [2014-04-09 08:40:22] ./bfgminer: -c: JSON decode of file 'bfgminer.conf' failed
 unable to open bfgminer.conf: No such file or directory


Im getting this after doing all the steps?


Maybe add to the steps how to create the file.

pico bfgminer.conf

Then the config





░░░░░░░░░▀▀▀█████████
░░░░░░░░░░░░░░░████████
░░░░▄███████▄░░░░████████
░░░░███████████░░░░██████
░░░▀███████████░░░░████░░
███▄░░░░░░░░░░▀████░░░███░░██
█████▄▄▄▄▄▄▄▄▄▄▄████░░░██░░██
█████████████▄░░████░░░░░
░░█████████████░░█████
░░░░█████████▀░░░██████▌
░░░░░░░▀▀▀▀░░░░▄████████▌
░░░░░░░░░░▄▄▄▄███████
SuperNET.org
..BarterDEX..
.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
DECENTRALIZED CRYPTOCURRENCY EXCHANGE
Developed to Unite Coin Communities | ✔ SECURE ✔ FREE ✔ VISIBILITY ✔ EASY INTEGRATION |

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Pages: [1] 2  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!