Pages:
Author

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

newbie
Activity: 54
Merit: 0
First off, thanks for the update, loving the new setup.

One minor gripe I have (and I'm not sure how hard it is to fix) is that when using bfgminer, the hashrate average that is displayed in the status area at the top of the screen in "Advanced" is read from the 5s average instead of the total average. I'm not sure if this was intentional, but when I hover the mouse over the display area, it says "cgminer > summary > mhsavg" so I assume it's just looking at the wrong value when using bfgminer.

One other issue that seems rather intermittent is that the auto update of the "Advanced" tab doesn't seem to work sometimes. Once in a while it will auto update as intended, but much of the time it just continues to count up seconds without refreshing.

All in all, I still really enjoy this distro for pi mining, keep up the great work!
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Now that I'm using (officially) the 0.2.3 version of MinePeon, hopefully for the next few months without need of saving a new full version to another SD, I do need some help, to automate the start of the LCD python2 cgminerLCDStats.py program.

I usually do the following commands, after a RPI reboot/restart and connecting to the RPI via PuTTY:

Quote
screen -S LCD
cd cgminerLCDStats
sudo python2 cgminerLCDStats.py
CTRL A + D

How can I automate it? Please don't forget I'm less than a noobie @ Linux. I don't know Linux! I'm a pure donkey...
hero member
Activity: 561
Merit: 500
will the lcdstats also work for this lcd?
http://www.adafruit.com/products/946

or what needs to be changed?
sr. member
Activity: 294
Merit: 250
Thank you Kano
However I had installed it as part of the tutorial.

I redid the commands though for its installation and I'm still receiving this error.

Code:
minepeon@minepeon ~/pyusb $ sudo python2 setup.py install
[sudo] password for minepeon:
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
Ah OK - well I got my 2nd RPi (finally) today and booted it up with my old Raspbian SD and got that same error.
That was my fix that worked.
So must be something else then.

I just got up and saw this. I'll write the new version to my extra card in a few minutes and give it a try. It does look like the drivers installed properly. But the OS sure seems to not be seeing it. Do any of the demo apps work?

I'll try and duplicate the issue and post back here.

Ok, just got the new version of MinePeon up and running on my test Pi with no miners. I pulled down pyUSB and the cgminerLCDStats code with no other updates. For a quick test, I verified the current code will display properly when pointed at another instance of cgminer on my network. Later I'll transfer the install to my miner Pi, but for now I'm confident the code works on the new version.

It sounds like you need to verify operation of the LCD on another system, if possible. Or maybe check the USB connections at both ends. Basically you're getting the error that occurs when the device can't be found :/
hero member
Activity: 734
Merit: 500
Tryin to update via ssh, Following the instructions on github. But it stops when writing "git pull" with following Note:

error: Your local changes to the following files would be overwritten by merge:
   etc/miner.conf.donate
   http/inc/miner.inc.php
Please, commit your changes or stash them before you can merge.
Aborting

As I'm new to this, how can I commit or stash? No need to save setups or stats.

This was sort of covered up-thread a little ways:
https://bitcointalksearch.org/topic/m.2948693

Based on that post, I think you would do (but of course you WILL lose changes/setup):

git checkout etc/miner.conf.donate
git http/inc/miner.inc.php
git pull

Not sure of this will work for you though. It might be better to do a fresh install of the new version.

Thanks, did a fresh install and is working. I just wanted to try and see if I an do this. Playin and learning, try and error...
newbie
Activity: 18
Merit: 0
How to update or backup form minepeon 0.2.2? I would like to keep statistics.
For stats only: Copy the contents of /opt/minepeon/var and /opt/minepeon/http/rrd
For pools: Copy this file: /opt/minepeon/etc/miner.conf
For settings: Copy this file: /opt/minepeon/etc/minepeon.conf

Copy them to your computer and replace them on a SD with the newest release.


Thanks  Kiss
sr. member
Activity: 294
Merit: 250
Tryin to update via ssh, Following the instructions on github. But it stops when writing "git pull" with following Note:

error: Your local changes to the following files would be overwritten by merge:
   etc/miner.conf.donate
   http/inc/miner.inc.php
Please, commit your changes or stash them before you can merge.
Aborting

As I'm new to this, how can I commit or stash? No need to save setups or stats.

This was sort of covered up-thread a little ways:
https://bitcointalksearch.org/topic/m.2948693

Based on that post, I think you would do (but of course you WILL lose changes/setup):

git checkout etc/miner.conf.donate
git http/inc/miner.inc.php
git pull

Not sure of this will work for you though. It might be better to do a fresh install of the new version.
hero member
Activity: 734
Merit: 500
Tryin to update via ssh, Following the instructions on github. But it stops when writing "git pull" with following Note:

error: Your local changes to the following files would be overwritten by merge:
   etc/miner.conf.donate
   http/inc/miner.inc.php
Please, commit your changes or stash them before you can merge.
Aborting

As I'm new to this, how can I commit or stash? No need to save setups or stats.
sr. member
Activity: 294
Merit: 250
Thank you Kano
However I had installed it as part of the tutorial.

I redid the commands though for its installation and I'm still receiving this error.

Code:
minepeon@minepeon ~/pyusb $ sudo python2 setup.py install
[sudo] password for minepeon:
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
Ah OK - well I got my 2nd RPi (finally) today and booted it up with my old Raspbian SD and got that same error.
That was my fix that worked.
So must be something else then.

I just got up and saw this. I'll write the new version to my extra card in a few minutes and give it a try. It does look like the drivers installed properly. But the OS sure seems to not be seeing it. Do any of the demo apps work?

I'll try and duplicate the issue and post back here.
newbie
Activity: 27
Merit: 0
How to update or backup form minepeon 0.2.2? I would like to keep statistics.
For stats only: Copy the contents of /opt/minepeon/var and /opt/minepeon/http/rrd
For pools: Copy this file: /opt/minepeon/etc/miner.conf
For settings: Copy this file: /opt/minepeon/etc/minepeon.conf

Copy them to your computer and replace them on a SD with the newest release.

***** ATTENTION WEBUI DEVELOPER********
I used the no color settings page and got locked out of WEBUI

That's a bug indeed. Try to login and leave the password empty.

You can still set the password with the advanced page.
newbie
Activity: 18
Merit: 0
How to update or backup form minepeon 0.2.2? I would like to keep statistics.
sr. member
Activity: 283
Merit: 250
Phew, it's not just me then.

Thank you for trying though  Grin
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Thank you Kano
However I had installed it as part of the tutorial.

I redid the commands though for its installation and I'm still receiving this error.

Code:
minepeon@minepeon ~/pyusb $ sudo python2 setup.py install
[sudo] password for minepeon:
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
Ah OK - well I got my 2nd RPi (finally) today and booted it up with my old Raspbian SD and got that same error.
That was my fix that worked.
So must be something else then.
sr. member
Activity: 283
Merit: 250
Thank you Kano
However I had installed it as part of the tutorial.

I redid the commands though for its installation and I'm still receiving this error.

Code:
minepeon@minepeon ~/pyusb $ sudo python2 setup.py install
[sudo] password for minepeon:
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/pyusb-1.0.0a4-py2.7.egg-info
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I've just carried out a fresh install of 0.2.3

Whilst doing this my LCD screen arrived as recommended on this thread.

Following the instructions at https://github.com/cardcomm/cgminerLCDStats/blob/master/MinePeon%20Install.md

On the final section of running
Code:
sudo python2 cgminerLCDStats.py

it states:

Code:
Welcome to cgminerLCDStats
Copyright 2013 Cardinal Communications
Main Exception Handler:
LCD Sys Info device not found

Exception AttributeError: "'LCDSysInfo' object has no attribute 'devh'" in > ignored
Traceback (most recent call last):
  File "cgminerLCDStats.py", line 376, in
    displayErrorScreen(str(e))
  File "cgminerLCDStats.py", line 201, in displayErrorScreen
    display = LCDSysInfo()
  File "/home/minepeon/cgminerLCDStats/pylcdsysinfo.py", line 319, in __init__
    raise IOError("LCD Sys Info device not found")
IOError: LCD Sys Info device not found
Exception AttributeError: "'LCDSysInfo' object has no attribute 'devh'" in > ignored


Is anybody able to help?

Thank you as always
You are missing python usb
legendary
Activity: 1680
Merit: 1014
Just for info :
Am getting power issues on the USB again with the new build ( same as when I updated Arch )
It would seem the updated Arch does not like my hub.
I have NOT cut the 5V line on the usb cable (yet) as I never needed to before (it always worked fine on the old Arch) and I could always plug and unplug freely.

Anyway am off to splice some cables.  Wink

P.S Its the red wire is it not ?

Yes.
sr. member
Activity: 283
Merit: 250
I've just carried out a fresh install of 0.2.3

Whilst doing this my LCD screen arrived as recommended on this thread.

Following the instructions at https://github.com/cardcomm/cgminerLCDStats/blob/master/MinePeon%20Install.md

On the final section of running
Code:
sudo python2 cgminerLCDStats.py

it states:

Code:
Welcome to cgminerLCDStats
Copyright 2013 Cardinal Communications
Main Exception Handler:
LCD Sys Info device not found

Exception AttributeError: "'LCDSysInfo' object has no attribute 'devh'" in > ignored
Traceback (most recent call last):
  File "cgminerLCDStats.py", line 376, in
    displayErrorScreen(str(e))
  File "cgminerLCDStats.py", line 201, in displayErrorScreen
    display = LCDSysInfo()
  File "/home/minepeon/cgminerLCDStats/pylcdsysinfo.py", line 319, in __init__
    raise IOError("LCD Sys Info device not found")
IOError: LCD Sys Info device not found
Exception AttributeError: "'LCDSysInfo' object has no attribute 'devh'" in > ignored


Is anybody able to help?

Thank you as always
BG4
legendary
Activity: 1006
Merit: 1024
PaperSafe
***** ATTENTION WEBUI DEVELOPER********





from index.php to settings.php link ....the page is not in color and only has one password area with no confirm....
from advanced.html#/status to advanced.html#/settings    link is in color and has the password confirm area.....

I used the no color settings page and got locked out of WEBUI
member
Activity: 66
Merit: 10
no "sudo screen -r" ?


I've not tested the new release yet, but my understanding is that you have to run 'screen -r' as user minepeon, so try it without the sudo if you are logged in as minepeon.




 

thanks.

run 'screen -r' as user minepeon
hero member
Activity: 574
Merit: 500
Medical Translations for Bitcoins
Update time again!

There are so many changes underneath the hood that the change log is huge (see below for the full details).  You don’t need to re image, but if you don’t your going to be missing out on quite a few improvements, some of which cannot be distributed through the git system.


So, as I am still a noob with this even after 2 years, whats the best way to update from 0.2.2? Just delete everything, install the new version and setup everything again?
Or should I update via console? If so, with which commands to execute in what order?

What has changed (in a nutshell)? Like what user passwords need to be changed? ("root", "minepeon", anything else?)
Pages:
Jump to: