Bitcoin Forum
May 12, 2024, 11:02:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitfury stable/rpi?  (Read 802 times)
psyberwolf (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
November 17, 2013, 01:59:57 AM
 #1

hi all,
   I currently running 7x bitfury's on my Rpi under bfgminer 3.0.99. BFGminer seems to just stop every 24 hours or so and the USB's get sick, if i restart BFGminer all seems ok and the sicks start mining again..just wondering if anyone knows and easy way i can do the following

run bfgminer on startup
set a script to reboot the pi every 24 hours.

should the sticks be doing this?. dunno if its the version of BFG or the sticks doing it,.
ive done a bit of fiddling around but figured someone may have already set this up so might as well ask.

Thanks,
Brendan.
1715511751
Hero Member
*
Offline Offline

Posts: 1715511751

View Profile Personal Message (Offline)

Ignore
1715511751
Reply with quote  #2

1715511751
Report to moderator
1715511751
Hero Member
*
Offline Offline

Posts: 1715511751

View Profile Personal Message (Offline)

Ignore
1715511751
Reply with quote  #2

1715511751
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
psyberwolf (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
November 17, 2013, 02:36:18 AM
 #2

well probably looks really messy but figured how to start at boot with making a "bfgminer" file in the /etc/init.d dir
i have little linux exp so this probably looks like garbage but works.


 #! /bin/sh
# /etc/init.d/bfgminer

### BEGIN INIT INFO
# Provides:          bfgminer
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Simple script to start a program at boot
# Description:       A simple script from www.stuffaboutcode.com which will start / stop a program a boot / shutdown.
### END INIT INFO

# If you want a command to always run, put it here

/usr/bin/bfgminer -o stratum.mining.eligius.st:3334 -u ***address here -p pass -S bitfury

# Carry out specific functions when asked to by the system
case "$1" in
  start)
    echo "Starting bitfury"
    # run application you want to start
 
    ;;
  stop)
    echo "Stopping bitfury"
    # kill application you want to stop

    ;;
  *)
    echo "Usage: /etc/init.d/bfgminer {start|stop}"
    exit 1
    ;;
esac

exit 0

===============

than run these 2 to get it to exec

sudo chmod 755 /etc/init.d/bfgminer

sudo update-rc.d bfgminer defaults

========

now to schedule reboot!
Pages: [1]
  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!