Bitcoin Forum
November 18, 2017, 01:06:25 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 681030 times)
phr33
Full Member
***
Offline Offline

Activity: 225


View Profile
August 19, 2013, 09:17:04 AM
 #1121

Thanks for the update!

I have a local mod I though you would also include in the release. Maybe you have, but I can't see it in git.

The latest cg-miner offer the HW error and reject rate percentage directly. This should remove the difficulty compensation issues once and for all Smiley

So in index.php I replaced the HW percentage calculation with:

$hwErrorPercent = ['DeviceHardware%'];



Just a suggestion Smiley

Once again thanks!

My BTC input: 1GAtPwoTGPQ35y9QugJueum5GzaEzLYjiQ
My GPG ID: B0CCFD4A
A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511010385
Hero Member
*
Offline Offline

Posts: 1511010385

View Profile Personal Message (Offline)

Ignore
1511010385
Reply with quote  #2

1511010385
Report to moderator
tombs
Newbie
*
Offline Offline

Activity: 17


View Profile
August 19, 2013, 09:18:23 AM
 #1122

Downloading now!
stellan0r
Hero Member
*****
Offline Offline

Activity: 546


Medical Translations for Bitcoins


View Profile
August 19, 2013, 09:21:42 AM
 #1123

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?)

Allgemeine Gesundheitsberatung gegen Bitcoin-Zahlung. Bei Fragen einfach eine PM schicken!
If you want to send a thank you: BTC "1PZJvKvarRviQRQWejpvXW2j4e1xbT8MZb"
netfun2000
Member
**
Offline Offline

Activity: 65



View Profile
August 19, 2013, 09:42:00 AM
 #1124

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
BG4
Legendary
*
Offline Offline

Activity: 830


PaperSafe.org


View Profile WWW
August 19, 2013, 10:06:25 AM
 #1125

***** 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
funkymunky
Sr. Member
****
Offline Offline

Activity: 283



View Profile
August 19, 2013, 11:07:50 AM
 #1126

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 <bound method LCDSysInfo.__del__ of <pylcdsysinfo.LCDSysInfo object at 0xb6659c90>> ignored
Traceback (most recent call last):
  File "cgminerLCDStats.py", line 376, in <module>
    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 <bound method LCDSysInfo.__del__ of <pylcdsysinfo.LCDSysInfo object at 0xb6612d10>> ignored


Is anybody able to help?

Thank you as always
Nemo1024
Legendary
*
Offline Offline

Activity: 1554



View Profile WWW
August 19, 2013, 11:21:24 AM
 #1127

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.

#101Life
Save Donbass

“Dark times lie ahead of us and there will be a time when we must choose between what is easy and what is right.”
“We are only as strong as we are united, as weak as we are divided.”
“It is important to fight and fight again, and keep fighting, for only then can evil be kept at bay, though never quite eradicated.”
kano
Legendary
*
Offline Offline

Activity: 2268


Linux since 1997 RedHat 4


View Profile
August 19, 2013, 11:39:15 AM
 #1128

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 <bound method LCDSysInfo.__del__ of <pylcdsysinfo.LCDSysInfo object at 0xb6659c90>> ignored
Traceback (most recent call last):
  File "cgminerLCDStats.py", line 376, in <module>
    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 <bound method LCDSysInfo.__del__ of <pylcdsysinfo.LCDSysInfo object at 0xb6612d10>> ignored


Is anybody able to help?

Thank you as always
You are missing python usb

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
funkymunky
Sr. Member
****
Offline Offline

Activity: 283



View Profile
August 19, 2013, 11:48:55 AM
 #1129

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
kano
Legendary
*
Offline Offline

Activity: 2268


Linux since 1997 RedHat 4


View Profile
August 19, 2013, 12:03:19 PM
 #1130

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.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
funkymunky
Sr. Member
****
Offline Offline

Activity: 283



View Profile
August 19, 2013, 12:07:49 PM
 #1131

Phew, it's not just me then.

Thank you for trying though  Grin
Gerwin
Newbie
*
Offline Offline

Activity: 18



View Profile
August 19, 2013, 03:29:54 PM
 #1132

How to update or backup form minepeon 0.2.2? I would like to keep statistics.

Donate: 1GQDxEkk955piqUhDsDZZNbHykxSX84L6
yxzq
Newbie
*
Offline Offline

Activity: 27


View Profile
August 19, 2013, 03:41:26 PM
 #1133

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.
cardcomm
Sr. Member
****
Offline Offline

Activity: 294



View Profile
August 19, 2013, 04:30:29 PM
 #1134

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.

Easily see your cgminer status with my cgminerLCDStats app:  http://cardcomm.github.io/cgminerLCDStats/
Did my post help you or make you laugh? Let me know with Bitcoins at: 1CQfpMHQ5zVuZ5i9uxSHSSx4J8ZhehSjn3  Smiley
teletobi
Hero Member
*****
Offline Offline

Activity: 698



View Profile
August 19, 2013, 05:23:21 PM
 #1135

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.

Join the Elastic revolution!  Elastic - The Decentralized Supercomputer
ELASTIC WEBSITE | NEW ANNOUNCEMENT THREAD | ELASTIC SLACK | ELASTIC FORUM
cardcomm
Sr. Member
****
Offline Offline

Activity: 294



View Profile
August 19, 2013, 06:20:34 PM
 #1136

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://bitcointalk.org/index.php?topic=137934.msg2948693#msg2948693

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.

Easily see your cgminer status with my cgminerLCDStats app:  http://cardcomm.github.io/cgminerLCDStats/
Did my post help you or make you laugh? Let me know with Bitcoins at: 1CQfpMHQ5zVuZ5i9uxSHSSx4J8ZhehSjn3  Smiley
Gerwin
Newbie
*
Offline Offline

Activity: 18



View Profile
August 19, 2013, 06:48:42 PM
 #1137

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

Donate: 1GQDxEkk955piqUhDsDZZNbHykxSX84L6
teletobi
Hero Member
*****
Offline Offline

Activity: 698



View Profile
August 19, 2013, 07:18:50 PM
 #1138

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://bitcointalk.org/index.php?topic=137934.msg2948693#msg2948693

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...

Join the Elastic revolution!  Elastic - The Decentralized Supercomputer
ELASTIC WEBSITE | NEW ANNOUNCEMENT THREAD | ELASTIC SLACK | ELASTIC FORUM
cardcomm
Sr. Member
****
Offline Offline

Activity: 294



View Profile
August 19, 2013, 07:19:51 PM
 #1139

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 :/

Easily see your cgminer status with my cgminerLCDStats app:  http://cardcomm.github.io/cgminerLCDStats/
Did my post help you or make you laugh? Let me know with Bitcoins at: 1CQfpMHQ5zVuZ5i9uxSHSSx4J8ZhehSjn3  Smiley
mameise
Hero Member
*****
Offline Offline

Activity: 561


View Profile
August 19, 2013, 07:56:53 PM
 #1140

will the lcdstats also work for this lcd?
http://www.adafruit.com/products/946

or what needs to be changed?
Pages: « 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 [57] 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 ... 139 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!