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.
#!/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.