Bitcoin Forum

Bitcoin => Mining support => Topic started by: klondike_bar on February 11, 2015, 04:08:31 AM



Title: I need an easy stratum proxy for the raspberry pi
Post by: klondike_bar on February 11, 2015, 04:08:31 AM
I just spent about two hours attempting to get a working raspbian install that has keyboard, ssh, and ethernet connection, and its driving me up the wall. I havent even got to the part where i need to get and install the proxy files


does anybody have an image of a working SD card with a stratum proxy functionality - or at least a fully-installed OS? installing from scratch in linux isnt my strong suit.


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: Newar on February 11, 2015, 04:17:42 AM
I just spent about two hours attempting to get a working raspbian install that has keyboard, ssh, and ethernet connection, and its driving me up the wall. [...]

What are you using those three are in the standard Raspian.  ???
http://www.raspberrypi.org/downloads/



Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: sidehack on February 11, 2015, 04:25:46 AM
Does slush's stratum proxy work on a Pi? It's a python thing, unfortunately, and I don't know what python support there is on the Pi. Probably a lot since I imagine there's a lot of overlap in the target customers.


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: Newar on February 11, 2015, 04:28:39 AM
Python is well supported, no worries there.


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: klondike_bar on February 11, 2015, 04:30:45 AM
I just spent about two hours attempting to get a working raspbian install that has keyboard, ssh, and ethernet connection, and its driving me up the wall. [...]

What are you using those three are in the standard Raspian.  ???
http://www.raspberrypi.org/downloads/



i did the raspboian install but it doesnt seemt o network. it briefly had an ip 192.168.1.142, then couldnt access it again.

I would really love a plug-and-play sd card image


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: Newar on February 11, 2015, 04:42:09 AM

Sounds more like an hardware issue to me. Is the RPi PSU powerful enough? It should provide 1A. Have you tried different ports on the router? Different LAN cables?


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: CrazyGuy on February 11, 2015, 04:44:25 AM
ckproxy is lightweight and very easy to setup.

Download and install your standard rpi wheezy image then follow the steps outlined in the ckpool build process to compile the application.

https://bitbucket.org/ckolivas/ckpool



Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: klondike_bar on February 11, 2015, 05:38:41 AM
ckproxy is lightweight and very easy to setup.

Download and install your standard rpi wheezy image then follow the steps outlined in the ckpool build process to compile the application.

https://bitbucket.org/ckolivas/ckpool



i tried running "sudo apt-get install build-essential ./configure --without-ckdb make" but got a whole wackload of errors.

really need an ELI5 on this it seems


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: -ck on February 11, 2015, 05:42:28 AM

i tried running "

Code:
sudo apt-get install build-essential
./configure --without-ckdb
make
" but got a whole wackload of errors.

really need an ELI5 on this it seems
They're separate lines which are not wrapped on the repository summary. Read the readme directly.


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: klondike_bar on February 11, 2015, 05:52:51 AM

i tried running "

Code:
sudo apt-get install build-essential
./configure --without-ckdb
make
" but got a whole wackload of errors.

really need an ELI5 on this it seems
They're separate lines which are not wrapped on the repository summary. Read the readme directly.
./configure --without-ckdb

"-bash: ./configure: No such file or directory"


Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: -ck on February 11, 2015, 07:32:14 AM

i tried running "

Code:
sudo apt-get install build-essential
./configure --without-ckdb
make
" but got a whole wackload of errors.

really need an ELI5 on this it seems
They're separate lines which are not wrapped on the repository summary. Read the readme directly.
./configure --without-ckdb

"-bash: ./configure: No such file or directory"

I guess I have to spell it out. You are building from git, there are extra instructions.



Title: Re: I need an easy stratum proxy for the raspberry pi
Post by: klondike_bar on February 11, 2015, 04:00:11 PM

i tried running "

Code:
sudo apt-get install build-essential
./configure --without-ckdb
make
" but got a whole wackload of errors.

really need an ELI5 on this it seems
They're separate lines which are not wrapped on the repository summary. Read the readme directly.
./configure --without-ckdb

"-bash: ./configure: No such file or directory"

I guess I have to spell it out. You are building from git, there are extra instructions.



so i figured out how to download the .git, autogen/configure/make/make install it so that theres a directory ckpool
i put my settings into the files: ckproxy, ckpool
now what? how do i run it, and set it up to run at boot?

i tried sudo ckpool in the src directory but go back "No bitcoinds active" and often get a warning about a JSON error w/ ckpool.conf