Pages:
Author

Topic: Linux mining distro for the Raspberry PI - MinePeon - page 69. (Read 685140 times)

hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Just thought I'd share this over here as well...

I just finished a little addition for MinePeon, which is integration with MobileMinerApp (including remote Start,Stop,Restart from within the app)... I haven't pushed it to github yet (still need to talk with Neil (MineForeman.com)), like wise I'm still playing with a few other things on MinePeon.

There is a script running in the background that updates MobileMinerApp with stats & checks for incoming commands, currently every minute. There will  be a configuration to allow you to turn the checking down to every 30 seconds (minimum).

Anyhow, here's some iOS screenshots...

This is great! Congratulations, tk1337. I already installed it in my Galaxy S3 Android Gizmo and already registered it. What do I need now to do to my 3 Rπ's with MinePeon?
sr. member
Activity: 266
Merit: 250
iOS 7 too aye.

 Grin

and I almost didn't renew my iOS developer subscription this year.
sr. member
Activity: 257
Merit: 250
Just thought I'd share this over here as well...

I just finished a little addition for MinePeon, which is integration with MobileMinerApp (including remote Start,Stop,Restart from within the app)... I haven't pushed it to github yet (still need to talk with Neil (MineForeman.com)), like wise I'm still playing with a few other things on MinePeon.

There is a script running in the background that updates MobileMinerApp with stats & checks for incoming commands, currently every minute. There will  be a configuration to allow you to turn the checking down to every 30 seconds (minimum).

iOS 7 too aye.
sr. member
Activity: 266
Merit: 250
I know its exactly what im doing now. I use a netbook to run the proxy.

But i cant get it work on the rpi, thats my Problem.

Its already running with the proxy.

Ok. on my Pi, I recompiled with libmicrohttpd

I started miner and set a httpd-port

I changed config of my blade and added ip address of pi (i.e. 192.168.1.10,192.168.1.10)

http-port: 8330,8330

And it worked just fine

I've got 4 blades coming in soon & with another rPi, I don't foresee an issue from your previous posts, but I might bug you later if I can't get it going Wink
hero member
Activity: 672
Merit: 500
Damn good job. That looks so badass. Everything I ever wanted in minepeon is coming to life

sr. member
Activity: 266
Merit: 250
Just thought I'd share this over here as well...

I just finished a little addition for MinePeon, which is integration with MobileMinerApp (including remote Start,Stop,Restart from within the app)... I haven't pushed it to github yet (still need to talk with Neil (MineForeman.com)), like wise I'm still playing with a few other things on MinePeon.

There is a script running in the background that updates MobileMinerApp with stats & checks for incoming commands, currently every minute. There will  be a configuration to allow you to turn the checking down to every 30 seconds (minimum).

Anyhow, here's some iOS screenshots...
full member
Activity: 163
Merit: 100
With the help of RickRock i get it running.
Thx for the great Support.
sr. member
Activity: 290
Merit: 250
I know its exactly what im doing now. I use a netbook to run the proxy.

But i cant get it work on the rpi, thats my Problem.

Its already running with the proxy.

Ok. on my Pi, I recompiled with libmicrohttpd

I started miner and set a httpd-port

I changed config of my blade and added ip address of pi (i.e. 192.168.1.10,192.168.1.10)

http-port: 8330,8330

And it worked just fine
full member
Activity: 163
Merit: 100
I know its exactly what im doing now. I use a netbook to run the proxy.

But i cant get it work on the rpi, thats my Problem.

Its already running with the proxy.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
My Problem is to get it running on the pi...
It works on my ubuntu machine, but not on the minepeon.
It seems a Problem of Arch, because it seems to work on other distros.

It works fine with the stratum Proxy.
Only on the wrong machine...



I have not tried a Blade out on MinePeon, it is something that I should do.

Can anyone give me a good price for one and I will put it onto my workbench.

Neil
Blades only do getwork over ethernet ...
Yes they call Getwork to the stratum proxy

The mining software (that is the only control that exists for blades) is very basic and only does getwork with a limited number of pools also.
They mine by themselves with their own internal (crappy) mining hardware.
The only thing you can do for them is provide a getwork server/proxy like a pool for it.
i.e. it mines to a getwork pool and you can run a 'getwork proxy' and point it at the proxy that talks to a pool, instead of pointing it at a pool or at your bitcoind.

So your question about using the device instead of pointing it directly at a pool or your bitcoind is really just: what getwork proxies work on RPi that I can point it at.
full member
Activity: 163
Merit: 100
My Problem is to get it running on the pi...
It works on my ubuntu machine, but not on the minepeon.
It seems a Problem of Arch, because it seems to work on other distros.

It works fine with the stratum Proxy.
Only on the wrong machine...



I have not tried a Blade out on MinePeon, it is something that I should do.

Can anyone give me a good price for one and I will put it onto my workbench.

Neil
Blades only do getwork over ethernet ...
Yes they call Getwork to the stratum proxy

The mining software (that is the only control that exists for blades) is very basic and only does getwork with a limited number of pools also.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
It works fine with the stratum Proxy.
Only on the wrong machine...



I have not tried a Blade out on MinePeon, it is something that I should do.

Can anyone give me a good price for one and I will put it onto my workbench.

Neil
Blades only do getwork over ethernet ...
Yes they call Getwork to the stratum proxy

The mining software (that is the only control that exists for blades) is very basic and only does getwork with a limited number of pools also.
full member
Activity: 163
Merit: 100
It works fine with the stratum Proxy.
Only on the wrong machine...



I have not tried a Blade out on MinePeon, it is something that I should do.

Can anyone give me a good price for one and I will put it onto my workbench.

Neil
Blades only do getwork over ethernet ...
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I have not tried a Blade out on MinePeon, it is something that I should do.

Can anyone give me a good price for one and I will put it onto my workbench.

Neil
Blades only do getwork over ethernet ...
sr. member
Activity: 290
Merit: 250

Ahh... well, now that you mentioned it.... I recall that I did end up putting it on my Ubuntu box  Shocked

Sorry, I'm old with a bad memory.
full member
Activity: 163
Merit: 100

If I remember correctly.... I had problems too and switched versions to this one:

https://github.com/viperaus/stratum-mining

I ignored the litecoin stuff tho.

Sorry, at work and it's been awhile ago and I don't remember.

Can look when home.

Tried to install, but no luck. Its not for Arch ARM / Minepeoon. Most of commands and packages doesent exist. Or cant find it...
sr. member
Activity: 290
Merit: 250

If I remember correctly.... I had problems too and switched versions to this one:

https://github.com/viperaus/stratum-mining

I ignored the litecoin stuff tho.

Sorry, at work and it's been awhile ago and I don't remember.

Can look when home.
full member
Activity: 163
Merit: 100

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:
Code:
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?
sr. member
Activity: 290
Merit: 250

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.

full member
Activity: 163
Merit: 100
but stratum proxy is possible?
Pages:
Jump to: