demonmaestro (OP)
|
|
March 16, 2014, 01:11:59 AM Last edit: April 18, 2014, 11:27:51 AM by demonmaestro |
|
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 //saw this on the linux build instructions, so I presume I need these as pre-requisites to compiling bfgminer 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 git clone -b feature/gridseed-support https://github.com/nwoolls/bfgminer
//build it 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. { "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 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.
|
|
|
|
demonmaestro (OP)
|
|
March 17, 2014, 03:55:46 AM |
|
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
|
|
March 17, 2014, 06:39:55 PM |
|
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)
|
|
March 17, 2014, 06:47:20 PM |
|
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
|
|
March 17, 2014, 07:19:41 PM |
|
My point is: are you using Scripta, Raspbian, Pidora, RaspBMC, OpenELEC, RSIC OS, Arch, or something else.
|
|
|
|
demonmaestro (OP)
|
|
March 17, 2014, 07:20:25 PM |
|
raspbian..
|
Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02 Buy/Sell BitCoin & LiteCoin Click here! | Looking for a great exchange? CoinBase Has you covered.
|
|
|
surgexvb
|
|
March 18, 2014, 09:01:24 AM |
|
is bfgminer stable with the 5 chip gridseeds yet? I have yet to find something as stable as running individual cpuminer threads.
|
|
|
|
demonmaestro (OP)
|
|
March 18, 2014, 09:34:50 AM |
|
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
Activity: 33
Merit: 0
|
|
March 19, 2014, 09:50:19 AM |
|
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)
|
|
March 19, 2014, 09:58:06 AM |
|
i like raspbian
|
Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02 Buy/Sell BitCoin & LiteCoin Click here! | Looking for a great exchange? CoinBase Has you covered.
|
|
|
sudoku
|
|
March 20, 2014, 01:39:01 PM |
|
Thanks for the tips. Will try the instructions when my gridseed arrive.
|
1SudokuNgdzsYuANDinxUBwKgfyv5cptW
|
|
|
Monkeyseemonkeydo
Member
Offline
Activity: 246
Merit: 10
|
|
March 20, 2014, 06:30:20 PM |
|
What does make Raspian the best forum? What's the plus?
|
|
|
|
dymale
Newbie
Offline
Activity: 1
Merit: 0
|
|
March 21, 2014, 10:38:01 AM |
|
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...!
|
|
|
|
demonmaestro (OP)
|
|
March 24, 2014, 12:13:50 AM |
|
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...! 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
|
|
April 04, 2014, 08:15:14 PM |
|
Ok just installed BFGminer it runs pretty good but it only detects one device?
|
|
|
|
demonmaestro (OP)
|
|
April 04, 2014, 08:16:05 PM |
|
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
|
|
April 04, 2014, 09:06:54 PM |
|
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". 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)
|
|
April 05, 2014, 08:43:09 AM |
|
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". 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
Activity: 1428
Merit: 1000
|
|
April 09, 2014, 08:40:46 AM |
|
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
|
|
|
|
|