Bitcoin Forum
September 20, 2018, 01:51:22 PM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Minera 0.4.0 and Gridseed 5 Chip miners mine Bitcoin?  (Read 4313 times)
Axiste
Full Member
***
Offline Offline

Activity: 149
Merit: 100


View Profile
January 11, 2015, 09:43:46 AM
 #21

you could run a seperate instance of BFGminer in the background on minera, as I did for my dual mining on page 66 ish of Minera thread, you put the startup command into the rc.local settings on the dashboard settings page.

Essentially it would be

screen -dmS bfgminer /var/www/minera/minera-bin/bfgminer -o <pool> -u <user> -p <pass> -S antminer:all --set-device antminer:clock=x0781 --api-listen --api-port 4030 --api-allow W:192.168.0.0/24

That will start bfgminer seperately behind the minera dashboard, with an antminer U1 at 1.8GHs, with the api set on port 4030 (so as not to interfere with the CPUMiner running on Minera) and allowing full control of the api from the 192.168.0.* network.

Obviously change the -S antminer:all --set-device antminer:clock=x0781 for settings that work for your device.

If my advice has helped you out, feel free to throw some Satoshi's my way!
BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ
Running a Full Node Smiley
Einax Airdrops and Bounties made easy! List your ERC-20 token
FREE
ETH markets launching soon!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537451482
Hero Member
*
Offline Offline

Posts: 1537451482

View Profile Personal Message (Offline)

Ignore
1537451482
Reply with quote  #2

1537451482
Report to moderator
Mine24-7
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
January 12, 2015, 12:14:58 AM
 #22


Essentially it would be

screen -dmS bfgminer /var/www/minera/minera-bin/bfgminer -o <pool> -u <user> -p <pass> -S antminer:all --set-device antminer:clock=x0781 --api-listen --api-port 4030 --api-allow W:192.168.0.0/24

That will start bfgminer seperately behind the minera dashboard, with an antminer U1 at 1.8GHs, with the api set on port 4030 (so as not to interfere with the CPUMiner running on Minera) and allowing full control of the api from the 192.168.0.* network.

Obviously change the -S antminer:all --set-device antminer:clock=x0781 for settings that work for your device.
Thanks Axiste!!!! Great info! I got it working! The Gridseed 5 Chips are mining AND my Red Furies are mining too. I can tell they are mining because the lights on them are flashing and the worker stats page (on the pool's website) shows them working. But I can't see BFGminer running from SSH or my browser.

Here's what I ended up putting in....
screen -dmS bfgminer /var/www/minera/minera-bin/bfgminer -o stratum+tcp://stratum.bitcoin.cz:3333 -u MyUserName.redfuries -p x -S bigpic:all --api-listen --api-port 4030 --api-allow W:192.168.1.50

My computer's IP is 192.168.1.50 on my local network, so I should have access. What do I need to do in SSH or my browser to see the instance of BFGminer running?
Axiste
Full Member
***
Offline Offline

Activity: 149
Merit: 100


View Profile
January 12, 2015, 01:19:10 AM
 #23

while on ssh, you need to do:

screen -r bfgminer

which will bring it to the front so you can see it in the terminal.

then, to leave it running when you finish looking at it, do:

ctrl + a, then d

this will move it back to background, otherwise if you press q it will quit.

If my advice has helped you out, feel free to throw some Satoshi's my way!
BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ
Running a Full Node Smiley
Mine24-7
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
January 12, 2015, 01:45:22 AM
 #24

while on ssh, you need to do:

screen -r bfgminer

which will bring it to the front so you can see it in the terminal.

then, to leave it running when you finish looking at it, do:

ctrl + a, then d

this will move it back to background, otherwise if you press q it will quit.
Nope....  Sad Didn't work. When I enter "screen -r bfgminer" it returns "There is no screen to be resumed matching bfgminer."

If I enter "screen -r" I see my Gridseeds mining away.
Axiste
Full Member
***
Offline Offline

Activity: 149
Merit: 100


View Profile
January 12, 2015, 09:40:27 AM
 #25

oh, might need to do:

sudo screen -r bfgminer

as its in rc.local its probably started as root user not minera

If my advice has helped you out, feel free to throw some Satoshi's my way!
BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ
Running a Full Node Smiley
Mine24-7
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
January 12, 2015, 04:22:54 PM
 #26

oh, might need to do:
sudo screen -r bfgminer
as its in rc.local its probably started as root user not minera
There it is!!! Now I see it! The "sudo" did the trick.

Now I can see that each miner is working, and the speed and error rate of each miner.

Thank you Axiste!!!
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!