Pages:
Author

Topic: How to mine with gridseeds and a raspberry pi. - page 2. (Read 25617 times)

legendary
Activity: 1428
Merit: 1000
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
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
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?
hero member
Activity: 687
Merit: 500
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?
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
have you rebooted the pi?

Also how do you have them connected?
hero member
Activity: 687
Merit: 500
Ok just installed BFGminer it runs pretty good but it only detects one device?
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
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
newbie
Activity: 1
Merit: 0
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
member
Activity: 246
Merit: 10
What does make Raspian the best forum? What's the plus?
full member
Activity: 126
Merit: 100
Thanks for the tips. Will try the instructions when my gridseed arrive.
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
i like raspbian
newbie
Activity: 33
Merit: 0
 
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?
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
well i have been mining on mine since sunday with no issues so far.
full member
Activity: 445
Merit: 100
is bfgminer stable with the 5 chip gridseeds yet?  I have yet to find something as stable as running individual cpuminer threads.

hero member
Activity: 574
Merit: 500
Mining for the hell of it.
raspbian..
full member
Activity: 126
Merit: 100
My point is: are you using Scripta, Raspbian, Pidora, RaspBMC, OpenELEC, RSIC OS, Arch, or something else.
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
You dont have to use SSH but if you want to you can.

and also you can use screen
full member
Activity: 126
Merit: 100
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.
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
I got pointed to this.

Look at main OP.
full member
Activity: 126
Merit: 100
hero member
Activity: 574
Merit: 500
Mining for the hell of it.
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


Pages:
Jump to: