I have a Rpi 1x Block erupter USB 1x Block eruptor Blade.
The usb one is running good on the Minepeon, but i cant figure out, how to get the blade running with mipeon.
Atm the Blade is running over a different PC, where the stratum proxy is running.
To control a blade from cgminer/bfgminer, you need to make sure you have compiled with libmicrohttpd and set an http-port in the options to connect to.
I'm trying to figure this all out tomorrow.
I tried to install the proxy on the Rpi, but get several errors. The last one:
minepeon@minepeon ~/stratum-mining-proxy $ ./mining_proxy.py
Traceback (most recent call last):
File "./mining_proxy.py", line 49, in
from stratum import settings
ImportError: No module named 'stratum'
Did you install the module 'stratum'?
Instructions from stratum-mining-proxy:
Installation on Linux using Git
This is advanced option for experienced users, but give you the easiest way for updating the proxy.
1.git clone git://github.com/slush0/stratum-mining-proxy.git
2.cd stratum-mining-proxy
3.sudo apt-get install python-dev # Development package of Python are necessary
4.sudo python distribute_setup.py # This will upgrade setuptools package
-> This should install stratum module -> 5.sudo python setup.py develop # This will install required dependencies (namely Twisted and Stratum libraries), but don't install the package into the system.
6.You can start the proxy by typing "./mining_proxy.py" in the terminal window. Using default settings, proxy connects to Slush's pool interface.
7.If you want to connect to another pool or change other proxy settings, type "./mining_proxy.py --help".
8.If you want to update the proxy, type "git pull" in the package directory.
Thx for trying this.
And yes i followed the steps.
On step 5 i installed the normal python package, because cant find the dev package.
Step 5 give me this:
minepeon@minepeon ~/stratum-mining-proxy $ sudo python setup.py develop
running develop
running egg_info
creating stratum_mining_proxy.egg-info
writing dependency_links to stratum_mining_proxy.egg-info/dependency_links.txt
writing stratum_mining_proxy.egg-info/PKG-INFO
writing top-level names to stratum_mining_proxy.egg-info/top_level.txt
writing requirements to stratum_mining_proxy.egg-info/requires.txt
writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt'
reading manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt'
writing manifest file 'stratum_mining_proxy.egg-info/SOURCES.txt'
running build_ext
Processing distribute-0.6.28-py3.3.egg
creating /usr/lib/python3.3/site-packages/distribute-0.6.28-py3.3.egg
Extracting distribute-0.6.28-py3.3.egg to /usr/lib/python3.3/site-packages
Adding distribute 0.6.28 to easy-install.pth file
Installing easy_install script to /usr/bin
Installing easy_install-3.3 script to /usr/bin
Installed /usr/lib/python3.3/site-packages/distribute-0.6.28-py3.3.egg
Creating /usr/lib/python3.3/site-packages/stratum-mining-proxy.egg-link (link to .)
Adding stratum-mining-proxy 1.5.2 to easy-install.pth file
Installing mining_proxy.py script to /usr/bin
Installed /home/minepeon/stratum-mining-proxy
Processing dependencies for stratum-mining-proxy==1.5.2
Searching for argparse
Reading http://pypi.python.org/simple/argparse/
Best match: argparse 1.2.1
Downloading http://argparse.googlecode.com/files/argparse-1.2.1.tar.gz#md5=2fbef8cb61e506c706957ab6e135840c
Processing argparse-1.2.1.tar.gz
Writing /tmp/easy_install-dt5iu6/argparse-1.2.1/setup.cfg
Running argparse-1.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dt5iu6/argparse-1.2.1/egg-dist-tmp-uu_000
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.orig' found anywhere in distribution
warning: no previously-included files matching '*.rej' found anywhere in distribution
no previously-included directories found matching 'doc/_build'
no previously-included directories found matching 'env24'
no previously-included directories found matching 'env25'
no previously-included directories found matching 'env26'
no previously-included directories found matching 'env27'
zip_safe flag not set; analyzing archive contents...
Adding argparse 1.2.1 to easy-install.pth file
Installed /usr/lib/python3.3/site-packages/argparse-1.2.1-py3.3.egg
Searching for stratum>=0.2.11
Reading http://pypi.python.org/simple/stratum/
Best match: stratum 0.2.12
Downloading https://pypi.python.org/packages/source/s/stratum/stratum-0.2.12.tar.gz#md5=a685da0dce43263db08ae949568b0f54
Processing stratum-0.2.12.tar.gz
Writing /tmp/easy_install-0yvo_0/stratum-0.2.12/setup.cfg
Running stratum-0.2.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0yvo_0/stratum-0.2.12/egg-dist-tmp-blbfsk
Traceback (most recent call last):
File "setup.py", line 43, in
setup(**args)
File "/usr/lib/python3.3/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.3/distutils/dist.py", line 929, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.3/distutils/dist.py", line 948, in run_command
cmd_obj.run()
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/develop.py", line 27, in run
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/develop.py", line 105, in install_for_development
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/easy_install.py", line 682, in process_distribution
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/pkg_resources.py", line 580, in resolve
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/pkg_resources.py", line 826, in best_match
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/pkg_resources.py", line 838, in obtain
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/easy_install.py", line 598, in easy_install
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/easy_install.py", line 628, in install_item
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/easy_install.py", line 823, in install_eggs
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/easy_install.py", line 1103, in build_and_install
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/command/easy_install.py", line 1089, in run_setup
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/sandbox.py", line 31, in run_setup
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/sandbox.py", line 79, in run
File "/home/minepeon/stratum-mining-proxy/distribute-0.6.28-py3.3.egg/setuptools/sandbox.py", line 34, in
File "setup.py", line 8, in
import py2exe
File "/tmp/easy_install-0yvo_0/stratum-0.2.12/stratum/__init__.py", line 1, in
ImportError: No module named 'server'
Maybe i messed up the installation. How to reinstall it?