Bitcoin Forum
June 19, 2024, 04:20:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bfgminer on OpenWRT issue  (Read 545 times)
Zaccaro (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
September 10, 2013, 03:32:55 PM
 #1

Hi Bitcoin Community.

I connected my Mining HW (SHA256) to the USB Port of my router.
BFGminer (v3.2.0) is mining fine if I start it manually via SSH.
I wrote an init.d script to let the router mine automatically from startup. The mining does start automatically but I have no more access to the internet when the script is active. I have to disable the script to get the LAN to WAN connection.

This is the script. Maybe you can tell me whats wrong.
Code:
#!/bin/sh /etc/rc.common
# bfgminer script

START=94
STOP=100

start() {

        bfgminer -o pool.XXX:8332 -u XXX -p XXX
}

stop() {
         bfgminer -X quit

}


I tried to start mining usinf #screen and & for running in background to be able to close the SSH-con but that doesn't work and would only be a workaround.

Some help would be nice.

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!