Bitcoin Forum
April 25, 2024, 05:07:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2  All
  Print  
Author Topic: How to mine with gridseeds and a raspberry pi.  (Read 25589 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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
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



Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
1714021632
Hero Member
*
Offline Offline

Posts: 1714021632

View Profile Personal Message (Offline)

Ignore
1714021632
Reply with quote  #2

1714021632
Report to moderator
1714021632
Hero Member
*
Offline Offline

Posts: 1714021632

View Profile Personal Message (Offline)

Ignore
1714021632
Reply with quote  #2

1714021632
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714021632
Hero Member
*
Offline Offline

Posts: 1714021632

View Profile Personal Message (Offline)

Ignore
1714021632
Reply with quote  #2

1714021632
Report to moderator
1714021632
Hero Member
*
Offline Offline

Posts: 1714021632

View Profile Personal Message (Offline)

Ignore
1714021632
Reply with quote  #2

1714021632
Report to moderator
1714021632
Hero Member
*
Offline Offline

Posts: 1714021632

View Profile Personal Message (Offline)

Ignore
1714021632
Reply with quote  #2

1714021632
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
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.

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
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

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Mining for the hell of it.


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

raspbian..

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
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.

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Mining for the hell of it.


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

i like raspbian

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
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

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
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?

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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 (OP)
Hero Member
*****
Offline Offline

Activity: 574
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?

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
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!