Bitcoin Forum

Bitcoin => Mining support => Topic started by: wetjet43 on November 02, 2013, 02:56:06 AM



Title: Auto-start bfgminer on raspberry pi?
Post by: wetjet43 on November 02, 2013, 02:56:06 AM
I've read through the fourms, and came across a few methods for auto starting cgminer, but haven't had any luck so far.

How can I auto start bfgminer on my raspberry pi?

The below commands don't work like they do with minepeon:
sudo systemctl enable bfgminer.service
sudo systemctl start bfgminer.service


I can type and edit:
sudo nano /etc/xdg/lxsession/LXDE/autostart
but, I'm unsure what to add to the list to run bfgminer.

Currently, I have to run "./bfgminer -S all" from withing the bfgminer directory.

Thank you!


Title: Re: Auto-start bfgminer on raspberry pi?
Post by: madcratebuilder on November 02, 2013, 04:02:52 PM
Why not run Minepeon on your Pi?  It starts bfgm or cgm, or choice in the config setup.  I've run as many as 60 miners across five hubs on a single Pi.  For the best hash and stability I like to keep it under 35+/- sticks per Pi.  I have 3 running now with 28/28/35 for a total hash of 30303mh/s.


Title: Re: Auto-start bfgminer on raspberry pi?
Post by: wetjet43 on November 02, 2013, 06:42:57 PM
Why not run Minepeon on your Pi?  It starts bfgm or cgm, or choice in the config setup.  I've run as many as 60 miners across five hubs on a single Pi.  For the best hash and stability I like to keep it under 35+/- sticks per Pi.  I have 3 running now with 28/28/35 for a total hash of 30303mh/s.

I wanted to build it myself. More of a pride "I did it myself!" thing. Nothing wrong with minepeon. It worked great when I used it. Found it a bit unstable though, so I sought out something different.

In the end, I installed tightvncserver and start it as a service. I run my miner with in in the desktop. I know it robs some of the resources, but the cpu never gets above 25%, and is usually at just 5% - 10%.

This is the page that U used to get tightvncserver up and running:
http://www.neil-black.co.uk/raspberry-pi-beginners-guide#.UnVH0RCQOk5